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

heme plugin and views to be able to enable and disable theme per user session. #41

Closed
wants to merge 6 commits into from

Conversation

lewicki
Copy link

@lewicki lewicki commented Nov 1, 2014

There are new views '@@enable_theme' and '@@disable_theme' that allow user to disable theming in current session.

@davisagli
Copy link

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.

@reinhardt reinhardt closed this Dec 3, 2014
@reinhardt reinhardt deleted the themeswitcher branch December 3, 2014 15:53
@reinhardt reinhardt restored the themeswitcher branch December 3, 2014 15:59
@reinhardt reinhardt reopened this Jan 7, 2015
@reinhardt
Copy link
Contributor

Sorry, this had been closed by mistake.

@maartenkling
Copy link
Contributor

please merge in master

@maartenkling
Copy link
Contributor

@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
@fulv
Copy link
Contributor

fulv commented Feb 8, 2015

Minor nitpick: barceloneta is spelled with one t

@fulv
Copy link
Contributor

fulv commented Feb 8, 2015

Also, how about using a cookie, as @davisagli suggested? Session affinity is really undesirable.

@fulv fulv assigned bogdangi and lewicki and unassigned bogdangi Feb 17, 2015
@fulv
Copy link
Contributor

fulv commented Feb 17, 2015

From our recollection this was made when ploneintranet was still on Plone 4, so we should check that it works after all our refactoring.

@gyst gyst added the prio:low label Feb 17, 2015
@adrianwhite adrianwhite changed the title Added theme plugin and views to be able to enable and disable theme per user session. heme plugin and views to be able to enable and disable theme per user session. Feb 20, 2015
@wengole
Copy link
Contributor

wengole commented Mar 11, 2015

Have create #135 to replace this as the change will require reimplementing

@wengole wengole closed this Mar 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants