new zone with new theme shows elements of base theme

Post

Posted
Rating:
#4591 (In Topic #979)
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Hello,

After a recent upgrade a few times ago suddenly all my other new zones started showing the background and some behavior from my original zone….  I did not report it as I assumed it was some problem I created myself.

Today, on a different website and a different server the same problem happened , for example:4

https://futurecode.jp/

is my original zone & theme

now check out the new zone & new theme:

https://futurecode.jp/restaurant/

you can see the new color scheme etc but i am unable to change the background. the photo image slide show is adopting the css from the original zone rather than behave with stock CSS.

I checked the "restaurant"  global wrap and CSS and its all fresh and not modified. So somehow CSS qualities from the orginal zone are being combined…

my mind is tired and boogeled so wanted to check in and report this issue and see if it is something I messed up or not.

Thank you tons for ideas & help

cheers

stevyn

 

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4594
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

you can see the new color scheme etc but i am unable to change the background

Are you sure you edited the 'outer_background' theme image separately for each theme?
If you have overridden it only over what is in the default theme, rather than individually for each theme, it's going to be the same image.

the photo image slide show is adopting the css from the original zone rather than behave with stock CSS.

Please try these changed files:
Attachment

hotfix.tar


For reference, these are the commits:
Deferred blocks should use theme of context they are running in not w… · ocproducts/composr@3588fbb · GitHub
Fix image fader mouse hover problem · ocproducts/composr@66906e6 · GitHub


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris Graham)
#4595
Joe
Avatar
Standard member
Joe is in the usergroup ‘Honoured member’
Not sure what you mean by the two zones combining your CSS - looking at your site, I noticed even though it's the same background image, it is in fact shown differently on your new zone.

For example, body#main_website is different on each theme. The normal theme (not the restaurant one) defines other background properties that are not defined in your restaurant theme. This is why the background appears differently.

background-repeat: no-repeat;
background-attachment: fixed;
background-size: 100% 100%;
background-color: #ffffff !important;
background-attachment: fixed;

A side note, it almost looks like background-attachment: fixed; is shown twice. Maybe check that out?
Online now: Yes Back to the top

Post

Posted
Rating:
#4598
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Hello,

I created a new theme (copy of default) for futurecode.jp & restaurant.

Yeppers I edited the 'outer_background' theme image separately for each theme


I upload a different image and it is there in the editor, but after flushing cache on the cms and browser the new zone always keeps the first zone image…..

Joe mentioned double bits of CSS, it kinda is like the new zone and the previous zone CSS are merging somehow

i checked the CSS in the new zone (in theme editor) and none of my edits are there

or perhaps the new zone is loading the new zone theme but loading the old zone CSS

enclosed is image of the new restaurant zone with some sake bottles as background. It displays OK in theme editor but not on restaurant page.


So this same exact issue is happening on the other website on a different server. It has many different zones each with different CSS, backgrounds, etc and it was all working great but upon an upgrade it now has same problem, alll the various zones all now display CSS & background image of the original zone.

Thank you, I will apply the fix now and also investigate and report back



background-test.jpg

 

Last edit: by ironfeather


———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4599
Joe
Avatar
Standard member
Joe is in the usergroup ‘Honoured member’
Are you 100% sure the zones are set to use different themes? You can check this in Adminzone -> Structure -> Zones -> Edit Zone. Ensure the 'theme' fields are set accordingly. Maybe they somehow reverted themselves after you upgraded?

I know you said it's not showing your edits in the new zone's CSS, but maybe a temporary fix could be to bypass the theme image editor and apply your background image directly inside the CSS? Or at least until Chris can figure this out.
Online now: Yes Back to the top

Post

Posted
Rating:
#4600
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Howdy

update:

the hotfix crashed the slideshow on the main zone and the restaurant zone. It attempts to load and doesnt.

So I will replace those files with original

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4601
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Hello,

Name   Title   Default page   Theme   Require confirmed session   Actions

N/A   Welcome   start   Future_Code   No    Edit
adminzone   Admin Zone   start   admin   Yes    Edit
cms   Content Management   cms   admin   Yes    Edit
restaurant   Restaurant   start   restaurant2   No    Edit


copy of my zone setup, so main uses future_code and restaurant uses restaurant2 theme

I agree, I will just hardcode the new background into the restaurant theme CSS so I can continue working on it (showing it to the restaurant tomorrow)  so its OK  but this seems to a bug or something I messed up on my end.  

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4602
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
update: i should mention that i created a new test gallery in the restaurant and now it is using the proper box css for the restaurant theme but not the color. so weird

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4603
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’

