| Previous · Next | |
| User | Message |
|
elnino
|
Date: 12/5/2006 6:04 pm · Subject: macro for asset url? · Rating: 2
Hello. Is there a macro that will return the asseturl? I found AssetProxy and FileURL but they give me the actual URL, and I'd like to do the opposite. Looking at the source of FileURL, and trying to decipher the api doc, I'm unable to determine if there is a method to Asset that will give me what i'm looking for. Or is there documentation as to how the "realurl" is created so I can write a macro to decipher it? Thanks! LN --- (Edited on 12/ 5/2006 6:04 pm [GMT-0600] by elnino) --- |
| Back to Top |
Rate [ | ]
|
|
colink
|
Date: 12/5/2006 9:41 pm · Subject: Re: macro for asset url? · Rating: 4
Do you want to display the URL of the current page, the one the macro is contained in? If so, then try the ^PageUrl(); macro. If you want the URL of the Asset that the macro is immediately in, then try the Page macro and pass it the url param: ^Page(url); --- (Edited on 12/ 5/2006 9:54 pm [GMT-0600] by colink) --- |
| Back to Top |
Rate [ | ]
|