Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template delegation (replacement) in Smarty 4 #950

Closed
lifecom opened this issue Mar 14, 2024 · 2 comments
Closed

Template delegation (replacement) in Smarty 4 #950

lifecom opened this issue Mar 14, 2024 · 2 comments

Comments

@lifecom
Copy link

lifecom commented Mar 14, 2024

My project uses CMS Livestreet (unfortunately not maintained).
This CMS uses Smarty v. 3.1.13 as follows:
1 -> 2 -> 3 -> 4.

Some plugins of this CMS delegate (replace) templates.
Template delegation goes like this:
1 (plugin class) -> 2 (extend smarty_internal_template) -> 3 (delegate function from plugin module)

After updating to Smarty v.4.4.1, template delegation does not work (templates are not replaced by templates from plugins).
What could be the reason and how can this be fixed?

@wisskid
Copy link
Contributor

wisskid commented Mar 14, 2024

This is probably caused by an internal change in Smarty. I suspect in Smarty_Internal_Template. You could compare both Smarty versions and see what has changed.

@wisskid wisskid closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@wisskid
Copy link
Contributor

wisskid commented Mar 14, 2024

Closing this as this is probably not a Smarty bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants