Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Overide an Admin Setting in a Loop?

Quote Reply
Overide an Admin Setting in a Loop?
Is it possible to override the admin setting "build_cool_gb" within a page level loop?


<%loop link_results_loop~%>
-- something like <%set $gb = 0%> ??? --
<%~endloop%>

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Overide an Admin Setting in a Loop? In reply to
No, by the time it gets to the template, all the queries have been executed.

Adrian
Quote Reply
Re: [brewt] Overide an Admin Setting in a Loop? In reply to
Thanks Adrian,

On a related note, what are Cool links being soted by when using "build_cool_gb": "Yes" as whatever you put in "build_sort_order_cool" is being ignored.

~ ERASER


Free JavaScripts @ Insight Eye
Quote Reply
Re: [Eraser] Overide an Admin Setting in a Loop? In reply to
The grouping is done afterwards, so the records are fetched using the build_sort_order_cool setting, and those results on that page are then grouped. So results within the same category should be sorted by whatever you have set in the build_sort_order_cool setting.

Adrian