Hi,
I need to get the custom page URL that users can set in page's option tab, in order to use it to generate pretty urls in my module.
How can I do?
(I'm sorry, I guess it's a quite easy problem to solve, but I didn't find any answer searching the forum)
Thank you
[SOLVED] Get page url field value?
[SOLVED] Get page url field value?
Last edited by nervino on Sat Nov 17, 2012 2:11 pm, edited 1 time in total.
Re: Get page url field value?
though I don't understand how you want to use it, this topic might help:
http://forum.cmsmadesimple.org/viewtopi ... ontentbase
http://forum.cmsmadesimple.org/viewtopi ... ontentbase
Re: Get page url field value?
Thank you, Jos.
I've coded pretty urls for my application, registering them in MyModule.module.php file, but of course if I fill the "Page URL" field, the pretty urls do not work because the string is not registered with RegisterRoute().
So I wanna try to see if it is possible to register the Page URL string dinamically. Well, while I'm writing I'm thinking that maybe this is not possible because I can't register the string variable in the main module file...
I've coded pretty urls for my application, registering them in MyModule.module.php file, but of course if I fill the "Page URL" field, the pretty urls do not work because the string is not registered with RegisterRoute().
So I wanna try to see if it is possible to register the Page URL string dinamically. Well, while I'm writing I'm thinking that maybe this is not possible because I can't register the string variable in the main module file...