Link to another page

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.
Locked
Trinione

Link to another page

Post by Trinione »

Hi:
New to CMSMS and loving it, especially since the code names Trinidad, Tobago, Scarborough are from my islands T&T!

Simple question really -  How can I link to a page in the system 'manually', that is - not via a menu link?

I am seeing the links pointing to say '/index.php?page=PageName', however, would this have an impact if I decide to switch to the Clean URLs later?

Also, is there a tag for this?

BTW, did my first customer install and training today and they absolutely love the EASE OF USE of CMSMS!

This is definitely the CMS for me, and I have tried some of 'the best' like Drupal, Mambo/Joomla, plus some. CMSMS is 'de damn ting self' as we say in Trinidad.

Thanks,
Trinione
westis

Re: Link to another page

Post by westis »

Hi Trinione & welcome to CMSMS!

To link to an internal page, use the cms_selflink tag. You can use it like this:

{cms_selflink page='pagetitle' text='linktext'}

:D
Trinione

Re: Link to another page

Post by Trinione »

Thanks.

And I also realised that I can use the links (with the coconut trees) on the FCKEditor bar. Great stuff!
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Link to another page

Post by fredt »

Sure we wonder...

Why are some of my links generated as "/index.php?page=40" and others as "/index.php?page=news" ? (cmsms 0.11.2)? Can I mass or hand-edit them to get the cleaner "page=mypage" syntax (I suspect google will prefer those...)
JohnR

Re: Link to another page

Post by JohnR »

westis wrote: {cms_selflink page='pagetitle' text='linktext'}
Hi, I'm new here :) CMSMadeEasy is a really great piece of software, I gotta say.

Just thought I would mention that in the FCKEditor, you can use the Insert/Edit Link button and use the following in the URL field

{cms_selflink href='alias'}

(Single quotes are needed, double quotes don't work.) This makes the editor more WYSIWYG ;)

PS I am using 0.12.1.

JohnR
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Link to another page

Post by fredt »

JohnR,

I'm afraid I don't catch this one. What does it do ??
JohnR

Re: Link to another page

Post by JohnR »

Hi, sorry for the delay! It generates

  Your text

I just find it easier to use in the editor than the other form posted above.
Locked

Return to “CMSMS Core”