Page 1 of 1

Displaying page alias on pages.

Posted: Mon Jan 02, 2006 11:38 pm
by Timan
Is there a way to display the page alias to show up in a page?

What I am trying to do is this.
{content}

That way in my style-sheet, I can specify the look of each page by using #PAGEALIAS and it stylize all my content.


Right now I've done id="{content block='headercontentclass'}" and it works fine, its just another block of content I must fill out on my pages.

BTW, keep up the awesome work on this cms. Its wonderful.

Re: Displaying page alias on pages.

Posted: Tue Jan 03, 2006 4:09 am
by amygdela
is a good alternative! :)

Re: Displaying page alias on pages.

Posted: Tue Jan 03, 2006 4:56 am
by Timan
Thanks for the suggestion,

Problem with that is, if the page title has a space in it, won't work so good with stylesheets. hence why page alias (which doesn't contain spaces) would be perfect.

Thanks again though :)

Re: Displaying page alias on pages.

Posted: Tue Jan 03, 2006 8:59 am
by Timan
That seems to help, thanks alot.

Yea, it is a tad odd, I could of done multiple templates for each section and then manually change the id's name.

But I am the type that wants one or two templates that control everything to my liking. And now this wonderful cms does just that.

Thanks again :)