We have an application with a master table (holding the registration and form definition) and detail pages (including a view of one distinct entry of the master table).
As this application is still in development but also we want ta make use of it as soon as possible, I'd like to have a way to improve the view (in the detail pages) without having to change them all individually for a new version of the application.
Is there a way to do this with confiforms?
(The confluence based include or table-include won't work here, because they are rendered in the context of their source page)
Thanks a lot for your hints / ideas!
Alexander
Hi
When you talk about "detail pages" - are those the ones that are created dynamically by ConfiForms?
The best option in server/data center would be to use the user macro, to have the layout of the page template encapsulated in a centrally managed user macro
This way your created pages will have a user macro only (could use [entry.field_name] notations in the body or make the macro parametrized - up to you) and you are free to update it any time, and the updated version will be rendered on all the pages that are using it
Another option might be to give a try to LiveView that has been recently added to ConfiForms - https://wiki.vertuna.com/spaces/CONFIFORMS/pages/195264794/Using+ConfiForms+LiveView+macro Having it as a part of the template
Alex
Hi Alex,
thanks for your quick response! I didn't think about the user macros :-o but this definitely seems to be a good way.
kind regards!
Alexander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.