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

Search found 96 matches
Smarty Forum Index
Author Message
  Topic: Fatal error: Cannot use isset()
Aristophan

Replies: 20
Views: 11499

PostForum: General   Posted: Tue Mar 21, 2017 1:39 pm   Subject: Fatal error: Cannot use isset()
I wouldn't do that, since the 3.1.31 release is much better and has less flaws. (Beside of the new created, though.) Smile Its always on the road.
  Topic: Fatal error: Cannot use isset()
Aristophan

Replies: 20
Views: 11499

PostForum: General   Posted: Tue Mar 21, 2017 12:59 pm   Subject: Fatal error: Cannot use isset()
That was just a quick help. Nothing objected.
It just seemed to be "somehow" necessary to not allow things like "('".
(It looks like because of function property handling.)
I t ...
  Topic: Fatal error: Cannot use isset()
Aristophan

Replies: 20
Views: 11499

PostForum: General   Posted: Mon Mar 20, 2017 11:48 am   Subject: Fatal error: Cannot use isset()
What happens if you change
https://github.com/smarty-php/smarty/blob/master/libs/sysplugins/smarty_internal_templatecompilerbase.php#L791

to your needs, eg
strpos($par, '(') !== fals ...
  Topic: Extending nested blocks, keep children
Aristophan

Replies: 5
Views: 5005

PostForum: General   Posted: Fri Aug 12, 2016 11:38 am   Subject: Extending nested blocks, keep children
Hi

Not directly an answer to your question, though maybe this answer will help you to clear things up. (I personally haven't yet played around with inheritance, so I can't give advice myself.)
htt ...
  Topic: Fetch different resources
Aristophan

Replies: 6
Views: 3811

PostForum: General   Posted: Wed Jul 27, 2016 1:37 pm   Subject: Fetch different resources
In other words, you are guessing, while I know for a fact.
Absolutely! But knowing (some) facts and writing really helpful, friendly posts for an answer is not always the same! You proved it every da ...
  Topic: Fetch different resources
Aristophan

Replies: 6
Views: 3811

PostForum: General   Posted: Wed Jul 27, 2016 8:31 am   Subject: Fetch different resources
Hi
You wont get much and real help from this user. He is spamming this forum with lots of useless and unhelpful and unfriendly posts, trying to take over.

From the docs, it is:
$smarty->assign ...
  Topic: list of removed files
Aristophan

Replies: 12
Views: 16711

PostForum: Smarty 3   Posted: Tue Sep 22, 2015 4:00 pm   Subject: list of removed files
For the upcoming 3.1.28 upgrade I found these 3 files to be added to the list of dead files compared to 3.1.27.
libs/sysplugins/smarty_internal_extension_config.php
libs/sysplugins/smarty_internal_ ...
  Topic: Apache dies when there are commented lines with {* and *}
Aristophan

Replies: 21
Views: 8088

PostForum: General   Posted: Sun May 24, 2015 4:08 pm   Subject: Apache dies when there are commented lines with {* and *}
Fine, thanks.

What about these two?
./libs/sysplugins/smarty_config_source.php
./libs/sysplugins/smarty_internal_config.php
  Topic: Apache dies when there are commented lines with {* and *}
Aristophan

Replies: 21
Views: 8088

PostForum: General   Posted: Sun May 24, 2015 8:55 am   Subject: Apache dies when there are commented lines with {* and *}
Oh - I forgot to ask, if you could give a official note about purged/unused files with these newer versions, please. I dimly remember that you shuffled some files. Thanks.
  Topic: Apache dies when there are commented lines with {* and *}
Aristophan

Replies: 21
Views: 8088

PostForum: General   Posted: Sun May 24, 2015 8:50 am   Subject: Apache dies when there are commented lines with {* and *}
I just released 3.1.24.
Hi Uwe
Did I miss something that official announced releases have been stopped with 3.1.21 (see http://www.smarty.net/) for non GitHubers?
  Topic: clearCompiledTemplate pointing at /!
Aristophan

Replies: 13
Views: 10107

PostForum: Bugs   Posted: Wed Jan 21, 2015 10:47 am   Subject: clearCompiledTemplate pointing at /!
The fix to prevent unintended deletion on permission errors is now on Github.
Uwe, this is backportable, easily, isn't it?
  Topic: Syntax Highlighting web page broken
Aristophan

Replies: 20
Views: 82232

PostForum: Documentation   Posted: Sun Jan 18, 2015 12:34 pm   Subject: Syntax Highlighting web page broken
The Smarty comment rule is
<Keywords name="Comment">1 1* 2*&#x0D;&#x0A; 0</Keywords>
which works fine all over - but if you have to use multiplication, eg {$a * $b ...
  Topic: Smarty 3 on GitHub
Aristophan

Replies: 10
Views: 13566

PostForum: General   Posted: Thu Jul 10, 2014 2:42 pm   Subject: Smarty 3 on GitHub
For the ones that don't know: https://github.com/opensolutions/smarty

Clone of the distribution trunk of the PHP Smarty templating engine. Sync'd hourly by our servers.

https://github.com/openso ...
  Topic: use {function} brought in by {include}
Aristophan

Replies: 2
Views: 2036

PostForum: General   Posted: Sat Jun 14, 2014 12:40 pm   Subject: use {function} brought in by {include}
Wunderbar! I missed reading about {call}
Thanks.
  Topic: use {function} brought in by {include}
Aristophan

Replies: 2
Views: 2036

PostForum: General   Posted: Sat Jun 14, 2014 10:57 am   Subject: use {function} brought in by {include}
Hi
I would like to use a {function name="feedback"} accessed by the main files, in an {include}d header file, but it seems I cannot use it (Error: "{feedback}" unknown tag "f ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT
Jump to:  


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