Page 1 of 1

Explicit set page-alias on page creation

Posted: Thu Jun 16, 2005 7:09 pm
by mbvdk
One thing I miss on the add-content page, is the abillity to explicitely sett the alias of the page being added.

The reason for this, is that I'm using Danish characters in my menu, so when the menu item text is used for the alias, I get an error, unless I remember to go back and edit the page so that I can set the alias.

Re: Explicit set page-alias on page creation

Posted: Thu Jun 16, 2005 11:47 pm
by Ted
Set auto_alias_content to false in your config.php.  All will be bettter (I hope).

Re: Explicit set page-alias on page creation

Posted: Mon Jun 20, 2005 7:02 pm
by mbvdk
Thanks, that's just what I was looking for.

Re: Explicit set page-alias on page creation

Posted: Sun Jul 03, 2005 3:13 pm
by tamlyn
mbvdk wrote: Thanks, that's just what I was looking for.
Me too!

Re: Explicit set page-alias on page creation

Posted: Tue Jul 05, 2005 1:40 am
by iNSiPiD
And me! :)

Looking mor closely at the config file (something I haven't done in a long time obviously, it seems I can also turn on Smarty PHP tags.

Does this mean one could inject PHP directly into a template or content page using {PHP} and have it parsed?? I know this obviously isn't ideal and you'd rather us use plugins but I've got a lot of custom code functionality I want to build in and it's not really practical to use a plugin for every one.

Re: Explicit set page-alias on page creation

Posted: Tue Jul 05, 2005 1:48 am
by Ted
Yup, that's exactly what it does.

Re: Explicit set page-alias on page creation

Posted: Tue Jul 05, 2005 2:02 am
by iNSiPiD
Apart from the obvious security issue are there any downsides to this? Speed, for example.

Also, what difference does the assume_mod_rewrite switch have? I had it on false but have had no trouble rewriting via .htaccess.