I can display a url variable within a page using the keyword: %globals_get_*%
My problem is i would like to use the url variable within a dynamic asset list, nested within the same page, this doesn't seem to be possible.
Is there any work around or reason for this?
[quote]I can display a url variable within a page using the keyword: %globals_get_*%
My problem is i would like to use the url variable within a dynamic asset list, nested within the same page, this doesn't seem to be possible.
Is there any work around or reason for this?[/quote]
The "Send the following additional GET variables to the asset" section must be configured in the Nested DIV (of the page in which the nesting is being made).
To send the GET variable "url", use "url" as the Variable Name and "%globals_get_url%" as the Variable Value. The value will be passed as a GET value to the nested listing.
This functionality is available in 3.18.x (currently referring to 3.18.11).
[quote]The "Send the following additional GET variables to the asset" section must be configured in the Nested DIV (of the page in which the nesting is being made).
To send the GET variable "url", use "url" as the Variable Name and "%globals_get_url%" as the Variable Value. The value will be passed as a GET value to the nested listing.
This functionality is available in 3.18.x (currently referring to 3.18.11).[/quote]
Thanks Mark. I got the variable to display in the within the asset list page content, but I would like to use the variable as part of a url string (asset list is hyperlinked), it still won't show if i use the "%globals_get_url% variable as a GET variable within asset list:
<A href="./?a=156945?id=%ds__id%&name=%globals_get_url%">%ds__title%</A>
[quote]Thanks Mark. I got the variable to display in the within the asset list page content, but I would like to use the variable as part of a url string (asset list is hyperlinked), it still won’t show if i use the “%globals_get_url% variable as a GET variable within asset list:
<A href=”./?a=156945?id=%ds__id%&name=%globals_get_url%">%ds__title%</A>[/quote]
What exactly prints there? Nothing at all?
Being part of a URL wont make a difference, the keywords are not affected.
Is it the same case as the bug below? ie not an actual query string, but a passed pseudo-Get variable?
http://bugs.matrix.squiz.net/view_bug.php?bug_id=3509
[quote]What exactly prints there? Nothing at all?
Being part of a URL wont make a difference, the keywords are not affected.
Is it the same case as the bug below? ie not an actual query string, but a passed pseudo-Get variable?
http://bugs.matrix.squiz.net/view_bug.php?bug_id=3509[/quote]
The issue is that the %globals_get_url% will print in the ‘Page Contents’ template but not the ‘Default Format’ template of an asset list. It just comes up blank. We’re on 3.18.6.
I cannot replicate that on 3.20.2, so I guess it was fixed at some point after your release. Best plan is to find out which bugfix it was and patch the system, or, better, to upgrade to the latest 3.18 release (or 3.20).
Justin
Bug #3243: "Global keywords in Asset Listing Page Contents (No Results) or Default Format don't print", is the closest match to the issue described however this is marked as being fixed in 3.18.6.