MagnoliaTemplatingUtilities.createLink should have a version where you can 
supply a custom extension... or none at all
----------------------------------------------------------------------------------------------------------------------

                 Key: MAGNOLIA-3925
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3925
             Project: Magnolia
          Issue Type: Improvement
      Security Level: Public
    Affects Versions: 4.4.2
            Reporter: Will Scheidegger


mgnl.createLink() seems to be the proper way to add links to your template. 
Unfortunately when you need a link with a selector (e.g. 
/link/to/my/page.with.3.selectors.html), you're out of luck since createLink() 
always appends ".html" to the link. You would have to remove the extension, add 
the selectors and append the extension back to the link (= ugly hack). It would 
be better to have createLink methods where you can also provide the extension, 
or if set to null or "" no extension is added at all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to