Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Plain login and Registration

    True, CSS won't turn the processing of those elements off, but it can totally keep them from displaying. That is just as good unless you have a high-traffic site where processing milliseconds really matter.

    There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.
    Last edited by gjh42; 20 Jan 2010 at 09:03 PM.

  2. #2
    Join Date
    Jul 2004
    Posts
    11
    Plugin Contributions
    0

    Default Re: Plain login and Registration

    Quote Originally Posted by gjh42 View Post
    There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.
    this is what I was overlooking. This got me what where I needed to be, thank you.

  3. #3
    Join Date
    Jul 2004
    Posts
    11
    Plugin Contributions
    0

    Default Re: Plain login and Registration

    Quote Originally Posted by gjh42 View Post
    There is a simple method of coding to turn off sidebars, header, etc. on a particular page, described in the comments at the top of /includes/templates/template_default/common/tpl_main_page.php.
    Getting this done for the login page was simple with that info. BUT I'm not able to loose the sidebars with a specific category or product. There is 1 category for "free downloads" and I need the same simple look for ONLY that category and not the others.

    this didn't do it


    if ($current_page_base == 'index' and $cPath == '7' and $products_id == '39') {
    $flag_disable_right = true;
    }

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Plain login and Registration

    For that, try a per-category stylesheet.
    Make a file named c_##.css where ## is the category id, with this content:

    #navColumnTwo {display: none;}

    Save to /includes/templates/your_template/css/.
    Do the same with p_##.css if desired, for the product info page.

 

 

Similar Threads

  1. Automated facebook login and registration?
    By dogjumps in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 5 Oct 2013, 06:32 PM
  2. Login and Registration Forms Format?
    By designgoddess in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 6 May 2008, 11:11 PM
  3. Integrated Forum Login and Registration
    By andyr2005 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 16 Apr 2008, 11:44 AM
  4. How do I disable login and registration?
    By samantha birt in forum Managing Customers and Orders
    Replies: 6
    Last Post: 14 Nov 2007, 09:43 PM

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