Hi,
Is there a keyword replacement for asset ID?
We’d like to place a short version of each page’s URL in the footer:
http://www.domain.com/?a=%asset_id%
But I can’t find anything for a keyword replacement for asset ID in the manuals. Any other way to achieve this?
Thanks,
Sarah
The keyword you're looking for is %asset_assetid% - however this might be better done in the design than in each page (using some sort of MySource_PRINT or something - someone else may be better equipped to answer you at the moment). 
Great thanks I have it working in the design:
Location: ">http://www.domain.com/?a=
I highly recommend you do not use the ./?a=XX style links publically – these are ultimate failover links and should not be used in normal operation.
Matrix selects the correct design to use based on the URL. If you specify an asset by using ?a=XX, Matrix cannot determine which design you want applied and so will do the best it can. There is no guarantee that an asset which is linked in several places will get the right design with this method.
Rather, if you want short URLs, I recommend you create entries in the Remap Manager and record the short URL as a metadata entry. Then, print that metadata entry as the Short URL.
We also have a "Last updated" date in our footer. The code:
Last updated:
But the date and time displayed in the footer is always the current date and time i.e. when the page was loaded - not when the page was last modified either in the admin interface or via simple edit.
What can I do so it is the last time it was actually modified?
Thanks
Can you share the <mysource_area> block for that tag? That's just printing the value.
[quote]Can you share the <mysource_area> block for that tag? That’s just printing the value.
[right][post=“10249”]<{POST_SNAPBACK}>[/post][/right][/quote]
Sorry I really think I should just go home and start the weekend early - datetime was set to “now” - changed to “updated”.
[quote]Sorry I really think I should just go home and start the weekend early - datetime was set to “now” - changed to “updated”.
[right][post=“10253”]<{POST_SNAPBACK}>[/post][/right][/quote]