"…..Deferred blocks should use theme of context they are running in not …."

This is true.... I tested the fader gallery block not deferred mode and it has proper CSS for the theme *

but in deferred mode it uses the main zone CSS

I will try the hotfixes again now


*  i should mention that my theme color seed is GREEN and menu etc is greenish but the image box is blue....

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4604
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
i tried the hotfixes again but no luck. did not change behavior of the deferred imade fader and actually interfered with  custom image fader CSS on original zone so switched back to standard

since my site is primitive and new i may try and do a fresh install and start over as a test and see if same issues

will report back later

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4607
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
I edited the 'outer_background' theme image separately for each theme. I upload a different image and it is there in the editor, but after flushing cache on the cms and browser the new zone always keeps the first zone image…..

I know you said you emptied the cache, but I did just find a bug where editing a theme image did not correctly clear the part of the template cache containing the global.css files. Maybe that will help avoid some possible confusion, especially when you've found multiple bugs unfortunately.

Joe mentioned double bits of CSS, it kinda is like the new zone and the previous zone CSS are merging somehow

The deferred block will cause CSS to double evaluate, as the block will load the CSS not knowing it's already loaded. It should be the correct CSS file in both instances though, so it shouldn't create a problem albeit it will be messy to see in the browser debug tools.

I did just find a bug whereby the keep_theme URL parameter was not being evaluated correctly, which may have also caused an issue somewhere. This did come up very recently, caused by a different bug fix.

i checked the CSS in the new zone (in theme editor) and none of my edits are there. or perhaps the new zone is loading the new zone theme but loading the old zone CSS

Hmm, maybe it's the issue Joe just had in Custom CSS + JS files - Composr, if you happened to be using the template editor rather than the CSS editor to edit the file.
I just tested editing as CSS, as a template, and as CSS using the screen action tool in the footer - all worked.



I also have fixed blank image titles copying through, it should stay to the last title set, or 'Media'.

I have also fixed an issue with IMG_INLINE not working correctly for overridden theme images.

Sorry for the big pile of issues!

If you are still having issues (you said your last hotfix application did not work, perhaps an incompatibility), please consider e-mailing me with FTP access and I'll make sure it does work for you.

Attachment

hotfix2.tar


The hotfix incorporates changes in the previous one, and the fix for Joe's issue I referenced.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top

Post

Posted
Rating:
#4615
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Hello, thanks much. I will download and apply the hotfix right now and report back

:rockon:

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4616
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Success!  

The hot fix2 has fixed the background issue on the newest zone. and my original zone looks fine and dandy.

I will experiement more with the deferred stuff next and report back

Thank you!!!!!

:rockon:  

 

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4617
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Success!  

The hot fix2 has fixed the background issue on the newest zone. and my original zone looks fine and dandy.

I will experiement more with the deferred stuff next and report back

Thank you!!!!!

:rockon:  

sigh, tiny update:

on my orginal zone page the slide show customized rounded corners are broken.  looking at it now
 

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4618
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’

UPDATE:

sorry to say some problems…

I am investigating to see whats going on, tempted to do a fresh re-install tomorrow as I have been tweaking many things.

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4619
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’
Hello, I have decided to do a fresh install and make a record of how I install and everything I do as well as any problems that may occur.  Will share when done.  

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4647
Avatar
Standard member
ironfeather is in the usergroup ‘Well-settled’

I installed a new fresh one and used the hotfix and everything seems good

I did experience some other problems but will start a new post.

Thank you!
:thumbs:

———–
Publisher of IronFeather Journal since 1987.  Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Compsr site in progress:  Nandalow
My Compsr edits : 
http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862

 
Online now: No Back to the top

Post

Posted
Rating:
#4650
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi,

I expect to be in the IRC room from roughly 1pm UK time to 4am UK time on Friday (i.e. today but I haven't gone to sleep yet) - so if you want you can try and catch me there. (There'll be a few hours here and there where I'll be gone.)


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

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 Composr whenever you see the opportunity or support me on Patreon.
  • 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 Composr 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.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Joe, deepu_ms, MVLipwig, babu, Philip, mytracker, 208 guests

Forum statistics:
  • 932 topics, 4,477 posts, 5,422 members
  • Our newest member is Sarawilliams7
Birthdays:
Back to Top