Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Simple Smarty template plugins for Dreamweaver

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 09-01-2007, 02:50 PM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default Simple Smarty template plugins for Dreamweaver

I know this has been done to death already, as there are several smarty plugins available if you know where to look. Unfortunately, the smarty plugin by the folks at http://smartydwt.klitsche.org/ does a little too much work translating the smarty syntax into its own translator tags and back and I just don't really like the underlying complexity it adds. It just increases the chances of munging your template tags. My first experience with the plugin broke the template I was working on when Dreamweaver crashed, so I'm not a fan. I just need something simple that will make smarty tags look like icons so they don't break Dreamweaver's design view. As for the other smarty extensions, you have to dig to find them in various locations on the smarty wiki, so I took the best features of the two I liked best and created a new MXP installer that installs them in a neater footprint instead of scattering files around your extension directory. It incorporates both the "Smarty Tags" and "Smarty toolbar" from two different extensions and doesn't mess with your template syntax at all, while still giving you a better template display in Dreamweaver's design view. I created a version for DreamweaverMX and lower which automatcially adds the Smarty doctype to Dreamweaver and one for Dreamweaver MX2004 and higher which does not add the doctype since it's already defined in newer versions of Dreamweaver. Just head on over to my download page, or click one of these direct links to get the extension:Enjoy.
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote
  #2  
Old 09-03-2007, 04:06 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Simple Smarty template plugins for Dreamweaver

Moving to Custom Mods
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:49 PM.

   

 
X-Cart forums © 2001-2020