Empty 'Favorites' displays 'info' screen instead of an empty favorites folder Empty 'Favorites' displays 'info' screen instead of an empty favorites folder
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Empty 'Favorites' displays 'info' screen instead of an empty favorites folder

Started by rivers, December 22, 2007, 02:57:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rivers

I'm not sure if this is expected behaviour or if I have an error somewhere in my code/theme.

Here is typical behaviour:

1. My Favorites is empty (nothing in cookie).

2. Go to "My Favorites" page and title area displays "MY FAVORITES" and "Download as Zip file".  Thumbnail area displays "No image to display".

So far this is what I expect.  Now I try this:

1. Add one image to my favorites.

2. Go to "My Favorites" page and title area displays "MY FAVORITES",  "Download as Zip file", and thumbnail area displays the image thumbnail.

3. I click on the image thumbnail from within My Favarites to display the image.


So far so good.  Here's the problem:

4. Click on "Remove from My Favorites". (Now there are NO images in favorites/cookie).

5. Screen title area displays "Information" and in thumbnail area "No Image to Display".



Why does it not return to the "My Favorites" page?  Can I modify this behaviour somehow?


Thanks for any help.

rivers


Just to clarify, the location for the favorites folder is:

thumbnails.php?album=favpics



while this "Information" page which appears is located at:

displayimage.php?album=favpics&cat=0&pos=0




Thanks again.