Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default A question about zen_back_link

    I have a page which can be accessed by clicking on a link while viewing a product.
    On the page I put a back button using zen_back_link. I was expecting zen_back_link would redirect me to the product page, not quite so. It sends me back to the index page instead. Weird.

    Amd I doing something wrong here?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: A question about zen_back_link

    That's a problem I've noticed for awhile but not sure where to correct the coding. Even with just the default "Back" code, on some pages it works properly and on some it doesn't. Doesn't seem to be any rhyme or reason to it.

  3. #3
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: A question about zen_back_link

    yeah, I even tried the set_snapshot to make sure the page is recorded, no luck so far. Maybe a developer can answer this.
    Last edited by yellow1912; 28 Jan 2008 at 12:04 AM.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  4. #4
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: A question about zen_back_link

    There is some information and a possible workaround in the following thread...
    http://www.zen-cart.com/forum/showthread.php?t=60902

    Regards,
    Christian.

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: A question about zen_back_link

    Thanks Christian,

    Tried to flip Admin->Configuration->Layout Settings->Skip 1-product categories from true to false, still the same behavior though. Weird.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: A question about zen_back_link

    I think you have to change...
    PHP Code:
         if (sizeof($_SESSION['navigation']->path)-0) { 
    ...to...
    PHP Code:
         if (sizeof($_SESSION['navigation']->path)->= 0) { 
    ...as well as switching off the skip 1-product categories.

    Regards,
    Christian.

  7. #7
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: A question about zen_back_link

    Doesnt seem to solve it.
    Another thing: if I set navigation snapshot on one page, then use zen_redirect to login page, the user will be redirected back to that page after logging in. If I leave a login link on the page for the user to click on, that does not happen though.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. v151 zen_back_link
    By Datax in forum Bug Reports
    Replies: 10
    Last Post: 17 Oct 2014, 05:12 PM
  2. v150 zen_back_link
    By lat9 in forum Bug Reports
    Replies: 1
    Last Post: 31 Mar 2012, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR