Inline Links & 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
tomgsd
Forum Members
Forum Members
Posts: 74
Joined: Tue Feb 12, 2008 10:00 am

Inline Links & Pretty URL's

Post by tomgsd »

Hi there,

I am creating a module that uses inline links which all works fine until I convert them to use pretty urls.  When using pretty urls the links replace the {content} tag instead.

Is it possible to keep the module inline when using pretty urls?
Green Sheep Design Ltd. - www.greensheep.co.uk
NaN

Re: Inline Links & Pretty URL's

Post by NaN »

This might due to the RegisterRoute() function in your module.php.
How do you register the pretty url in your SetParameters() function?
I did not care about pretty urls until the last days but it becomes more and more important (and looks nice).
I would take a look into the News.module.php of the news module to see how the pretty urls are registered there.
Post Reply

Return to “Developers Discussion”