[ansel] Patches for gallery image reordering

Heath S. Hendrickson heath at outerspaceconsultants.com
Sun Mar 21 23:41:21 PST 2004


Heath S. Hendrickson wrote:

> Attached are patches and new files to add gallery reording to Ansel.
>
> New Files:
>    reorder.php
>    templates/view/reorderHeader.inc
>
> Modified File:
>    templates/view/gallery.inc
>
> I implemented the gallery display ordering via the gallery.inc file.  
> It would have been major surgery to change the DataTree driver, and 
> this works well enough.  It's easy to remove once the DataTree driver 
> has been updated and tested.
>
> I also made it so that if an explicit order wasn't set for a gallery, 
> that it still functions as it has, meaning that there is no update to 
> the database necessary...
>
> Thanks,
> h
>
>------------------------------------------------------------------------
>
><?php
>/**
> * $Horde: ansel/view.php,v 1.43 2004/03/20 02:19:51 chuck Exp $
> *
> * Copyright 2001-2004 Chuck Hagenbuch <chuck at horde.org>
> *
>  
>

Oops, I forgot to update the header to the new file...  I used view.php 
as the template for creating the new reorder.php.

h


More information about the ansel mailing list