For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > RE: [SMARTY] smarty templates & dreamweaver









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] smarty templates & dreamweaver
Geoffrey Hoffman

2005-01-05, 3:59 pm

Drag the template one dir level up (click 'Don't update'). Edit. Save. =
Drag
back to templates dir (click 'Don't Update'). You can do this =
(manually)
without leaving dreamweaver.

Other than that, you could try fidgeting with the template dir setting =
in
the Smarty config to make it / instead of /tempates.

HTH-

Geoff

BTW, I have a zip file of mods to the DWMX config XML files stored @
http://salientdigital.com/dwmx_smarty_tpl.zip
if you want Dreamweaver MX to load .tpl files and do syntax coloring.


-----Original Message-----
From: Alp G=FCneysel [mailto:x@alpalp.com]=20
Sent: Wednesday, January 05, 2005 6:35 AM
To: smarty-general@lists.php.net
Subject: [SMARTY] smarty templates & dreamweaver

I'm new to smarty and have a basic problem.

if i edit my templates in dreamweaver, i can't see my images in html=20
because they are located at templates/img/<etc>
and my templates reside in templates folder.

this is my structure:

htdocs/ten -> application folder
/ten/templates -> templates folder
/ten/templates/images -> images folder

what's the best practice to use smarty w/ dreamweaver when you're not=20
developing your application @ root folder and want to see images in=20
templates.

thanks,
alp

--=20
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