ar2ras
September 26, 2007, 9:02am
1
Hi everybody,
I want to have listed childs of some gallery in “desc” order. Because
last added gallery is the last one on the list. I tried:
<r:gallery:children:each order=“desc”>
but it didn’t work. Maybe there is some reorder function in gallery
extension??
ar2ras
September 26, 2007, 11:02am
2
On 9/26/07, Artur B. [email protected] wrote:
Hi everybody,
I want to have listed childs of some gallery in “desc” order. Because
last added gallery is the last one on the list. I tried:
<r:gallery:children:each order=“desc”>
I’ve just added the “by” and “order” attributes…try the latest
version…then you can try something like this:
<r:gallery:children:each order=“desc” by=“created_at”>
…let me know if it’s what you need
ar2ras
September 26, 2007, 2:41pm
3
I’ve ugraded to new version this extension and everything is fine ;).
Thanks a lot.
ar2ras
September 29, 2007, 7:22pm
4
Maybe I don’t understand the problem.
I created a page with this code:
<r:gallery:if_index>
<r:gallery id=“14”>
<r:gallery:name />
<r:gallery:children:each>
- <r:gallery:link />
</r:gallery:children:each>
</r:gallery>
</r:gallery:if_index>
<r:gallery:unless_index>
<r:gallery:name />
</r:gallery:unless_index>
When I click on a link I see the name of the gallery I choosed.
Is it what you need?
ar2ras
September 29, 2007, 2:28pm
5
Instead of starting new topic I want to ask question. This is peace of
code:
<r:gallery:if_index>
<r:gallery id=“14”>
<r:gallery:name />
<r:gallery:children:each>
<r:gallery:link>
</r:gallery:children:each>
<r:gallery>
</r:gallery:if_index>
The problem is that I cannot retrieve link to children galleries
("<r:gallery:link>"–>this line). This link is going to the gallery
found through <r:gallery id=“14”>.
ar2ras
September 30, 2007, 10:40am
6
Sorry, It was my crap mistake :(.
Everything is ok now. Thanks one more time for patient ;).
ar2ras
September 30, 2007, 3:04pm
7
On 9/30/07, Artur B. [email protected] wrote:
Sorry, It was my crap mistake :(.
Everything is ok now. Thanks one more time for patient ;).
You are welcome…and ask again if you have problems