Page 1 of 1

Links url - page number and page alias

Posted: Mon Mar 06, 2006 8:05 am
by fredt
In my pages, some links are generated by the fckeditor "Palmtree" plugin 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...) ?

[Edit, march 21 : please help - Fred !!!]

Re: Links url - page number and page alias

Posted: Wed May 31, 2006 11:03 am
by Plugman
Hi,

For informations, this is my first post !!!!  ;D

If you want to have the alias instead of the id in your cmsms link you need to go to :
modules/FCKeditorX/FCKeditor/editor/plugins/CMSContent/fck_cmscontent.php

And change this line :
echo "Id()."\">".$one->Hierarchy()." ".$one->Name()."";

for
echo "Alias()."\">".$one->Hierarchy()." ".$one->Name().""; 
to have page alias

or
echo "Name()."\">".$one->Hierarchy()." ".$one->Name().""; 
to have page name

Excuse me for my bad english but i'm a poor frenchy ^^

See ya !

Plug.

Re: Links url - page number and page alias

Posted: Wed May 31, 2006 12:24 pm
by fredt
French & private content follows
********
Et ça te fait rire... ;) Tu ne t'en sors pas mal, continue à poster des chouettes trucs comme ça !
Bienvenue à bord !
Fred