For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > April 2005 > Re: [SMARTY] extensions









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] extensions
Vicente Werner

2005-04-29, 4:02 pm

Not at all it's just an efficient way to diferentiate between static HTML
and templates, anyway is my long standing experience that DreamWeaver should
be called HellBringer or something like that because it badly meses the html
code, love nvu & amaya though.


On 4/29/05, John Martinez <frawst1@gmail.com> wrote:
>
> Hi Smarties,
> The standard template extension seems to be .tpl which is no prob for
> me but I'm using Dreamweaver MX as a GUI for making the html template.
> The trouble is that DMX doesnt ID the .tpl as html format and is just
> all code when I open it in the GUI (can't switch between the three
> modes.) To fix this I temporarily rename the .tpl to .htm and work as
> normal.
>
> Recently I've tried sending the Smarty template call to the .htm and
> it works fine.
>
> 1. Is sending the template call to the .htm named template bad? any
> drawbacks?
>
> 2. If anyone knows how to set DMX to treat the .tpl extension as .htm
> this would prolly be a better fix. Calling the .htm doesn't feel right
> to me.
>
> John
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com