Skip to content

This extra allows you to define custom alias or URI patterns for your resources. It supports translit and Redirector packages. You can build your patterns from resource fields, TV, snippets and output filters and set some constraints like you'd do with custom forms. Usefull when you want to add id or published date to your URLs.

Notifications You must be signed in to change notification settings

benjamin-vauchel/CustomUrls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomUrls Extra for MODx Revolution

Author: Benjamin Vauchel contact@omycode.fr

This extra allows you to define custom alias or URI patterns for your resources. It supports translit and Redirector packages. You can build your patterns from resource fields, TV, snippets and output filters and set some constraints like you'd do with custom forms. Usefull when you want to add id or published date to your URLs.

Examples of URL patterns :

[[+alias]] some-text-before-[[+alias]] [[+id]]-[[+alias]] [[+publishedon:strtotime:date=%Y-%m-%d]]/[[+id]]-[[+alias]] [[+tv.mytv]]-[[+id]] [[MySnippet? &id=[[+id]]]]

Documentation: http://rtfm.modx.com/display/ADDON/CustomUrls Bugs and Feature Requests: https://github.com/omycode/customurls

About

This extra allows you to define custom alias or URI patterns for your resources. It supports translit and Redirector packages. You can build your patterns from resource fields, TV, snippets and output filters and set some constraints like you'd do with custom forms. Usefull when you want to add id or published date to your URLs.

Resources

Stars

Watchers

Forks

Packages