Response to the original question (sorry, no time to read the whole thread):
${state.originalBrowserURL} -> returns the URL in the browser (as its name says)
Encode the url using the following:
[code][#setting url_escaping_charset="ISO-8859-1"]
[#assign urlEncodedPageLinked = "${state.originalBrowserURL!}"?url]
[#-- Then use for a twitter button for instance --]
<a href="https://twitter.com/share?url=${urlEncodedPageLinked}&text=some text"
target="_blank" class="icon-twitter">Twitt this now!</a>[/code]
More interesting stuff in the API
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.8/apidocs/info/magnolia/cms/core/AggregationState.html
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=cb22915f-febe-4f64-84fb-1c26f2e799e2
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------