Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: is_cache and clear_cache
datamile

Replies: 1
Views: 7728

PostForum: Bugs   Posted: Fri Oct 17, 2003 9:28 pm   Subject: is_cache and clear_cache
Might be a bug or misuse of a feature.

Ok I've got caching on for all pages , and pages have sub-templates , and insert templates with their own cache.

A page has its self , a primary block from ...
  Topic: caching subtemplates
datamile

Replies: 11
Views: 15847

PostForum: General   Posted: Sun Aug 24, 2003 9:31 pm   Subject: caching subtemplates
I kind of view it round the other way.

All the sub-templates are php-modules which are all independant, and the master template decided which sub-template to include.

Each to their own , but I ...
  Topic: caching subtemplates
datamile

Replies: 11
Views: 15847

PostForum: General   Posted: Fri Aug 22, 2003 7:21 pm   Subject: caching subtemplates
Ok mr admins....

Is that the perferred solution instead of include_php ? I can see some benefits of having accesses to smarty and global vars , but others with that its nolonger running in isolatio ...
  Topic: caching subtemplates
datamile

Replies: 11
Views: 15847

PostForum: General   Posted: Wed Aug 20, 2003 8:18 pm   Subject: caching subtemplates
http://autodemo.webmarketeur.com/

is using them..... all the block areas are include_php templates

Perhaps there is a difference way of doing it , but it worked for me
  Topic: Framework with smarty
datamile

Replies: 3
Views: 6446

PostForum: General   Posted: Tue Aug 19, 2003 9:26 pm   Subject: Framework with smarty
xoops.org uses smarty for its output and was based on phpnuke once apon a time
  Topic: caching subtemplates
datamile

Replies: 11
Views: 15847

PostForum: General   Posted: Tue Aug 19, 2003 9:24 pm   Subject: caching subtemplates
I used include_php for sub templates , and then you can control the caching of caching of each of them,. The main template is not cached.

By naming the cache file , or using cache groups you can th ...
  Topic: how to create a cache_id tip
datamile

Replies: 2
Views: 11868

PostForum: Tips and Tricks   Posted: Tue Aug 19, 2003 9:21 pm   Subject: how to create a cache_id tip
Never thought of that...

Normally build the cache id from the required parameters of the page , and then pass it to a translating routine which generates an ID in a mysql data if the cache id is ov ...
  Topic: webmarketeur product demo
datamile

Replies: 0
Views: 7788

PostForum: Showcase   Posted: Thu Jul 31, 2003 3:44 pm   Subject: webmarketeur product demo
www.webmarketeur.com

This product has been upgraded to use caching blocks with include_php

example sites at

autodemo.webmarketeur.com

propertydemo1.webmarketeur.com
  Topic: passing parameters with include_php
datamile

Replies: 1
Views: 10918

PostForum: Smarty Development   Posted: Wed Jul 09, 2003 10:23 pm   Subject: passing parameters with include_php
OK,

I'm using include_php in templates to enable template block functions.

Now many of the blocks are fairly common but with slightly different options depending on where there we called.

i.e ...
  Topic: Delimiters
datamile

Replies: 12
Views: 58069

PostForum: General   Posted: Tue May 20, 2003 7:25 pm   Subject: Delimiters
Yes it can be changed like that. Just set them before referring to a template

$smarty=new smarty ;
$smarty->left_delimiter='{--'

etc
  Topic: insert/include/fetch etc subpage caching
datamile

Replies: 2
Views: 9370

PostForum: General   Posted: Mon May 19, 2003 10:56 pm   Subject: insert/include/fetch etc subpage caching
Ok, I;m kinda figuring it out.

If you use include_php then the subpages are referred to as $this instead of $smarty. This is causing some restructuring as modules are shared so I'm having two sets ...
  Topic: insert/include/fetch etc subpage caching
datamile

Replies: 2
Views: 9370

PostForum: General   Posted: Sun May 18, 2003 2:46 pm   Subject: insert/include/fetch etc subpage caching
Ok, still on moving my app to 2.5 with caching.

If I three possible subpage items. Each generated by DB access which I want to minimize via caching

a) Search Box
b) Seach Results
c) Search ite ...
  Topic: caching and database access
datamile

Replies: 1
Views: 7562

PostForum: General   Posted: Sat May 17, 2003 10:21 am   Subject: caching and database access
hi, I've got a 2.3 app which I'm looking to upgrade to 2.5 with caching.

I'm looking at caching around the database access if the page is already cache.

Can the following happen.

is_cache = t ...
 
Page 1 of 1
All times are GMT
Jump to:  


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