Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.
www.smarty.net
•
phpinsider.com
•
Forum Index
•
FAQ
•
Search
•
Memberlist
•
Profile
•
Log in to check your private messages
•
Register
•
Log in
Search found 4 matches
Smarty Forum Index
Author
Message
Topic:
smarty_function_eval() replacement or workaround?
mpgjunky
Replies:
7
Views:
18341
Forum:
Plugins
Posted: Mon Jul 25, 2011 2:57 pm Subject:
smarty_function_eval() replacement or workaround?
FYI, you can eval a string from PHP like this:
$output = $smarty->fetch("eval:$string");
Maybe that will be useful for you.
Thanks mohrt, that seems to be just what w ...
Topic:
smarty_function_eval() replacement or workaround?
mpgjunky
Replies:
7
Views:
18341
Forum:
Plugins
Posted: Mon Jul 25, 2011 2:17 pm Subject:
smarty_function_eval() replacement or workaround?
PS: This is the code that references the old eval plugin:
function _tplFetch($tplSource)
{
if (!function_exists('smarty_function_eval')) {
...
Topic:
smarty_function_eval() replacement or workaround?
mpgjunky
Replies:
7
Views:
18341
Forum:
Plugins
Posted: Mon Jul 25, 2011 2:15 pm Subject:
smarty_function_eval() replacement or workaround?
Thanks for the quick reply.
I am actually trying to fix the ArraySmarty renderer for Pear HTML_QuickForm. The renderer was written ages ago, pre version 3 and has not been updated since.
The tro ...
Topic:
smarty_function_eval() replacement or workaround?
mpgjunky
Replies:
7
Views:
18341
Forum:
Plugins
Posted: Mon Jul 25, 2011 12:56 pm Subject:
smarty_function_eval() replacement or workaround?
Hi,
I am using Smarty v3.0.6 and noticed that the plugin function.eval.php is missing. Does anyone know of a replacement method or workaround?
Cheers,
Michael.
Page
1
of
1
All times are GMT
Jump to:
Select a forum
General
----------------
Announcements
Installation and Setup
FAQ (Frequently Asked Questions)
Testimonials
Showcase
Help Wanted (commercial)
User Supported Help
----------------
General
Tips and Tricks
Plugins
Add-ons
Frameworks
Article Discussions
Development
----------------
Smarty Development
Feature Requests
Bugs
Documentation
Smarty 3
International Discussions
----------------
Language: German
Language: French
Language: Portuguese
Language: Russian
Language: Spanish
Language: Italian
Language: Japanese
Language: Persian
Language: Polish
Language: Indonesian
Powered by
phpBB
© 2001, 2005 phpBB Group
Protected by
Anti-Spam ACP