Forums / Install & configuration / Wysiwyg tool for .tpl files?

Wysiwyg tool for .tpl files?

Author Message

Peter Szmulik

Sunday 07 September 2003 1:46:50 pm

What would your favourite tool for editing the .tpl files be - except for NoteTab?

Paul Forsyth

Sunday 07 September 2003 2:11:35 pm

Any good text editor :) Though we use Eclipse (www.eclipse.org), good for everything. If you declare .tpl files as html you get pretty good syntax colouring.

Also, if you are a kde user you may like this contribution:

http://ez.no/developer/ez_publish_3/contributions/ez_tpl_highlight_support_for_katequantakwrite

Paul

Alex Jones

Tuesday 09 September 2003 6:40:52 am

Peter, I don't think you will have much success finding a WYSIWYG editor that will let you visually manipulate eZ's template code. Your best bet will be to go for a combination of your favorite WYSIWG editor and a good text editor that provides the ability to have custom tag/synatx colors. Design your layouts in the WYSIWGY editor and then pull the generated code into a good code editor. I tend to use DreamWeaver for my code (to be honest, I don't use its visual interface - so I'm not sure how it works with eZ code in that view). Sadly it doesn't provide custom coloring for eZ tags from what I can find.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Jonny Bergkvist

Wednesday 10 September 2003 11:50:13 am

I like the modified vi-editor from www.vim.org. It has syntax-hilightning that support template-tags, html-tags, php-tags, etc.etc...

Alex Jones

Wednesday 10 September 2003 12:23:31 pm

Peter, what platform are you running? Knowing that may help us recommend the right software.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Peter Szmulik

Saturday 13 September 2003 1:23:15 pm

Thanks for all your replies! I'm quite happy using a good text editor so that's OK! However, a client of mine asked the question (they are in the process of selecting a CMS - prompting me to recommend eZ Publish :-)).

Thanks!
Peter

eZ debug

Timing: Jan 18 2025 05:05:57
Script start
Timing: Jan 18 2025 05:05:57
Module start 'content'
Timing: Jan 18 2025 05:05:57
Module end 'content'
Timing: Jan 18 2025 05:05:57
Script end

Main resources:

Total runtime0.6334 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.9453180.8281
Module start 'content' 0.00650.6213 769.7734640.6250
Module end 'content' 0.62770.0056 1,410.398446.1094
Script end 0.6333  1,456.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4972140.0002
Check MTime0.00130.2097140.0001
Mysql Total
Database connection0.00080.125710.0008
Mysqli_queries0.584892.3302710.0082
Looping result0.00050.0804690.0000
Template Total0.606595.820.3032
Template load0.00220.339920.0011
Template processing0.604395.411120.3022
Template load and register function0.00020.027510.0002
states
state_id_array0.00090.140210.0009
state_identifier_array0.00090.139920.0004
Override
Cache load0.00180.2789240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.116140.0002
Fetch class attribute name0.00090.145180.0001
XML
Image XML parsing0.00130.198140.0003
class_abstraction
Instantiating content class attribute0.00000.002590.0000
General
dbfile0.00270.4261240.0001
String conversion0.00000.000830.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs