View Single Post
Old 09-15-2004, 12:59 PM  
Varius
Confirmed User
 
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
Wow thought this thread was dead andburied a long time ago

For those using Smarty, I recently came across a caching problem it seems to have.

if I have two dirs of templates, let's say:

/templates/en/index.tpl
/templates/sp/index.tpl

and my page loads the index.tpl based on user's language (en of sp), I keep getting the same one.

If i del the tmp files in /templates_c/ it works fine until it gets in there again.

I've solved this problem by losing my directories and using en_index.tpl and sp_index.tpl so they are nto the same template name, but does anyone know a solution to use my original sub-folder method ??
__________________
Skype variuscr - Email varius AT gmail
Varius is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote