Click to go to USFreeAds' website
About
This website is all about strategies to help you grow your niche store empire. I have many Build A Niche Store sites and use the strategies that I share here.
Newsletter
Subscribe to my posts and get all of the latest tips and strategies sent directly to your email!
Delivered by FeedBurner
RSS Feed
Get the most recent posts and comments sent to you directly by subscribing to my RSS feeds!
Subscribe to RSS! Subscribe to RSS Comments!

Jun
11

How to remove the ‘Contact Us’ link from sidebar and add it to the footer

RochelleHow To...

Adding a ‘contact us’ page to a site will add value by making it look more professional. Some people won’t visit a site if there is no way to contact the site’s owner. And, I can’t remember where I read this, but it is thought that Google shows a bit more love to sites that have ‘contact us’ links or pages on them.

Previously I wrote about how to add a ‘contact us’ form using the excellent mod created by BANS forum member, mistermickster. But, as was commented on quite a bit, there was no way to move the link out of the sidebar menu. If you didn’t like it there, too bad.

Well, along came Holly who kindly took the time to figure out how to hide this page and move it to the footer. Holly, thank you for sharing how to do this :)

These instructions are only for those who have already added the ‘contact us’ mod.

 

My instructions to remove the ‘Contact Us’ form from your sidebar menu and add it to your footer:

Step One
  Go to the .FrontControl.php file (click here if you don’t know how to do this) for your site.
   
  Save a copy of the original code (click here for instructions on how to do this).
   
  Search for the code from contactus01.htm and replace this code with the contents of contactus03.txt.
   
  Save changes and view site for errors. At this point you should no longer see the link to your ‘contact us’ page.
Step Two
  Log in to your site’s Admin and click on the ‘Template‘ tab and ‘footer.php‘ link for the template you are using.
   
  Save a copy of the original code.
   
  Search for the line of copyright code. If you are using BANS version 1 or 2 then there will be little more than ‘Copyright‘ and a date.
  Copyright © 2008 </p>
   
  If you are using BANS version 3 or higher then your copyright code will look something like:
  Copyright © <?php echo date("Y");?> <a href="<?php print URL_PATH."/";?>"> <?php print SITENAME."";?></a><?=$front->powered();?>
  Note: Your code may not look exactly like the above examples, as you may have modified it at some point.
   
  Copy the contents of contactus04.htm and paste it AFTER your copyright code.
  Note: Change URL.com to your site’s URL.
   
  Save changes and view site for errors.
.

You should now be able to see the link to your ‘contact us’ page in your footer. Click it to make sure it works.

If you wish to add other links to your footer you can add as many links as you want to the code found in contactus04.htm. You might want to separate them with the line at the beginning of this code (sorry, I don’t know what it is called). If you are adding links to pages that are currently found in your sidebar, such as your sitemap or privacy policy, you can hide the pages in your site’s Admin and have them show up only in your footer.

Rochelle

Related Posts:

  • How to Add a ‘Contact Us’ Form to Your Site and Display the Link in Your Footer
  • How to Hide Pages and Add Them to Your Site’s Footer
  • How to Move a Sidebar Menu From One Side of Your Site to the Other Side
  • How to Add a ‘Contact Us’ Form to Your Site
  • How to Add External Links to Your Site’s Sidebar
  • How to Add External Links Alphabetically to Your Site’s Sidebar
  • Colors for Footer
  • How to Add Permalinks (or Link-Backs or Trackbacks) to your Site
  • How to Add Images to Sidebar Menus and Auction Results
  • Colors for Sidebar
  • RSS feed | Trackback URI

    14 Comments »

    Comment by Mistermickster
    2008-06-11 17:06:48

    Hi Rochelle,

    You only had to ask and I would have told you sooner. :P

    Comment by Rochelle
    2008-06-11 17:24:13

    Lesson learned!

     
     
    Comment by Mike
    2008-06-11 23:27:04

    Hi Rochelle,

    What if you haven’t done the mod yet? Is there an easy way of adding this without doing the mod first?

    Thanks,
    Mike

    Comment by Mistermickster
    2008-06-12 04:52:03

    Hi Mike,

    Follow the instructions to add a contact us form but ignore step three.

    Then come back here and go straight to step two. Although you might want to add the following code instead of the contents of contactus04.htm <a href="">Contact Us,

    Cheers,
    Mick

     
    Comment by Mistermickster
    2008-06-12 05:02:23

    Sorry Mike,

    That didn’t come out correct, I tried using the code tag but it hasn’t worked.

    Replace http://URL.com with

    Cheers,
    Mick

     
     
    Comment by Mistermickster
    2008-06-12 05:07:04

    That hasn’t worked again Mike.

    Let me have your email address and I’ll email you the code required.

    Cheers,
    Mick

     
    Comment by Mike
    2008-06-12 07:43:58

    Hi Mick,

    Thanks for your help on this. I sent my email address to your contact page.

    Mike

    Comment by Mistermickster
    2008-06-12 09:21:22

    Hi Mike,

    Unfortunately I haven’t received it, I think there is a problem with the sendmail function at my hosts.

    Please send it again to the contact page on the current link.

    Cheers,
    Mick

    Comment by Mike
    2008-06-13 22:06:14

    Hello Again Mick,

    I emailed you again through your link. Sorry for the delay, but I just checked back in and saw your message.
    Mike

    (Comments wont nest below this level)
     
     
     
    Comment by syns0r
    2008-06-12 10:10:24

    So much for that vacation away from the computer, eh Rochelle? =)

    Comment by Rochelle
    2008-06-12 10:15:37

    It’s all because my illness turned into pneumonia and I can’t go out and have fun with my family :(

     
     
    Comment by Sherrin
    2008-06-13 08:44:55

    Thanks Rochelle - very easy to follow instructions, as always.

    Sherrin

    Sherrins last blog post..Recommended BANS Blogs

     
    Comment by Shawn Subscribed to comments via email
    2008-08-08 15:21:16

    Ah, here is an instance in which I would like to automate this process. What I would like to do is have this mod built into my raw-bans files and make use of something like the “SITENAME” code built into the (<”a href”…) code so that whatever domain name I use, the “Contact Us” link is automatically updated when I add the domain name to the setup page within BANS.

    Does anyone know what code to use to make this happen?

    -S

    Comment by Rochelle
    2008-08-08 16:00:05

    Ok, now I get what you want to do. That is something I never even considered. Good question! Unfortunately, I do not know of a way to automate the site name.

    If you do find a way to do this please share. Also, if you have not already done so, try posting this question in the BANS forum. Someone there might know how to do this.

    Rochelle

     
     
    Name (required)
    E-mail (required - never shown publicly)
    URI
    Subscribe to comments via email
    Your Comment (smaller size | larger size)
    You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.

    Trackback responses to this post