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

Any hope of documented Themes functionality being release? If not, recommended workaround? #292

Open
cdCorey opened this issue Apr 13, 2022 · 3 comments

Comments

@cdCorey
Copy link

cdCorey commented Apr 13, 2022

I selected Plates for a recent project partly based on the Themes functionality that is documented on the website, with no indication that it is not available yet. (Yes, it's flagged "3.5," but you have to dig around to learn that 3.5 doesn't exist yet.) Is there any chance of this functionality being released in the near future? (If not, it might be best to consider removing the documentation, or at least very clearly marking it as a planned feature that hasn't been released yet.)

So I hacked together a template hierarchy system using the folders functionality instead, but what I have right now feels a bit kludgey (a wrapper object that adds its own logic before calling render). Is there any recommendation of how to best implement a template hierarchy using the released version of Plates? Is that something that could be done with an extension, or is that beyond the scope of extensions? Or would making an Engine-variant subclass be a cleaner option than a wrapper object?

The ideal scenario would obviously be to just call render() or insert() normally and have the magic happen behind the scenes to find the correct template, but I realize that may not be possible without Themes functionality built-in. Any advice here would certainly be appreciated. Thank you.

@hercilioseox
Copy link

This is a brilliant feature. Would be great if the v3.5 be released. Do you guys have any idea about when this could be released? Or do you guys need any help to release it?

@ragboyjr
Copy link
Contributor

Hmm, I'll take a look this evening!

@luri-fr
Copy link

luri-fr commented Jun 17, 2022

Hi,
Do you want help to finalise A 3v.5 realease (With theme but without component) ?

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

4 participants