View Single Post
  #1  
Old 08-09-2003, 11:04 AM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default Can't modify subcategories.tpl successfully ...please help!!

Whenever I try to edit subcategories.tpl (even a teeny tiny minor change)

for example change <font class=Text> to <font class=Textcat>

the following line in subcategories.tpl rewrites itself from:

{include file="dialog.tpl" title=$current_category.category_name|regex_replac e:"/.*\//":"" content=$smarty.capture.dialog extra="width=100%"}

to:

{include file="dialog.tpl" title=$current_category.category|regex_replace:"/.*//":"" content=$smarty.capture.dialog extra="width=100%"}


notice a backslash is missing from the rewritten version.

This results in the warning:

Warning: Unknown modifier '/' in /usr/www/users/bosmed/cart/xcart/Smarty-2.3.0/plugins/modifier.regex_replace.php on line 13


I try to put the backslash back into the code ...but I still get the ugly warning blasted all over my cart.

the only way to remove the warning is to restore the file ...then of course my changes are lost.

Help!!! BTW, I am trying to get thumbnails displaying on the subcategories page...feel free to send any ideas or brain waves...I could use them.

thanks for your help,
Liz
Reply With Quote