View Single Post
  #7  
Old 02-26-2010, 10:14 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Just cant get dynamicDrive scripts to work

Anything within {literal}{/literal} is not interpreted by Smarty. You normally put this around code that has snytax (like javascript) that smarty also uses.

So - smarty will not interpret a variable inside {literal} and {/literal} tags. So - $SkinDir will not be interpreted. You can hardcode the path to the files in question or take the {literal} after where you are using the variable.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote