-
-
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
shanna Nov 28, 2013 7:02 AM (in response to shanna)Nevermind. I figured out what I did wrong. When I saved the Default Theme, I noticed the "Publish immediately after save" sort of had a check (it's checked but in shadow/disable color). I clicked on it to be sure it is published. That got the Default to publish and I was able to delete my customized theme. Of course, by doing so, I am really overriding the Default Theme according to the UI which I don't really want to do. I wish there is a way to simply "return to Factory Settings".
-
-
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
shanna Nov 28, 2013 8:16 AM (in response to shanna)I finally figured out where Jive saved the Customize Your Site styles. Since I couldn't find a way to "return to factory settings", I needed to find a way to remove all the published styles so they don't interfere with my actual theme work (which is to customize my site using the Admin Console).
First, I used the Customize Your Site UI to export the published styles. That downloaded a file called palette-1004.zip. This comes in handy later on.
Next, using the Chrome developer's tool, I noticed some styles that overrode all of mine (which I added via the admin console). When I examined them, they came from a generated file residing in https://hostname/resources/styles/palette-1004. This is when my light bulb went on.
Luckily, since I am working with my own local server, I am able to get onto the server and locate the file. I found it under hostname:/usr/local/jive/var/www/resources/styles/palette-1004. I did not remove the file since that may cause the system to fail when it looks for the file. I simply cleared its content which contained all the published styles that were overriding those which I added via the admin console. This finally put me back to "factory settings" so I can continue to work.
Lesson learned: Do not play with Customize Your Site if you have advanced themes that cannot be handled by that UI. Otherwise, you may be stuck with the published styles with no way to delete them. It sucks!
All in all, Customize Your Site styles have higher priority than those applied via the Admin Console. Since you can't clear the published styles, they don't play well with custom theme via admin console. Theme developers, keep that in mind.
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
John SchwillerNov 28, 2013 8:21 AM (in response to shanna)
TLDR (no j/k) we use both in parallel
Glad you figured it out.
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
russell.pearson Nov 28, 2013 8:37 AM (in response to John Schwiller)do you mean you use both the custom tool and the traditionally made themes John Schwiller?
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
John SchwillerNov 28, 2013 8:48 AM (in response to russell.pearson)
we discussed this at PwC I thought? Yes, we are using Customize Your Site to change the site logo (only) - everything else is in some very complex CSS (props to Adam Crow) and FTL and SOY. And then if we're really lucky Akamai serves it up to the user if there's an 'r' in the month...
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
russell.pearson Nov 28, 2013 8:56 AM (in response to John Schwiller)yes, and mussels are in season
wondered if you'd cracked the hybrid approach in a new way by running both in parallel rather than just the logo. Seen some unwanted behaviours with the FTL overriding, but only in part
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
John SchwillerNov 28, 2013 10:15 AM (in response to russell.pearson)
No, not tried it
Big heavy themes, several, brimming with lots of tweaks to FTL and SOY, seriously heavy cunning CSS and custom keys in SMZ to localise things that surprisingly come up in English for Johnny Foreigner (can I say that here?) is where we're at.
Amber would be proud
-
-
-
-
-
-
Re: How to remove a custom theme saved by Customize Your Site in Jive 6?
ryan Jan 22, 2014 8:36 AM (in response to shanna)The css generated by the 'Customize Your Site' tool is included in your theme in the header-css-custom.ftl:
<#if !page.getProperty("meta.nopalettecss")?? && skin.template.skinPaletteActive>
<link class="j-custom-theme" rel="stylesheet" href="<@s.url value='${skin.template.paletteCSSPath}'/>" type="text/css" />
</#if>
You can remove this block of code if you don't want to use the Customize tool at all with this theme, or you can set the custom 'meta.nopalettecss' property per page if you only want the customizations to take effect conditionally.