Hi All,
This little bit of code in my design isnt working as expected:
<MySource_AREA id_name="logon_desc" design_area="show_if">
Hi All,
This little bit of code in my design isnt working as expected:
<MySource_AREA id_name="logon_desc" design_area="show_if">
I reckon it's probably caching the 'built' page, either in the matrix cache or possibly locally. I've run into the same issues using show_if areas like this. I found I was better off keeping all login/logout functions in the login form design area. Login form design area seems to be have optimized caching (or whatever) for this exact type of situation. The logic is almost identical to the show_if design area.
If you're clever, you can even build the login form into the page directly rather than spitting them out to a new one (on the other hand, I don't know what this does to page load/cache performance).
https://manuals.matrix.squizsuite.net/designs/chapters/login-form-design-area