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.


[RESOLVED] Themes not honoured on many ancillary pages

Login / Search

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

Community saint

On my site I'm using a custom theme that has a tiled background image in the body, different font colours and different background colours.

The problem I'm having is that many ancillary pages (see below) are not showing up as expected. They always look the same but when in admin zone they do not use the admin theme, and when on my custom theme they do not have the background image or even the background colour so the pages look very wrong.

By ancillary pages I mean pages like:

   add block popup
   add tag assistant popup
   pages popup
   Emoticons popup
   Existing attachments popup
   More:Login page
   "Disable WYSIWYG editing" warning page

Here is an example of one of the more readable ones (note the lack of background image):


Last edit: by temp1024

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#68323
Avatar

I don't know what to say about this one really, I think it's probably an issue in your theme. All the frames/popups/etc obviously have HTML 'body' and also are given a CSS 're_body' class. You should target your CSS changes to 're_body' as this will then ensure it does not apply to the WYSIWYG editor (which works in an iframe) or other select situations where you wouldn't want it.
If you're targetting your changes to 'id=main_website' then that by design will only do the main website, which is a feature (you'd put like fixed width stuff on that) :).


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:
#68329
Avatar

Community saint

Sorry, but if it was only an issue with my theme then why is this occurring when i'm in admin zone which uses the default theme?

The default theme has no css_custom or even template_custom so I should not be seeing any of my changes when using the default theme.

My theme was build on a base of default theme + Portal conflict (only the css files).

I have not added any new styles except for a "* {outline: none;}" to remove the focus rectangles.

I've just experimented and added a background-image: to re_body and (which was previously in #main_website) and that seems to have fixed my main problem (will do more thorough testing later), which only leave the mystery of admin zone+default theme.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#68330
Avatar

Ah, I see what you're saying there. Yeah, I can see why that could be incongruous, I'll look into changing it.


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:
#68336
Avatar

Ok this will be fixed in the next patch release, which I'm going to try and get out tonight. It involved a lot of changes.

However, the login page is intentionally always using the welcome zone's theme, because it's trying to not leak potentially secretive theme details out to non-authorised users.


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:
#68350
Avatar

Community saint

I thought this might be a big change.

Attaching the login screen to the welcome zone (theme wise) if fine.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#68564
Avatar

Community saint

Looks like its working now.

The only issue I have left is with the non-transparent nature of the silhouette image on the More:Login page, but that's OK, I'll deal with that.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: