Login  Register

Re: Sort photos on gallery application

Posted by jsmoraes on Nov 03, 2013; 5:23pm
URL: https://support.nabble.com/Sort-photos-on-gallery-application-question-SOLVED-tp7587650p7587683.html

Well every problem has a solution. When something has no solution... it is not a problem.

I found a wall. A Berlin wall. Or if you prefer a Nabble binary code. With no access.

At the last macro called we have:

<macro name="topics_list" parameters="start,length,filter,sort" dot_parameter="do" requires="node">
    <n.topics_list_standard start="[n.start/]" length="[n.length/]" filter="[n.filter/]" sort="[n.sort/]" do="[n.do/]" />
</macro>

If I override as:

<override_macro name="topics_list" parameters="start,length,filter,sort" dot_parameter="do" requires="node">
    <n.topics_list_standard start="[n.start/]" length="[n.length/]" filter="[n.filter/]" sort="pinned-and-root-node-date" do="[n.do/]" />
</override_macro>

It works normally.

if you change the sort argument to last-node-date, it works, too. But any other sentence... it doesn't work.

As this information go to a binary code ... without a list of arguments permited ... crash on a wall: NAML exception in customized site: 'sort' attribute not set !

So the solution to my problem is more easy than I thought !

First I haven't a problem. I have a desire.

Second, to satisfy what I desire, I need to think and work less as Homo-Sapiens and more as Neandethals: pin the topic-photos and organize them.

NAML is a good way to organize HTML lines. But it is a private code, too.
You can do many things. But... only many things... not all !
Observatório de Astronomia de Vilatur - W. Herschel
Saquarema - RJ - Brasil
http://www.astronomia.pousadavilatur.com.br