- This topic has 4 replies, 2 voices, and was last updated 14 years, 3 months ago by imported_Ryan.
-
AuthorPosts
-
July 30, 2010 at 8:54 pm #1551schmitageMember
Can someone point me to the plugin file(s) for pixopoint that I would have to mess with to input the google search code for adsense?
If it’s in the admin options for editing the CSS.. then I’m really stuck and have no idea where the input and result code info would go. Even a slight direction to get me hackin away would be appreciated..
Thanks
July 30, 2010 at 9:12 pm #8912schmitageMemberi found where to play with the output.. it was in my theme… but the search input [i:kwz0mgii]seems [/i:kwz0mgii]to be pixo’s, not the one that came with my theme..
please? thank you. ” title=”Smiley” />
July 31, 2010 at 1:22 am #8913schmitageMemberOk, still stabbing away.. found it in core.php (great search prgm InfoRapid Search helped me out!) Got an error in the code tho, and this i cannot figure out..
Parse error: syntax error, unexpected ‘<‘
Oh, figured that one out.. turned on/off <php? or whatever. Got the search working, but I have it all misaligned and 3 freekin search boxes show up. lol
Here’s the code. Anyone feel free to jump in at any time to save me some hours, that would be sooo sooo awesome, lol. Here’s the code, can’t find this error. Back to google searchin around for another few hours..
// Search option
<form action="http://serious-things.com/search/" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-6306448535078505:cupdeo-kq4g" />
<input type="hidden" name="cof" value="FORID:10" />
<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&lang=en"></script>July 31, 2010 at 1:50 am #8914schmitageMemberbooya, good to go!
A little hacked up, but it’s working. Looks great in FF.. For some reason, in IE I’m slightly off on the menu bar.. and I have no clue as to how I got a slight space between the menus and categories.. but o’well.. Good enough cuz I’ll never see it in FF ” title=”Smiley” /> That’s for another day.. I’m just tickled cuz I really don’t know how to code. My last time doing this crap was in the 1980s on a commodore64, lol. Thank you Lord!
Here is my hacked up stuff. If anyone sees something to clean up, by all means, I’d love any ideas. The site is at http://www.serious-things.com. God bless –
// ‘Search’ option
if ($set[0] == ‘search’) {
echo ‘<li class="pixo_search’; if (get_option(‘suckerfish_searchalignment’) == ‘on’) {echo ‘ pixo_right’;} echo ‘"><form action="http://serious-things.com/search/" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="partner-pub-6306118535078505:cupdeo-kq4g" />
<input type="hidden" name="cof" value="FORID:10" />
<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&lang=en"></script>
<?php
</li>’;}August 27, 2010 at 7:36 am #8915imported_RyanMemberYou don’t need to hack the plugin files to do that. You can just add the code via the custom code box instead.
-
AuthorPosts
- You must be logged in to reply to this topic.