Your favorite Template editor?

Author Message

Marco Zinn

Saturday 04 December 2010 8:24:04 am

Hi all,

just a quick question:

What's your favorite Website-Editor, when you work in eZ templates?

My requirements would be:

  • ez4 template language "understanding" (syntax hightlighting, maybe auto-completing of control structures etc)
  • Build-in (S)FTP client. Optionally SSH-Client for up/downloadin templates
  • Nice to have: Build-in SVN client and/or Git client
  • Not too expensive
  • Running in Win7, 64 bit

I know, there used to be some "plugins" or so for eclipse for the ez4 template language, but i'm not up-to-date, if they are still maintained. I know, that no HTML editor will understand ez4 templates "build-in".

So, what are your favorites and their pros and cons?

Marco
http://www.hyperroad-design.com

Bertrand Dunogier

Saturday 04 December 2010 10:48:41 am

PHPEdit, with the eZ Publish plugin, sounds like a good candidate. It has most of the features you require.

http://www.phpedit.com/

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Ivo Lukac

Monday 06 December 2010 3:19:50 am

Hi

Try Sublime. Excellent editor!

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Jérôme Vieilledent

Monday 06 December 2010 5:53:04 am

Eclipse PDT 64bits ! I use it every day !

Here are the plugins I use :

For FTP/SFTP you may use Eclipse SFTP.

Nicolas Pastorino

Monday 06 December 2010 6:12:27 am

"

Eclipse PDT 64bits ! I use it every day !

Here are the plugins I use :

For FTP/SFTP you may use Eclipse SFTP.

"

+1 !

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Gaetano Giunta

Monday 06 December 2010 7:25:55 am

Shameless (OT) self-promotion: if you like smileclasses, check out the last release of the ezdebug extension; browser-based, it is a smileclasses on steroids.

For browser-based code highlighting, ezgeshi rulez!

And if anybody wants to takle a bespin-based editor fo eZP, just drop me a note!

Principal Consultant International Business
Member of the Community Project Board

Marco Zinn

Friday 14 January 2011 12:40:35 pm

Thanks a lot for your advices. I really appreciate it and i'm sure, others will, too!

I had some time now to install eclipse and the smile and ezclipse plugins. I also installed the smile extension (smileclasses) on an ez 4.4 site. Look fine to me.

Now: I get the XML output from smileclasses and i can create a view named "Classes View" in Eclipse. But i cannot find the box where i shall enter the URL http://hostname.de/smileclasses/export as described in Paul Wilsons documentation from 2007 in Page 15. So, how do i tell the "Classes View" view on where to get it's data from?

Gaetano: Your shameless self-promotion did not include the path to your project: http://projects.ez.no/ezdebug_template_operator . It looks very nice to me for debugging values, so i don't see too much connection to the "Classes" view in smileclasses. But i will definitly give this a try, too :)

Now, i have 3 ezPublish Template editors in Eclipse: "ez TPL Editor", "JAC ez Template Editor" and "Smile TPL editor". From a first look, they seem to differ in the syntax highlighting. What else? I read about "auto-completion", but i could not find this "in action" yet. Any hints? Which TPL file editor shall i use and where can i determine the default one in Eclipse (that all new to me).

I guess, I should create a PHP project for each ez site, yes? Or is there some better Project type? I didn't find an "ez site" project or so.

Last, but not least: How do I use "Var Browser for exploring the $node variable." from ezclipse?

Thanks in Advance!

Marco
http://www.hyperroad-design.com

Jérôme Vieilledent

Friday 21 January 2011 12:30:40 am

Hi Marco

To configure the Smile plugin for the classes view, you need to :

  • Select your project in the source browser
  • Go to project menu (not right-click) => Properties => eZ Publish

This is the same for eZClipse, but I never managed to configure it correctly for the var browser.

About template editors, I personnaly use JAC eZ Template Editor, because I like the syntax coloring and the way it highlights TPL code vs HTML. The auto-completion is fairly basic, as it just auto-completes built-in template operators and functions, but not for their parameters.

It's indeed advised to use PHP projets for each site, but be aware that PDT has an annoying issue to avoids to open templates in the right editor when you double-click on a template (it opens them in basic the HTML editor). To force Eclipse open templates in the eZ Template editor, you'll need to right click on the template/open with...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 02:15:58
Script start
Timing: Jan 18 2025 02:15:58
Module start 'layout'
Timing: Jan 18 2025 02:15:58
Module start 'content'
Timing: Jan 18 2025 02:16:00
Module end 'content'
Timing: Jan 18 2025 02:16:00
Script end

Main resources:

Total runtime1.5530 sec
Peak memory usage4,096.0000 KB
Database Queries83

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 587.9141152.6250
Module start 'layout' 0.00470.0035 740.539139.4531
Module start 'content' 0.00821.5432 779.9922814.9141
Module end 'content' 1.55140.0016 1,594.906324.1641
Script end 1.5529  1,619.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2145160.0002
Check MTime0.00130.0851160.0001
Mysql Total
Database connection0.00070.047110.0007
Mysqli_queries1.450593.4018830.0175
Looping result0.00110.0716810.0000
Template Total1.521498.020.7607
Template load0.00210.137820.0011
Template processing1.519297.827320.7596
Template load and register function0.00010.007310.0001
states
state_id_array0.00130.084910.0013
state_identifier_array0.00150.095420.0007
Override
Cache load0.00200.1318850.0000
Sytem overhead
Fetch class attribute can translate value0.00150.096960.0003
Fetch class attribute name0.00170.1105140.0001
XML
Image XML parsing0.00320.208160.0005
class_abstraction
Instantiating content class attribute0.00000.0019160.0000
General
dbfile0.00180.1176480.0000
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
10content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
4content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
12content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 59
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs