uam
(Pw)
November 15, 2011, 2:35pm
1
I have Standard Pages with Paint Layout that adds some links.
So on "Page A" I have links that look like:
Add file
After successfully adding a file I want to return to URL of "Page A".
In my old solution I added "javascript:history.go(-2)" on Created screen, but it isn't a good solution (on builder problems).
nnhubbard
(Nic Hubbard)
November 15, 2011, 4:44pm
2
Could you just link back to Page A's asset id?
robin_shi
(Robin Shi)
November 16, 2011, 4:22am
3
<a href="[asset_builder_link]?src=%globals_asset_assetid%">Add file</a>
In the created page, link is <a href="%globals_get_src^as_asset:asset_url%">Back</a>
uam
(Pw)
November 16, 2011, 9:13pm
4
Nic - You were right, I just didn't know how to do it.
Robin - Your solution works like a charm, thanks!
nnhubbard
(Nic Hubbard)
November 16, 2011, 9:47pm
5
[quote]
Nic - You were right, I just didn't know how to do it.
Robin - Your solution works like a charm, thanks!
[/quote]
If you need to link back to a specific asset url just use:
%globals_asset_url:1234%
// 1234 is the asset id