[SOLVED] Documentation about Pretty url's

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Borderbox
New Member
New Member
Posts: 5
Joined: Wed Jul 31, 2013 7:27 am

[SOLVED] Documentation about Pretty url's

Post by Borderbox »

Hello,

I'm creating a module. Now i am trying to create pretty url's but i can't get it to work.

Is there, somewhere, documentation for developers on how to implement the pretty url part in my module.

Thank you.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: [SOLVED] Documentation about Pretty url's

Post by Dr.CSS »

Would you mind telling us how you figured it out..?
Borderbox
New Member
New Member
Posts: 5
Joined: Wed Jul 31, 2013 7:27 am

Re: [SOLVED] Documentation about Pretty url's

Post by Borderbox »

I solved this by watching closely to other modules. Like the News module some of Calguys modules.

I used some functions i found like CreatePrettyURL() and register_static_route(). I used these in my module. It took me a while to make it work.
Post Reply

Return to “Developers Discussion”