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 4 matches
Smarty Forum Index
Author Message
  Topic: {include} cache_id not accepting $var
Hept

Replies: 6
Views: 11115

PostForum: Bugs   Posted: Thu Feb 06, 2014 7:14 pm   Subject: {include} cache_id not accepting $var
I tought so.

Thank you very much!
  Topic: {include} cache_id not accepting $var
Hept

Replies: 6
Views: 11115

PostForum: Bugs   Posted: Thu Feb 06, 2014 2:27 pm   Subject: {include} cache_id not accepting $var
I tought something like that at first. Tried rewritting but didn't work.

Then after you posted that, i rewrote again and it worked. Probably something related to bad encoding, idk, as i configured ...
  Topic: {include} cache_id not accepting $var
Hept

Replies: 6
Views: 11115

PostForum: Bugs   Posted: Wed Feb 05, 2014 1:03 pm   Subject: {include} cache_id not accepting $var
Actual code:

index.php
$smarty->assign('navbarCache','template|navbar|'.$category);
$smarty->display('category/show.tpl',$cachelink);

template/bodyUpper.tpl
<nav role ...
  Topic: {include} cache_id not accepting $var
Hept

Replies: 6
Views: 11115

PostForum: Bugs   Posted: Fri Jan 31, 2014 5:11 pm   Subject: {include} cache_id not accepting $var
Hello. I found a bug/feature within the {include} function.

Consider the following code

{include file="home.tpl" cache_id=$var}

It throws "Undefined Index" error ...
 
Page 1 of 1
All times are GMT
Jump to:  


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