-
Notifications
You must be signed in to change notification settings - Fork 4
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
heme plugin and views to be able to enable and disable theme per user session. #41
Conversation
I would suggest using a cookie instead of the Zope session. That way it will work even in a load-balanced configuration without session affinity. |
…azo) as a fallback theme for Intranet site
Sorry, this had been closed by mistake. |
please merge in master |
@lewicki can you please rebase or merge in master, this is a taks for the ploneintranet stack, all branches should be uptodate tnx |
Conflicts: setup.py src/ploneintranet/theme/profiles/default/registry.xml
Minor nitpick: barceloneta is spelled with one t |
Also, how about using a cookie, as @davisagli suggested? Session affinity is really undesirable. |
From our recollection this was made when ploneintranet was still on Plone 4, so we should check that it works after all our refactoring. |
Have create #135 to replace this as the change will require reimplementing |
There are new views '@@enable_theme' and '@@disable_theme' that allow user to disable theming in current session.