Moving Blocks wipes "design"
Permalink
Hi Folks,I got a potentially a big prob!
I have a number of 'blocks' on the front page of a site. Some of the blocks have added 'design' eg, changed font size etc.
When I move a block, ALL the 'design' formatting is lost for the whole page - even though, when I go back to the design menu, my pre-sets are still selected.
I have to go to each block and re-select the 'design' pre-sets, for it all to work again.
Anyone have any ideas as to what is going on? This is a "self-made" theme.
Thanks guys!
I have a number of 'blocks' on the front page of a site. Some of the blocks have added 'design' eg, changed font size etc.
When I move a block, ALL the 'design' formatting is lost for the whole page - even though, when I go back to the design menu, my pre-sets are still selected.
I have to go to each block and re-select the 'design' pre-sets, for it all to work again.
Anyone have any ideas as to what is going on? This is a "self-made" theme.
Thanks guys!
right! thankyou tons for this idea - it gives me something to go on! .. I'll take a look at the css and post back if I can sort the prob!
blast! no luck so far..
I have tried to find the problem by deleting styles and areas one at a time.. but so far I get the same result - if I move a block, all custom block styling is lost.
Here are the css links from the top of my .php:
<link href="<?=$this->getThemePath()?>/styles/main.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/styles/menu_style.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/styles/typography.css" rel="stylesheet" type="text/css" />
Can anyone see if I have missed an important link? .. anything?
I should also mention that when I move a block, all "block design styling" looks fine, its only when I 'publish' my changes it all goes belly up!
If I have a breakthrough, I'll post back!
J
I have tried to find the problem by deleting styles and areas one at a time.. but so far I get the same result - if I move a block, all custom block styling is lost.
Here are the css links from the top of my .php:
<link href="<?=$this->getThemePath()?>/styles/main.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/styles/menu_style.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->getThemePath()?>/styles/typography.css" rel="stylesheet" type="text/css" />
Can anyone see if I have missed an important link? .. anything?
I should also mention that when I move a block, all "block design styling" looks fine, its only when I 'publish' my changes it all goes belly up!
If I have a breakthrough, I'll post back!
J
ok... last word on this... and I will try to stop bumping!
I re-installed C5 - still no fix.
Big news is, I recreated the site on a different host (a sub domain of my own site) I made the install exactly the same, and the problem is non existent. I cannot re-create! So, in short, this only happens on my clients site (hosts)
Anyone think its possible its a problem with the database? some setting or other?? Unlikely I know... Im grasping at straws!
heeellp ;)
cheers!
J
I re-installed C5 - still no fix.
Big news is, I recreated the site on a different host (a sub domain of my own site) I made the install exactly the same, and the problem is non existent. I cannot re-create! So, in short, this only happens on my clients site (hosts)
Anyone think its possible its a problem with the database? some setting or other?? Unlikely I know... Im grasping at straws!
heeellp ;)
cheers!
J
Closing:
Just in case anyone was following this, I never did solve the problem, but set up a new DB and C5 install in a sub-directory. All is working fine, without a glitch.
I'm just going to have to put this down to "one of those things"
Cheers folks, happy C5-ing!
John
Just in case anyone was following this, I never did solve the problem, but set up a new DB and C5 install in a sub-directory. All is working fine, without a glitch.
I'm just going to have to put this down to "one of those things"
Cheers folks, happy C5-ing!
John
I have been noticing this happening to me sporadically when moving blocks, or when simply editing a block. It's happening in edit mode and not only when published. I don't know why, but I see this being an issue when a client goes to edit or move a block and not realizing the design set on the block has defaulted to just the style sheet, and not the preset of the block design.
Any further ideas?
Any further ideas?
sorry .. nope. Never got to the bottom of it.. The only clue I have is that the client had been editing the site at around the same time I was logged in. At that time I wasn't editing, but I wonder if some sort of conflict was created. Since wiping the DB and re-installing there have been no problems - thank goodness!! If you do find anything, pls do post.. I hate mysteries!
John
John
Me too I've noticed this behaviour, and I found that the only affected blocks were the "area splitter" ones (http://www.concrete5.org/marketplace/addons/area_splitter/... ).
I found the problem and fixed it myself. I've posted a patch to the area splitter support forum: in the next version of this package this problem should be fixed.
...or did you noticed the problem for other blocks?
I found the problem and fixed it myself. I've posted a patch to the area splitter support forum: in the next version of this package this problem should be fixed.
...or did you noticed the problem for other blocks?
ahhh that's an interesting addition to the mystery! Unfortunately, at that time, I wasn't using any blocks other than those created by the theme.. so can't put any more light on this yet! :(
I've found that the custom style is lost even with the standard "Add Layout" function, and I've raised a bug:
http://www.concrete5.org/developers/bugs/5-6-0-2/custom-style-lost-...
(Please note that the area splitter and the layout are two separate and independent bugs)
http://www.concrete5.org/developers/bugs/5-6-0-2/custom-style-lost-...
(Please note that the area splitter and the layout are two separate and independent bugs)
then if you move it to the main area it won't apply due to the specificity of the declaration.