Is it possible to wrap global print variabls in a mysource_area tag so that I can hide and print them in specific customizations?
I would like to be using the global asset name tag in my parse file, but only want it for specific customizations. I know I could use the actual %asset_name% keyword in the page body copies of all the pages I want the title on, but I don't want to paste that into all the body copies. And I don't think I would want to use a paint layout for this....
I've done that before, but used CSS to hide content (display:none) which worked very well. It was alot easier than using a customisation or adding mysource codes. Good luck.
The problem with this method is that it only works with visual/sighted browsers. A lot of braille/voice browsers will still read content that has been "hidden" with display: none. It is always best to remove all unnecessary content from the output completely.
I usually use an asset_lineage area for this. You do have to provide a design_area type, but you don't have to provide any actual settings for the design_area itself.