Results 1 to 6 of 6
  1. #1

    Default Removing the repeat footer

    Well, here's another one today (I've been busy):

    Where can I remove that repeat header which is actually the footer. I hope that makes sense. I just want to remove the footer.

    You can see what I mean at http://www.historicalpreservation.org/historywiki

    It is the redish footer that says "Historic Ohio"

    many thanks again.

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Removing the repeat footer

    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    	margin: 0px;
    	background-color: #d5c59b;
    	background-image: url(http://www.historicalpreservation.org/historywiki/includes/templates/classic/images/mag_header.gif);
    	padding: 0px 0px;
    	font-weight: bold;
    	color: #d5c59b;
    	height: 90px;
    	}
    Remove the part in red
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3

    Default Re: Removing the repeat footer

    Very cool. Worked like a charm but a small problem. It also took my sidebox headers with it. That is fine because I didn't care much for the background however where can I insert a background color for those sidebox headers?

  4. #4
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    help question Removing the repeat footer

    I also want to remove footer section in all pages exept home, and about us pages. Would you mind please what codes have to change?

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

    Default Re: Removing the repeat footer

    To show or not show something on certain pages, edit your /includes/templates/your_template/common/tpl_main_page.php.
    Around line 40, find
    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if (in_array($current_page_base,explode(",",'list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_right true;
      } 
    If you want to disable the footer on all pages except home and about us, you could turn it around like this:
    PHP Code:
    // the following IF statement can be duplicated/modified as needed to set additional flags
      
    if (!in_array($current_page_base,explode(",",'home,about_us,list_pages_to_skip_all_right_sideboxes_on_here,separated_by_commas,and_no_spaces')) ) {
        
    $flag_disable_footer true;
      } 
    The ! before in_array means "not".
    To get the exact names to enter in the list, go to the page in question and look in the address bar at the top of the page for main_page=.

  6. #6
    Join Date
    Aug 2006
    Location
    ulaanbaatar
    Posts
    94
    Plugin Contributions
    0

    Default Re: Removing the repeat footer

    Thank you buddy for your response.
    I tried this code but no results. First, disappeared in all pages my footer, after some attemp, there is no change from the original, means this code isn't affecting to the view. I'm a bit surprising with it.

 

 

Similar Threads

  1. v138a How to repeat the background on site?
    By navido in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Aug 2012, 04:29 PM
  2. v150 Removing text from the footer
    By kelleymotorsports in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 Jul 2012, 06:49 PM
  3. Removing footer from template (not the usual).
    By xt0rt in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jun 2011, 10:32 PM
  4. Why does the catagory repeat itself?
    By LilleyPadGifts in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 31 Jan 2007, 03:46 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