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

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 11:35:11
Script start
Timing: Jan 18 2025 11:35:11
Module start 'layout'
Timing: Jan 18 2025 11:35:11
Module start 'content'
Timing: Jan 18 2025 11:35:11
Module end 'content'
Timing: Jan 18 2025 11:35:11
Script end

Main resources:

Total runtime0.0238 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 588.0313152.6406
Module start 'layout' 0.00850.0043 740.671939.4766
Module start 'content' 0.01270.0053 780.148493.3516
Module end 'content' 0.01800.0058 873.500038.3047
Script end 0.0238  911.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003916.4237140.0003
Check MTime0.00124.9321140.0001
Mysql Total
Database connection0.00093.849910.0009
Mysqli_queries0.005925.003330.0020
Looping result0.00000.088210.0000
Template Total0.003012.810.0030
Template load0.00229.242910.0022
Template processing0.00083.493210.0008
Override
Cache load0.00197.863110.0019
General
dbfile0.00020.975080.0000
String conversion0.00000.049140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs