osCmax v2.5 User Manual
Results 1 to 3 of 3

Can I remove column_right.php from static pages?

This is a discussion on Can I remove column_right.php from static pages? within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi there, I would like to have the right hand column on most of the pages in my store but ...

      
  1. #1
    New Member
    Join Date
    Feb 2004
    Posts
    20
    Rep Power
    0


    Default Can I remove column_right.php from static pages?

    Hi there,

    I would like to have the right hand column on most of the pages in my store but not on some of the static pages. I have tried copying main_page.tpl.php and calling it something different, adding it to the filenames.php and changing the "requires" statement in the new main_page .php file to not have the column_right.php, then change the requires statement in the static page php file but this didn't work.

    Anybody any clues please?

    Thanks in advance
    Rob.

  2. #2
    New Member
    Join Date
    Feb 2004
    Posts
    20
    Rep Power
    0


    Default

    Sorted it out guys, keep up the good work!

  3. #3
    Active Member
    Join Date
    Jun 2004
    Location
    Glued to Computer Chair
    Posts
    108
    Rep Power
    0


    Default

    look at the way column_right.php controls which boxes are displayed...use this type of if/else in the main_page.php to tell it when to display and when not to the column_right.php depending on what you need on a page.
    True Meaning of Lost: Building a web site without knowledge or skill

    True Meaning of Crazy: Building a web site anyhow

    The Net Results: Never needing a comb again

    www.MakeMeThis.com

Similar Threads

  1. WYSIWYG Editor with New Static Pages
    By jbanda in forum osCmax v2 Customization/Mods
    Replies: 7
    Last Post: 06-26-2006, 09:04 AM
  2. Problem with column_right
    By amish_geek in forum osCmax v2 Installation issues
    Replies: 1
    Last Post: 07-20-2005, 12:34 AM
  3. Modifying Heading Title in Static Pages
    By jbanda in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 01-04-2005, 07:01 PM
  4. Modifying column_right.php
    By Lord in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 08-24-2004, 02:46 PM
  5. what pages does the static.tpl.php control?
    By Kristine in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-26-2004, 05:05 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
  •