Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Smarty Variable Cache

 
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development
View previous topic :: View next topic  
Author Message
ledrobster
Smarty Rookie


Joined: 02 Jan 2004
Posts: 9

PostPosted: Fri Feb 13, 2004 9:21 pm    Post subject: Smarty Variable Cache Reply with quote

I currently have a menu that requires data from the database and the menu will be used on all pages of the website. I was just wondering if it was possible to use Smarty's cache for the data to be permanent throughout all the templates on the site? I have it extracting information from the file as a temporary solution to avoid any database queries which might slow the site down.
I don't think I came across this anywhere on the forum before, please advice.
Back to top
View user's profile Send private message
ledrobster
Smarty Rookie


Joined: 02 Jan 2004
Posts: 9

PostPosted: Fri Feb 13, 2004 9:25 pm    Post subject: Reply with quote

My greatest apologies once again, just found out about get_template_vars. Embarassed
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Smarty Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP