[title] new module - dynamic albums based on item title

alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-06-05 01:27

The module 'title' is now in the repository (should be available for download in a few hours) which provides two dynamic album views, one showing items whose titles begin with a given character string, and the other showing items whose titles contain a given character string.

Syntax is as follows:

...main.php?g2_view=title.Begin&g2_chars=xxx

and:

...main.php?g2_view=title.Contain&g2_chars=xxx

Both views are limited to the first 100 items, if there are more than this.

There are also two shortforms for the urlrewrite module:

/contain/xxx

and:

/begin/xxx

There are (so far) two blocks - one is a javascript-enabled search box, the other a list of initial letters A-Z. Try them out.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-06-06 07:46

alecmyers,
Thanks for your continued contributions!

I have created the start of a codex page:
http://codex.gallery2.org/Gallery2:Modules:title
please feel free to add / edit as required.

Remember users:
the codex page(s) is for users by users. So if you feel like contributing, this is the way to do so.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team