Tags stop working in Gray Dragon after activating basket module
|
wwz
Joined: 2011-11-05
Posts: 12 |
Posted: Sun, 2011-11-20 23:21
|
|||||
|
G3 3.0.2 Tags work fine on default wind theme and tags work also on Gray Dragon before Basket is activated. clicking tag got a blank page after I installed and activated Basket module. Here are the screenshots before and after. Please help.
|
||||||

Posts: 5
EDIT:
OK it needs a few steps more to solve this...
This is caused by basked-side-bar.html.php
Problems in this one:
- If Foto is not for sale, etc, a blank Basket will be shown in the sidebar
- When opening the All Tags Module link in the Main Menu, you will have an empty gallery page
- When opening any other module which displays data, empty gallery page will be shown
- If you have deleted a Photo from the Basket, it will shown you a blank Basket
I solved this like this and it works fine except for the last point above. There were too much changes to keep it in the (nasty) shortopentags PHP-Style so i rewrote the basket-side-bar.html.php
Explanation:
For example, inside the All-Tags Module Page, $theme->item()->is_photo() is NOT present, along with other relevant methods and propertys, thus trying to call will throw an 500 Server Error.
Empty Basket Sidebar Block will be displayed because there is no defined Output Message in the php-file. So it will just output nothing
If you delete a foto from the basket, the class methods responsible for the correct recognition of the basket content will not correctly return this value OR it is not deleted correctly from the session variables. I have no fix for this atm, but will post it if i found a solution.
NOTE: This is tested only with the current GD Theme, Basket, All-Tags and Tag-Albums.
Greetings
Nick
Posts: 16
Thank you so much for this Nick. I've been trying to find a solution for months and just stumbled across this now.
Posts: 205
Does this edit still need to be done, or does the new basket files rWatcher fixed take this into account?
===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 235
Photos: 75002
Posts: 205
It is in the new version.
===========================
Version: 3.0.4 (Ricochet)
Operating system: Linux 2.6.18-194.11.4.el5
Apache/2.2.21
PHP: 5.3.8
MySQL: 5.0.95
Clean Canvas theme
Graphics Toolkit = ImageMagick
Albums: 235
Photos: 75002