Content block not displayed on certain pages issue [~solved]

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Nicosmos
New Member
New Member
Posts: 4
Joined: Thu Jul 29, 2010 1:23 pm

Content block not displayed on certain pages issue [~solved]

Post by Nicosmos »

Hi :)

I'm making a website with CMSms and it fit perfectly the project. However, I encounter a problem with a precise content block : it isn't displayed on all pages that use it, even if its corresponding textarea is filled in the admin.

Let's explain. When I first did my template, I've put a {content block="bandeau"} in the page. Then, I began to create main pages and add the content. Since I finally don't have used this bandeau area, I've deleted it from the template. However, it appears that I actually need it for some pages that I will have created after, so I have put it again in the template, but with an upper-case : {content block="Bandeau"}.

Now, when I fill the Bandeau textarea on a page created after, it works fine, and the content is displayed on the front-end. However, when I want to add content in Bandeau on pages created before, nothing is displayed on the page (though it remains in the admin textarea no, in fact it disappears there too).

I think the new Bandeau is probably interfering with the 'ghost' of the now dead bandeau, which was present originally on these first pages.

Final result: I can't add content in some part of some of the main pages, and I've to deliver a functional website soon.

A solution could have been to delete and recreate all these first pages, but with all the content in different content blocks, all specific page options, and above all, all the hierarchy of pages and subpages, it would be a big work.

So, do someone have a solution ? Can this 'interference' (or whatever it is) be deleted (maybe in deleting old 'bandeau' fields in database or I don't know) ?

Thanks a lot,
Nicolas.
Last edited by Nicosmos on Thu Jul 29, 2010 3:48 pm, edited 1 time in total.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Content block not displayed on certain pages issue

Post by tyman00 »

Try doing it with a new block named Bandeau1 or something and see if that works.

Also, what version of CMSMS are you running?
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
User avatar
Nicosmos
New Member
New Member
Posts: 4
Joined: Thu Jul 29, 2010 1:23 pm

Re: Content block not displayed on certain pages issue

Post by Nicosmos »

Thanks for your answer,

I have created an other block, Bandeau1, close to Bandeau. As a new block, it works fine on both first pages and recent pages. If I put content in Bandeau1 and Bandeau in one of the first pages, only Bandeau1 content is displayed.

And I'm using CMSms 1.8.1. :)
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: Content block not displayed on certain pages issue

Post by tyman00 »

There definitely could be some conflicts with the previous existing content block because removing the tag from the template doesn't automatically remove the content of the block from the database for each page.

I would have to set up a test environment to see if I could replicate the problem.

What happens if you do it with the lowercase b in bandeau?
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
User avatar
Nicosmos
New Member
New Member
Posts: 4
Joined: Thu Jul 29, 2010 1:23 pm

Re: Content block not displayed on certain pages issue

Post by Nicosmos »

Ok, I have recreated {content block="bandeau"} just close to {content block="Bandeau"}. Both textareas appears in the admin. However, bandeau seems clearly to have priority on Bandeau. All pages now display only bandeau content and some text that have been in Bandeau have disappeared, even if admin (not so serious, only on pages edited since then, and I have saves of the major part).

So, I will you bandeau instead of Bandeau for the moment (the upper-case was just a aesthetic thing for the labels of textareas in the admin panel). Nevertheless, this issue could be fixed at term (either by considering upper-case and lower-case names as the same, or precisely as totally different, not a blend between both that can cause some conflicts).

Thanks, problem rather [solved], :)
Nicolas.
Last edited by Nicosmos on Thu Jul 29, 2010 3:46 pm, edited 1 time in total.
Post Reply

Return to “CMSMS Core”