Something I have always wondered "why" about is that when you do a normal ./?a=123 style of link a NOTICE link is created between the two assets. Which is VERY helpful.
However, when you use a %globals_asset_url:1234% style link there is no NOTICE link created. Personally I would expect one to be created so that we know everywhere on the site that a page is linked to, especially when deleting an asset.
I think because it was originally just available as a global keyword, so when they wrote the feature for being able to do %globals_asset_anything:1234%, asset_url became part of it automatically. I'm not sure why more people haven't been asking for it to create notice links though, maybe it has been discussed before and because it's coming from the %globals_ method makes it harder to manage that as NOTICE links?
I agree that it would be useful, but not sure how feasible, but maybe worth putting up an idea for it in Squizmap? Same argument could be made for other asset relations such as %globals_asset_contents:, %globals_asset_name: etc..
I agree that it would be useful, but not sure how feasible, but maybe worth putting up an idea for it in Squizmap? Same argument could be made for other asset relations such as %globals_asset_contents:, %globals_asset_name: etc..
Well, but if you are using the Safe Trash option it isn't as effective when the globals keyword links are used, since Matrix won't know about them.
I'm not sure about others... but I use this asset keyword replacement heaps for protocol neutral linking in my Design Parse files. Which is why it would be great to see NOTICE links for this global - cos otherwise you aren't sure if JS/CSS libraries for example are linked into your Designs.
On that, with JS and CSS I usually nest in a standard page into the <head> tag and print all my CSS and JS references using the ./?a= links in there. Keeps the Parse file clean and makes it easy to update your <head> content without running massive reparsings, also makes it safe editable.