We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1434
    • 23 Posts
    Hi, Im using the same resource to present a lot of differents database data, with a snippet I get neccesary data and then set placeholders in template. To get friendly urls Im using Rewrite in apache so an url like:

    /friendly/url/to/databaseregister/id/

    is transformed to:

    /modxresource.html?id

    until this all is ok, the problem become when I want to use others snippets like starRating, it use makeUrl to generate nessesary links but with the real resource url and not the original. There is any way to use the original url without having to hack each snippet I would like to use ? or will be neccesary to create a plugin attached on OnWebPagePrerender, can makeUrl function be redeclared without hacking core ?

    Any suggestion are welcome, thanks.