G'day,
Using Matrix 4.18.4, if we have the following two links in a design file:
<a href="./?a=12345">Science</a> <a href="%globals_asset_url:12345%">Science</a>
Then the output is the same:
<a href="http://site.aad.gov.au/science">Science</a> <a href="http://site.aad.gov.au/science">Science</a>
If the user viewing the page doesn't have permissions to view asset id 12345 (e.g if its status is set to 'under construction') then the output is:
<a href="http://site.aad.gov.au/science">Science</a> <a href="">Science</a>
Is this difference a bug or a feature of the system?
Is there any reason to prefer the use of the globals keyword replacement or the ?a=12345 style of links in design files? Is one way more recommended than the other?
Thanks,
Warwick