Tiki SMARTY Plugin no longer works with 'eval' option
- Status
- Closed
- Subject
- Tiki SMARTY Plugin no longer works with 'eval' option
- Version
- 10.x
11.x
11.x Regression - Category
- Regression
- Feature
- Wiki Plugin (extends basic syntax)
- Resolution status
- Fixed or Solved
- Submitted by
- Geoff Brickell
- Volunteered to solve
- manivannans
- Lastmod by
- Geoff Brickell
- Rating
- Description
Since Tiki10 the Tiki SMARTY Plugin, using the 'eval' option to simply display a smarty variable, no longer works because the underpinning smarty function.eval.php is no longer part of the Tiki distribution - the SMARTY Plugin code checks for the availability of function.eval.php in either lib/smarty/libs/plugins/ or the lib/smarty_tiki/ folders and gives an error message "Incorrect parameter" if it is not found. Its removal is probably due to the move Smarty 3 but it is not clear whether there is Smarty 3 version of eval available. The Tiki 9 version of function.eval.php does not work in 10/11/trunk (gives fatal errors) so this doesn't give us a 'quick fix'.
Solution needed to be able to 'eval' and display any smarty variable type not just strings
- Solution
I had fixed this issue.
Please check this commit id: 48352
fixed - thanks
- Importance
- 6
- Easy to solve?
- 5
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4527
- Created
- Tuesday 21 May, 2013 15:31:39 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Sunday 17 November, 2013 01:21:44 UTC