HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Changing CMS zone theme? (v9)

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#100745 (In Topic #19775)
Avatar

Fan in action

I made a new theme (some simple css color changes plus I moved the main nav to the top of the page) and I have the news/blog addon installed so my users can have their own blogs.

I need the CMS zone to match the rest of my site. What is the best way to go about this? I hate to edit the default theme or change the adminzone theme but I can if there's no other option. I really, really hope there is a better option though.

A (locked down) view of my theme.
Back to the top
 
Posted
Item has a rating of 5 (Liked by ValkyrieLiked by Guest)  
Rating:
#100746
Avatar

Community saint

How about …

 Admin Zone → Structure → Zones → Choose → Edit zone

… and then select CMS from the list and tell it to use your 'new' theme, not forgetting to select the banner of the new theme for display.

Save, see if there are any glaring conflicts, and then work your way through them. You will always have the 'default' to fall back to if things don't go as anticipated. You won't be changing your 'default' theme - only sidestepping it.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#100747
Avatar

Fan in action

Ah, that worked like a charm. Of course it would be in some place so obvious! lol. I knew there must be a proper way.

Sorry for my noobishness Fletch and thank you for the help.

I was never here  :ninja:
Back to the top
 
Posted
Item has a rating of 5 (Liked by ValkyrieLiked by Guest)  
Rating:
#100749
Avatar

Community saint

LOL

I don't think any apology is called for. Some other user may well trawl this thread and, after slapping him/herself on the side of the head, follow the instructions.

You'll be surprised how many choose simply not to ask …!!

Glad to hear it all works.

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#101361

Non-joined user

Is there a way to set the theme to "respect member settings" but then specify a theme that is not the default theme to come up if the member has not made a theme selection yet?

If not, is there a way to configure the system to assign a theme that is not the default theme to a new user when they first register. (assume the zone theme is set to "respect member settings".

Thank you.
Back to the top
 
Posted
Rating:
#101362
Avatar

Fan in training

Also, when I look in the _DESCRIPTION_THEME_OCF under configuration it indicates the following:

"Change the theme used by selecting from a list of installed themes. If you choose ‘Respect member settings’, then the theme will be decided according to the member's theme selection (in their member profile settings) – or if they have not chosen one (e.g. if there is only one available to them, or if they are a guest) the theme with the name “{1}”, or if that does not exist the “default“ theme.
Note that this option will not be respected if the viewing member does not have access to view this theme (by default any new theme does have full access though) – in this circumstance the default theme would be used."


The above implies that a setting can be made to prioritize the selection of the themes when respect member settings is chosen but I have not been able to find the field above referenced by {1} which appears to be a variable placeholder.  Sorry for the double post. The first part of the question was mistakenly posted while I was trying to remember my password to log in.

Thanks.
Back to the top
 
Posted
Rating:
#101365
Avatar

It should say on the manage themes screen what the name would be, and its based on the name of your site.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101366
Avatar

Fan in training

That would be great but I dont see it on the manage themes page.  I am using ver 9.0.9.  I see the "default theme" and all the other themes that I have made above it, but I dont see a way to specify one of the other themes as having priority over the default them when "respect user settings is on".  Can you point me to where I would look to find it on the manage theme page.  Is it inside a theme setting?  Do I just need to make a theme with the site zone name to make this work?

Thanks.
Back to the top
 
Posted
Rating:
#101372
Avatar

Sorry, it's not on manage themes. It's when you edit a zone. Go to Admin Zone > Structure > Zones, and choose any zone to edit. Look at the description of the Theme field. I'll get it on manage themes in v10, because it should have been there too.

The rule is that the theme named the same as your site will be used, but with non-alphabetical/numerical characters substituted with "_". E.g.
A site called "Bob's World" would have a theme:
bob_s_world


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#101373
Avatar

Fan in training

Thanks Chis.  That worked great!

Thanks for describing how the name for the primary "default" theme name is structured too.  It's useful to know the methodology.  

Thanks again for being so quick to respond.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: