Displaying page alias on pages.

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
Timan

Displaying page alias on pages.

Post 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.
amygdela

Re: Displaying page alias on pages.

Post by amygdela »

is a good alternative! :)
Timan

Re: Displaying page alias on pages.

Post 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 :)
Timan

Re: Displaying page alias on pages.

Post 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 :)
Locked

Return to “CMSMS Core”