Reply to RE: [SMARTY] smarty templates & dreamweaver

Your name:

Reply:


Posted by Geoffrey Hoffman on 01/05/05 20:13

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üneysel [mailto:x@alpalp.com]
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
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
developing your application @ root folder and want to see images in
templates.

thanks,
alp

--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация