[SOLVED] CMSMS 1.6 - cms_selflink inside global content block

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
oliver341
Forum Members
Forum Members
Posts: 89
Joined: Sat Feb 23, 2008 3:51 pm

[SOLVED] CMSMS 1.6 - cms_selflink inside global content block

Post by oliver341 »

Hi, I have a global content block called "footer". Inside that block I have a tag, "cms_selflink", which looks a bit like this:

{cms_selflink page='12' text='Privacy Policy'}

The trouble is, when the website is viewed, I see:

Privacy Policy

where the cms_selflink is sitting in the footer. I'm not seeing the above in "view source", it is actually visible like that in the browser. When I do View Source, I see the entities > and < are being used.

I don't remember this in 1.5 Anyone else seeing this?
Last edited by oliver341 on Tue Jun 30, 2009 9:07 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: CMSMS 1.6 - cms_selflink inside global content block

Post by jmcgin51 »

It sounds to me like you're not looking at the same link.  If the link you put in the GCB is being misinterpreted, it would be

Code: Select all

<span class="footerText">Privacy Policy</span>
The "My link text" text has to be coming from somewhere else.

I don't notice any unusual GCB or selflink behavior in 1.6.
oliver341
Forum Members
Forum Members
Posts: 89
Joined: Sat Feb 23, 2008 3:51 pm

Re: CMSMS 1.6 - cms_selflink inside global content block

Post by oliver341 »

My mistake, the link text is indeed showing as:

Privacy Policy

I've amended the OP, apologies for the confusion. Any idea why this might be happening?

I should also add that the tag is not present in the footer GCB, where is that coming from?
Last edited by oliver341 on Tue Jun 30, 2009 9:03 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: CMSMS 1.6 - cms_selflink inside global content block

Post by jmcgin51 »

Check the HTML for your GCB (in other words, turn off the WYSIWYG), and see what's happening there.
oliver341
Forum Members
Forum Members
Posts: 89
Joined: Sat Feb 23, 2008 3:51 pm

Re: CMSMS 1.6 - cms_selflink inside global content block

Post by oliver341 »

jmcgin51 wrote: Check the HTML for your GCB (in other words, turn off the WYSIWYG), and see what's happening there.
Ah, cheers! When I turned off WYSIWYG I could see that the end tag of the cms_selflink was in the wrong place; it was after the tag. Many thanks for your help, I'll mark as solved.

On a more general note, my move to 1.6 has not caused any issues.
Post Reply

Return to “CMSMS Core”