Problems with cms_selflink

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
mwhite1249
New Member
New Member
Posts: 6
Joined: Tue Jan 25, 2011 5:57 pm

Problems with cms_selflink

Post by mwhite1249 »

System info: Apache 2.0.63 server Architecture x86_64 OS linux
PHP ver. 5.2.9 MySQL 5.0.91-community

First, I LOVE this software. I've searched for several years, tried at least 30 CMS, wikis and blogs. None of them worked for me or met my needs until now.

Only one tiny thing does not work for me. When I use cms_selflink I get a "404 - The page you've requested is not available on this server! " error message. I'm selecting the page from the drop-down list so I know the page exists and is active. Here's the underlying HTML for one example.

<a href="../../members/{cms_selflink href='amalgamated-widget-inc-2' }">Income Statement</a>

Any help with this one would be greatly appreciated.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems with cms_selflink

Post by Dr.CSS »

How are you getting to this point, hiliting the text and using self page link?...

A little step by step might help us help you...
mwhite1249
New Member
New Member
Posts: 6
Joined: Tue Jan 25, 2011 5:57 pm

Re: Problems with cms_selflink

Post by mwhite1249 »

Ah, yes, sorry. From Admin panel I'm going to Pages > Edit page (or Create new page). I'm using the WYSIWYG editor: TinyMCE WYSIWYG.

There is an ICON to insert a site link. The ICON text says "Insert link to cmsms-page". when I click that ICON I get a drop-down list of the site pages. I then select the page and the editor inserts an HTML link. The Editor inserts this link for me. The HTML for the link looks like this:

<p><a href="../../members/{cms_selflink href='amalgamated-widget-inc-2' }">Income Statement</a></p>

I then save the page and test it out on the live site. Each time I get the 404 error message.

I also do confirm that the page does exist, and the correct name is being inserted into the link. ie, there is a page 'amalgamated-widget-inc-2' and I can navigate to it using the site menu links. So there seems to be a problem in the cms_selflink Tag.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problems with cms_selflink

Post by Dr.CSS »

What version of CMSMS, have you changed anything in tiny admin?...

When I do it I get this...

<a href="{cms_selflink href='how-cmsms-works' }">How CMSMS Works</a>
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1803
Joined: Wed Feb 25, 2009 4:25 am

Re: Problems with cms_selflink

Post by DIGI3 »

check config.php to make sure all your paths are correct. Did you move the site, or switch servers recently?
mwhite1249
New Member
New Member
Posts: 6
Joined: Tue Jan 25, 2011 5:57 pm

Re: Problems with cms_selflink

Post by mwhite1249 »

CMS Made Simple version is 1.9.2, I have made no modifications to TinyMCE.

I did not move the site. I'm working with a fresh install.
Post Reply

Return to “CMSMS Core”