[SVN 2.2] New module - "Keyalbum"

LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-08-02 07:12

Just found the new "keyalbum" module been activated after my last SVN update.
With a little search, I finally found a way to use it after realizing I had to activate the URL rewrite rule "key/%keyword".

Is there no other way to get these virtual albums more elegant? Having a "Key Album" in the actions to enter a keyword into a form instead of the URL directly?

Did I miss something? (Is it due to PGtheme not updated for the virtual albums?)

Thanks,
Lutz

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2006-08-02 10:12

It's the first iteration of it, I'm sure it'll be expanded before the 2.2 release goes final. Hold on. :)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Wed, 2006-08-02 13:13

;) ... the glory of living at the edge ...

Just trying to update PGtheme to support these dynamic links... Got some problems implementing the changes to the matrix theme analogeous into the PGtheme. My current issue is when declaring the the "linkURL" in album.tpl as in matrix

{capture assign=linkUrl}{g->url params=$theme.pageUrl arg1="itemId=`$child.id`"}{/capture}

, and putting this into the href-call like

  {elseif isset($child.thumbnail)}
     <a onmouseover="pic{$nome}.className='%CLASS% giThumbnail opacity{$Tover}'" onmouseout="pic{$nome}.className='%CLASS% giThumbnail opacity{$Toff}'"
       href="$linkURL">
       {g->image item=$child image=$child.thumbnail class="giThumbnail opacity`$Toff`" name="pic$nome"}
     </a>
  {else}

the links are simply stuck to the Gallery root ... sigh. Looks like some busy nights are coming ...

Do you know whom could I ask i.e. on the Dev-IRC for some hints? Do I start at the wrong end?

;)
Lutz

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2006-08-02 13:54

Drop by #gallery on freenode.net and ask Mindless. He's the developer of it :)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-08-03 06:55

found it ... the PGtheme is really horribly nested with if, else and elseif statements - the linkURL was never built when I put at the same place as in the Matrix theme, had to add an additional check directly before showing the thumbs - Virtual Albums look perfect in PGtheme, too (I upload the three necessary patchfiles to the 3rd Party Module Thread...)
Great,
Lutz

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-08-03 07:14

:) having it now up an' running even with PGtheme, I already know the next feature requests ...

... bulk-editing of keywords
... extension to ratings (show all 5-star items)
:)

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2006-08-03 07:34

Try the bulk captions editor, it has the keywords field as well (I had the same question when I tested it)

As for ratings, thats a good feature request! Please file an RFE on http://sf.net/projects/gallery


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-08-03 07:44

;) thanks for the hint
RFE is filed...

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
LFrank

Joined: 2005-02-19
Posts: 1023
Posted: Sat, 2006-08-05 10:34

and already implemented - looks great. I missed a long time not being able to see what was rated ...

Gallery version = 2.2-svn core 1.1.14
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.3 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.22-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Sat, 2006-08-05 15:16

Yeah, the team moved quickly this time. ;-)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
james789

Joined: 2005-11-10
Posts: 96
Posted: Sat, 2006-11-11 10:14
LFrank wrote:
Is there no other way to get these virtual albums more elegant? Having a "Key Album" in the actions to enter a keyword into a form instead of the URL directly?

I've trawled a few threads trying to find an answer to this one, but wondered if anyone else has asked the same question, and whether there is any solution? It wouldn't matter to me whether it was within within the module itself, or perhaps a few lines of php to insert into a theme? I can have a stab at the latter, but don't want to re-invent the wheel.

Thanks, James

 
james789

Joined: 2005-11-10
Posts: 96
Posted: Wed, 2006-12-27 16:59

Bump :)

Does anyone know of any implementation of a form interface where a user enters a keyword in a text filed and it takes them to a keyword album?