Dynamic Routes

Present your own plugin, team development, ...

Dynamic Routes

Postby satsume » Tue Apr 17, 2012 9:34 pm

I made this plugin because my client kept changing the news page url causing some grievance ;)

Instead of using hardcoded links, this allows you to set a parent document OR all documents with the specified module / controller /action assigned.

It's url will be used as prefix to the pattern; [document->getFullPath()]/[pattern].

Besides that it works exactly like static routing.

Remember that, when using a controller and action to set the parent document, the reverse url will be that of the last document with that controller and action in the navigation tree.
satsume
 
Posts: 14
Joined: Sat Apr 07, 2012 10:45 am

Return to General Extension Discussions

Who is online

Users browsing this forum: No registered users and 1 guest