Re: Problem with sub-galleries and XP-publishing???

Ben Chavet <[email protected]>
Newsgroups gmane.comp.horde.ansel
Message-ID <[email protected]>
I think I just nailed this.  Check what I just commited.

listShares() sorted the shares in the natural tree order, but then 
listGalleries
screwed that all up.  All I had to do was check if we were getting one 
level of
the tree or multiple levels & then skip the sorting if we were grabbing 
a tree.

--Ben

Quoting "Heath S. Hendrickson" <[email protected]>:

> Just to be clear, the indenting was working for me prior to my patch...
> it was the fact that they were showing up not in the parent->child order
> that prompted me to add the full lineage to the dropdown.
>
> The indenting is working now as well, but the ordering of the galleries
> is still not right.  If you want to try and recreate the problem, create
> a sub-gallery of an existing gallery that isn't the last gallery
> defined.  Then use XP Publishing and see if the order is all out of
> whack.   This is using the latest version in CVS obtained via rsync
> (v1.10 of list.inc).  I'm not really sure where it's going wrong, but
> I'll see if I can figure out a patch to fix it (at least for me).
>
> h
>
> Ben Chavet wrote:
>
>> Ah, that makes sense :)
>>
>> I committed a slight variation (indented instead of parent:child), thanks!
>>
>> --Ben
>>
>> Quoting "Heath S. Hendrickson" <[email protected]>:
>>
>>> The problem wasn't so much one of looks as it was ordering.  For
>>> whatever reason on my system the galleries aren't shown in the proper
>>> parent->child order...
>>>
>>> Here's a screenshot of what I was looking at:
>>>
>>> http://www.outerspaceconsultants.com/Files/xppub.jpg
>>>
>>> The correct relationship for the galleries is:
>>>
>>> Collection
>>> Anna's Galleries
>>>     -> Winter 2003
>>>     -> Thanksgiving 2003
>>>     -> Picture of the Day
>>> PrivateGalleries
>>>     ->Laetitia Casta
>>>     ->Foxes
>>>


-- 
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.