page alias
Permalink
Hello,
I have a very simple question I cannot seem to find the answer to.
How can I access the page alias of an existing page in concrete 5? For instance, with this url:
http://halftohelp-v3.avidanodev.com/artists/amy-albers/...
I would like to use "amy-albers" as a variable.
I am not sure how to retrieve this data.
Any help is appreciated.
Thanks,
Carl
I have a very simple question I cannot seem to find the answer to.
How can I access the page alias of an existing page in concrete 5? For instance, with this url:
http://halftohelp-v3.avidanodev.com/artists/amy-albers/...
I would like to use "amy-albers" as a variable.
I am not sure how to retrieve this data.
Any help is appreciated.
Thanks,
Carl
If within the current page, this will return an object for the current page, and let you access the handle:-
If you want to operate on all pages then you'd do something like this:-
Hope that helps