Replies: 2 comments 6 replies
-
Seems rodneyrehm already answered it there accurately. Im afraid this isn’t possible and there won’t be a Smarty 3.2 in the near future.
Given a more elaborate use case we might be able to come up with another solution?
… Op 19 feb. 2021 om 08:26 heeft madgreen1 ***@***.***> het volgende geschreven:
@wisskid can you help? A similar problem is described here https://stackoverflow.com/questions/7731332/need-trick-to-use-cached-value-in-nocache-section
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
wisskid
-
Hey @wisskid ! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
Back in version 3.1.18 I successfully used this syntax:
It was very convenient to create non-cached conditions with the cached content inside a cached template. Now (in version 3.1.35) I get an error:
Syntax error in template "file:/file.tpl" on line 4 "{literal}" unclosed '{if}' tag in file "/Smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php" at string #4
How can I resolve an issue with a non-cached condition when using the Smarty cache?
@wisskid can you help? A similar problem is described here https://stackoverflow.com/questions/7731332/need-trick-to-use-cached-value-in-nocache-section
Beta Was this translation helpful? Give feedback.
All reactions