Internal Page Link uses own alias? no!

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am

Internal Page Link uses own alias? no!

Post by nicmare »

Hi there,

i use cmsms 1.7.1 with pretty urls and i have some pages and one internal page link.
i want the link to use the same alias like the target page. but for some reason i have to specify an alias in the options tab? when i try to use the same alias, i get an errormessage, of course.
is this a bug?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Internal Page Link uses own alias? no!

Post by Rolf »

nicmare wrote: i want the link to use the same alias like the target page. but for some reason i have to specify an alias in the options tab?
I am not totaly shure I understand your question ;) but could you check this setting in the config.php in the first place:

Code: Select all

#Automatically assign alias based on page title?
$config['auto_alias_content'] = true;
Grtz. Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Peciura

Re: Internal Page Link uses own alias? no!

Post by Peciura »

when i try to use the same alias
Alias is another form of page id - it is ment to be unique.
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Internal Page Link uses own alias? no!

Post by RonnyK »

nicmare,

why would you like to use the same alias? The page that will show as a link, and in the URL, will be the page linked to. So that pages alias will be visible, only in the backend the link-pages-alias will show.

Ronny
gdur
Forum Members
Forum Members
Posts: 142
Joined: Sun Jan 10, 2010 10:59 am

Re: Internal Page Link uses own alias? no!

Post by gdur »

If this is about linking to an Anchor within the same page I think nicmare might be right. Just did a new page a couple of days ago using version 1.7.1 and I failed to link within the page a few times doing it the way I was used to. I had to create the link like ?page=pagealias/#anchorname. This worked for me but I do not remember how it was before but to my memory different.
Now if you select the anchor from the anchors box the anchorname appears in the Link URL box with a # in front. If you leave it like that it's a dead link so you have to edit the Link URL manually and put ?page=pagealias/ in front of the anchor name. What I remember from working with 1.66 it went more intuitive but too much trouble to downgrade to investigate....
Locked

Return to “[locked] Installation, Setup and Upgrade”