|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
ilyalyu Smarty Regular
Joined: 03 Nov 2009 Posts: 72
|
Posted: Thu Aug 09, 2012 12:08 pm Post subject: templates with the same names from different resources |
|
|
Sample code:
Code: | {include 'resource1:template.tpl'}
Contents of resource1:template.tpl template:
{include 'resource2:template.tpl'}
Contents of resource2:template.tpl template:
some text |
This sample generates error:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in ..\smarty\sysplugins\smarty_internal_template.php on line 169
Evidently, Smarty does not recognize that these are two diferent templates from deferent resources. |
|
Back to top |
|
rodneyrehm Administrator
Joined: 30 Mar 2007 Posts: 674 Location: Germany, border to Switzerland
|
Posted: Thu Aug 09, 2012 12:58 pm Post subject: |
|
|
Which version are you using? How (exactly) do your resource handlers look like? _________________ Twitter |
|
Back to top |
|
|
|
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
|