[SOLVED] Problem with global content blocks
Posted: Mon Jul 20, 2009 9:10 pm
Hello,
I'm having a problem with Global Conent Blocks. I got the webpage done by some company and it was working fine. The problem is that i have some global content blocks like 'main', 'main2' and 'submain'. It was working fine till yesterday (at least i noticed it then). I've done some little modification to main2. Then after seeing that the page is looking bad i've changed it back but couldn't get the orginal look. So i've tried some experiments and i've found out that if i change template index2
From: {global_content name='main2'} --> This was orginal line in the file
To: {global_content name='submain'}
The page is displayed fine. Looks good, but the conent is slightly diffrent from main2 so i need main2 to work. So i've copied code from submain to main2 and ... the no luck. The page looks back. I've decided to create new codeblock submainNew and i copied same content to it. Changed {global_content name='submain'} to {global_content name='submainNew'} unfortunetly still no luck. I can't realy change submain but i think that even if i did change something in it, it would get broken too. Not sure why is that happening.
The problem is visible on http://secusam.pl/ The text Strona Glowna and Aktualnosci should be at the top just under the menu bar.
Any help would be appreciated. Been trying to fix it for some time now. Just to say html/php and cms ain't my best friends.
With regards,
MadBoy
I'm having a problem with Global Conent Blocks. I got the webpage done by some company and it was working fine. The problem is that i have some global content blocks like 'main', 'main2' and 'submain'. It was working fine till yesterday (at least i noticed it then). I've done some little modification to main2. Then after seeing that the page is looking bad i've changed it back but couldn't get the orginal look. So i've tried some experiments and i've found out that if i change template index2
From: {global_content name='main2'} --> This was orginal line in the file
To: {global_content name='submain'}
The page is displayed fine. Looks good, but the conent is slightly diffrent from main2 so i need main2 to work. So i've copied code from submain to main2 and ... the no luck. The page looks back. I've decided to create new codeblock submainNew and i copied same content to it. Changed {global_content name='submain'} to {global_content name='submainNew'} unfortunetly still no luck. I can't realy change submain but i think that even if i did change something in it, it would get broken too. Not sure why is that happening.
The problem is visible on http://secusam.pl/ The text Strona Glowna and Aktualnosci should be at the top just under the menu bar.
Any help would be appreciated. Been trying to fix it for some time now. Just to say html/php and cms ain't my best friends.
With regards,
MadBoy