first look at v 7
Opened this issue · 1 comments
@rlankhorst i put v. 7 on my test server and it didn’t crash it. I’m not sure when i’ll have time to really dig into the new templating system to re-create the existing style on our site which we are happy with. i had a little play with the wysiwg template editor in the plugin settings. It took a while to get oriented. The “toggle settings” menu choice seems counter-intuitive and it took me a while to understand what it does so i spent some time trying to work out how to save changes i made to the default template without a save button...
i also noticed that the “border radius” setting wants to keep going back to 15 even when i set it otherwise and saved.
I guess there’s no way to make the upgrade more backwards-compatible with respect to the current styling of recipes with such a major restructuring. I have mine styled with a fairbit of custom css applied to the existing zip recipes selectors.
overridable vanilla php templates is welcome. is there any documentation for the new template system yet?
Hi @pjv,
Thanks for the feedback! Good catch on the border_radius. On page load, the 0 was detected as "false", which caused the default to get shown. That's fixed.
To override templates, you can copy a template file from the "views" folder to your theme directory, in a "zip-recipes" folder.
The plugin will then use that file as template.
As for backwards compatibility: this is something we usually try to avoid, but because of the change to a grid type structure, this couldn't be avoided. We're happy to help with the css upgrade, to make the transition as smooth as possible.