Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Posts
    62
    Plugin Contributions
    0

    Default Only show sidebox on ez-page #x

    Hi!

    Im trying to add an if-statement so that my sidebox only appears on say ez-page id#2.
    This is all I could find after searching both the forum and wiki..
    if ($current_page_base == 'index' and $cPath == '') {
    That dosn't help though, for obvious reasons.
    What would be the correct code to indentify if it's ez-page #2?

    Sincerly,
    /Per

  2. #2
    Join Date
    Oct 2006
    Posts
    62
    Plugin Contributions
    0

    Default Re: Only show sidebox on ez-page #x

    if ($_SERVER['QUERY_STRING'] == "main_page=page&id=12")
    Did the trick.

    /Per

 

 

Similar Threads

  1. How to show a custom sidebox only on my home page?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Dec 2009, 08:43 AM
  2. How to add a google ads Sidebox only show product info page?
    By jinshibang in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Apr 2008, 08:23 AM
  3. How to add a google ads Sidebox only show product info page?
    By jinshibang in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Apr 2008, 11:07 PM
  4. I need to have a particular sidebox only show on one EZ page.
    By tolefairy in forum Basic Configuration
    Replies: 7
    Last Post: 21 Jan 2008, 08:22 AM
  5. 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

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