2.1.4/2.1.5 cms_selflink error in CGBlog

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
howey
Forum Members
Forum Members
Posts: 158
Joined: Fri Sep 14, 2007 1:05 pm

2.1.4/2.1.5 cms_selflink error in CGBlog

Post by howey »

Hi

Ive got an odd error with cms_selflink.

I am using both CMSMS 2.1.4 and 2.1.5 and I am getting link failures if I use the linking tool within CGBlog.

If I add a link into the template manually ie
<p><a href="{cms_selflink href='test-page'}">Test link</a></p>
The link works.

If I add the link using the wysiwyg on a content page the link works.

However, if I add the link from within a CGBlog, through the wysiwyg editor I get an error
The requested URL /test-site/{cms_selflink href='test-page'} was not found on this server.

Is this an error produced by the way CGBlog processes the article?

Is there any way of making this work?

My system is a basic installation of CMSMS with the only additional modules being CGBlog and the required additional modules to this. PHP5.5.26 on MAMP.

Regards
User avatar
rotezecke
Power Poster
Power Poster
Posts: 411
Joined: Fri Apr 18, 2008 9:34 pm

Re: 2.1.4/2.1.5 cms_selflink error in CGBlog

Post by rotezecke »

do you use {eval} in your CGBlog templates? e.g.

Code: Select all

{eval var=$entry->summary}
howey
Forum Members
Forum Members
Posts: 158
Joined: Fri Sep 14, 2007 1:05 pm

Re: 2.1.4/2.1.5 cms_selflink error in CGBlog [solved]

Post by howey »

Hi

Thanks, that seems to have done the trick. I was using

Code: Select all

{$entry->summary}
adding the content/summary as

Code: Select all

{eval var=$entry->summary}
now enables the links to work

Thanks very much, I would never have thought to go that route.

Regards

PS I don't seem to be able to edit my original post to denote it as solved
Locked

Return to “Modules/Add-Ons”