[PGtheme] incorrect AddToCart for album items in album.tpl?
febrile
Joined: 2006-01-13
Posts: 3 |
Posted: Wed, 2006-03-29 18:51 |
Using PGtheme V1.0RC7 My naive hack is to look around line 900 in album.tpl for Quote:
{if $theme.params.ItemsActions} and change `$theme.item.id` to `$child.id` in these links. This works for me, but as a newbie I can't claim it's the right/best way. |
|
Posts: 1023
febrile, found the error after installing the updated shopping-cart too.
I've changed the $theme.item.id to $child.id in the loop displaying the album items as you described - only the ones one the nav-top can stay untouched.
CU
Lutz
Gallery version = 2.1 core 1.1.0
PHP version = 5.1.1 apache2handler
Webserver = Apache/2.2.0 (Win32) DAV/2 PHP/5.1.2 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de