Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    help question Adding Google AdSense Search Box to column

    I hope I'm in the right place to ask this, if not, I apologize.
    My site is :

    www.lilleypadgifts.com

    I would like to add the code for the Google AdSense Search box on the right side below the Information box...but its been awhile since I made this site and a lot has happened so I am at a loss on where to add this. I'm several weeks behind in adding it and very pressed for time. I'm hoping someone can just point me in the right direction as to where this code should go and is it possible to add a totally new box?

    Thanks so much and Happy Holidays to everyone ~

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Adding Google AdSense Search Box to column

    Happy Holidays to you too!

    First, go into the folders in the mod and every folder named indigo, rename it to your template name.

    This is assuming you used the template override system.

    Then you simply upload the includes folder to your stores main folder.

  3. #3
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Adding Google AdSense Search Box to column

    Why does a comic book with a cover price of $1.50 sell for 50 cents?

  4. #4
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Adding Google AdSense Search Box to column

    Because it has no real value, or basically hasn't gained any value. I bought in a lot so I can sell for way below cover price just to get those kinds out of storage. There used to be $0.25 bins as well, but I hear they have all been raised to $0.50-ers now .

    Thanks!

  5. #5
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Adding Google AdSense Search Box to column

    Wow!

    I never thought of comic books decreasing in value. Learn sumtun new every day.

    Thanks!

  6. #6
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    550
    Plugin Contributions
    0

    Default Re: Adding Google AdSense Search Box to column

    Well, I found the contribution for Google Adsense, and it works, BUT... its too wide for my column (as you can see from my site www.lilleypadgifts.com) . I can't seem to figure out how to make it fit so that my site looks "normal" again. Would it be complicated to add that Google Adsense Search to my header? and if its not too too bad, HOW???

    Thanks so much ~

  7. #7
    Join Date
    Feb 2009
    Posts
    79
    Plugin Contributions
    1

    help question Re: Adding Google AdSense Search Box to column

    I'm having a problem with the code for the Google Adsense Search Sidebox.
    In the README-INSTALL.txt, it says:
    EDIT includes/templates/YOUR_TEMPLATE/sideboxes/tpl_google_adsense_search.php
    with your code from google.

    $content .= 'PUT HERE YOUR JAVASCRIPT FOR GOOGLE ADSENSE SEARCH';

    replace the following lines:

    <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input>
    </td></tr>
    <tr>
    <td>&nbsp;</td>
    <td nowrap="nowrap">
    <table>
    <tr>
    <td>
    <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
    <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
    <td>


    with

    <input type="text" name="q" size="20" maxlength="255" value="" id="sbi"></input>
    </td></tr>
    <tr>
    <td>&nbsp;</td>
    <td nowrap="nowrap">
    <table>
    <tr>
    <td align="left">
    <input type="radio" name="sitesearch" value="" checked id="ss0"></input>
    <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td>
    </tr><tr>
    <td align="left">
    But the first set of lines DOES NOT EXIST!!! And there are two different sets of code for the Google Adsence Search (From Google):

    1. Search Box Code:
    Code:
    <form action="https://www.perrymultimediaandcompany.com/index.php?main_page=" id="cse-search-box">
      <div>
        <input type="hidden" name="cx" value="partner-pub-****************:***********" />
        <input type="hidden" name="cof" value="FORID:11" />
        <input type="hidden" name="ie" value="ISO-8859-1" />
        <input type="text" name="q" size="20" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
    <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script>
    2. Search Results Code:
    Code:
    <div id="cse-search-results"></div>
    <script type="text/javascript">
      var googleSearchIframeName = "cse-search-results";
      var googleSearchFormName = "cse-search-box";
      var googleSearchFrameWidth = 800;
      var googleSearchDomain = "www.google.com";
      var googleSearchPath = "/cse";
    </script>
    <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
    What am I doing wrong? I've not been able to find a forum specifically for this Mod.
    Flip Perry
    S~Scents

 

 

Similar Threads

  1. v150 add Google AdSense & google +1 button can some please help me
    By alcanlove in forum General Questions
    Replies: 8
    Last Post: 5 Jul 2012, 02:40 AM
  2. Google Search (Adsense)
    By khopek in forum General Questions
    Replies: 3
    Last Post: 15 Mar 2010, 12:06 AM
  3. How to replace the head search form with Google Adsense search form?
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Mar 2010, 11:33 PM
  4. Contribution for adding more then 1 Google AdSense?
    By LilleyPadGifts in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Dec 2007, 02:22 AM
  5. Adding google adsense to payment modules
    By arensun in forum Addon Payment Modules
    Replies: 7
    Last Post: 6 Jul 2007, 03:01 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