new zone with new theme shows elements of base theme


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
"Partners in Progress" - Future Code Japan
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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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:
hotfix.tar
For reference, these are the commits:
https://github.com/ocproducts/composr/commit/3588fbbbb1d8dc29e61e4eb7a3d73987eff746fa
https://github.com/ocproducts/composr/commit/66906e6003b0456696e5149a2c21356a3e8353c4
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- 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.


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?


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

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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


"…..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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
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 Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- 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.



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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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!!!!!


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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!!!!!


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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!

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.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


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 Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- 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.