Theme component on Go Green

21 views
Skip to first unread message

Vangelis Papathanasiou

unread,
Feb 23, 2014, 7:52:31 PM2/23/14
to hippo-c...@googlegroups.com
Hello Hippos,

I am trying to figure out how the theme management works on hippo cms? Is there any component or mechanism that applies a new css theme on the Site, As I saw there is such functionality on Gogreen but I cannot find where this happens.

Cheers,

Vangelis

Gerard Klijs

unread,
Feb 24, 2014, 12:24:46 AM2/24/14
to hippo-c...@googlegroups.com

You can select an asset in the channelmanager, which you can retrieve using the channelmanagerinfo. Yo them have to put this on the request, en put the reference in the head of the code, you can do this with a hst:include in any jsp. Most likely you already have a component reading de channelmanegerinfo, like a heardercomponent, and a jsp like the header.jsp. This component should be part of your base layout. In our project we also set a default theme when the asset can't be resolved.
Hope this helps

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
Most Hippo developers are active here and/or follow the Stackoverflow [hippo-cms] tag.
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/groups/opt_out.

Vangelis Papathanasiou

unread,
Feb 24, 2014, 4:43:20 AM2/24/14
to hippo-c...@googlegroups.com
Hello,

Thank you very much. I have done something similar. I just wanted to confirm the way to be done.

Cheers,

Vangelis


You received this message because you are subscribed to a topic in the Google Groups "Hippo Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hippo-community/Tfhq3vGTuVI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hippo-communi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages