Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2006
    Posts
    12
    Plugin Contributions
    0

    Default More Information Sidebox to appear only when logged in

    Hello,

    I would like the more_information sidebox to appear only when a customer has logged in. I have attempted the suggestion found at tutorial 279 but it doesn't seem to work.

    Perhaps I have chosen the wrong variable?
    I changed this:
    -----------------------------------------------------
    // test if box should display

    unset($more_information);
    ------------------------------------------------------
    to this:

    -------------------------------------------------------
    // test if box should display
    if (!$_SESSION['customer_id']) {
    $show_more_information= false;
    } else {
    $show_more_information= true;
    }


    Needless to say it doesn't work. The more information box appears whether logged on or not. Any help would be appreciated.

  2. #2
    Join Date
    Jan 2006
    Posts
    12
    Plugin Contributions
    0

    Default Re: More Information Sidebox to appear only when logged in

    Thanks all,
    I decided to use the blank_sidebox instead of the more_information sidebox.

    For reasons unknown the instructions found at tutorial 279 work perfectly for blank_sidebox . As I said earlier perhaps I had the variable wrong.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 20 Jun 2008, 03:09 PM
  2. log off link - how do I make it only appear when logged on?
    By gsdcypher in forum General Questions
    Replies: 23
    Last Post: 2 Apr 2008, 12:28 AM
  3. Favicon appears only when logged in.
    By saporta in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Dec 2007, 11:49 AM

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