Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2009
    Location
    Tokyo, Japan
    Posts
    51
    Plugin Contributions
    0

    Default Need sidebox to appear on 1 page only

    Hi folks

    Just need some programming advice.

    I'm adding a custom sidebox to my "billing" page (to include payment FAQ).

    I downloaded the kuroi's "blank sidebox plugin" from the addons page, and have modified it with the advice from here.

    However, I'm not entirely sure what the code should look like in terms of replacing the link. The tutorials code looks like:

    Code:
    if ($this_is_home_page) {
    the link on my billing page (where I want the sidebox to appear) looks like:

    Code:
    ..../index.php?main_page=no_account
    ...due to using Numinix's Fast and Easy Checkout plugin, set to COWOA.

    I tried changing the code to:

    Code:
    if ($no_account) {
    ...but that didn't seem to do much (the sidebar isn't even showing at the moment).

    I presume it's something incredibly simple - someone care to help?!


    I'd really appreciate it!

    Regards,

    Seven

  2. #2
    Join Date
    Oct 2009
    Location
    Tokyo, Japan
    Posts
    51
    Plugin Contributions
    0

    Default Re: Need sidebox to appear on 1 page only

    I'll answer my own question. This works for me, not sure if it's the correct way to do things (not a programmer), but I'm happy....

    Code:
      if (in_array($current_page_base,explode(",",'no_account')) ) {
        $show_billing_questions = true;
      } else {
        $show_billing_questions = false;
      }
    If anyone else is looking for a solution, there it is.

 

 

Similar Threads

  1. Additional Sidebox Only to Appear in current_category_id
    By limelites in forum Addon Sideboxes
    Replies: 11
    Last Post: 22 Feb 2009, 10:37 PM
  2. EZ Pages sidebox appear in only specific category id's?
    By HTsean in forum General Questions
    Replies: 1
    Last Post: 14 May 2008, 03:19 PM
  3. I need to have a particular sidebox only show on one EZ page.
    By tolefairy in forum General Questions
    Replies: 0
    Last Post: 20 Jan 2008, 07:20 AM
  4. More Information Sidebox to appear only when logged in
    By mathgyrl in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Jan 2008, 08:25 PM
  5. Need to turn off 1 sidebox only, 1 page
    By GrandmaJ in forum Basic Configuration
    Replies: 7
    Last Post: 18 Jun 2007, 06:15 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