News:

Welcome to the Unofficial Help Forum



Author Topic: How to replace the Search  (Read 6448 times)

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
How to replace the Search
« on: April 24, 2012, 08:54:55 AM »
Hello,
How to replace search bar. I will place the adsense search bar there.
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 324
    • View Profile
Re: How to replace the Search
« Reply #1 on: April 24, 2012, 09:08:53 AM »
http://custom.simplemachines.org/mods/index.php?mod=2201 and you may need to install it with version emulation. if you have issues with the mod use their support thread on the official forums.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: How to replace the Search
« Reply #2 on: April 24, 2012, 11:23:50 AM »
It works for 2.0.2 or not.
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 324
    • View Profile
Re: How to replace the Search
« Reply #3 on: April 24, 2012, 11:30:03 AM »
reading the support thread will answer that for you, most likely it should with version emulation.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: How to replace the Search
« Reply #4 on: April 25, 2012, 09:15:05 AM »
Failed for my theme.
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 324
    • View Profile
Re: How to replace the Search
« Reply #5 on: April 25, 2012, 09:20:17 AM »
then you need to manually edit your theme, you would be best to ask further questions about this in the mods support thread so that the author of the mod can help you.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: How to replace the Search
« Reply #6 on: April 25, 2012, 09:25:47 AM »
I have already try manually and did not find

Quote
   // The main content should go here.

Take risk , i have put under
Quote
// The main sub template above the content.
But fails.
« Last Edit: April 25, 2012, 09:30:30 AM by shubh »
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 324
    • View Profile
Re: How to replace the Search
« Reply #7 on: April 25, 2012, 09:33:57 AM »
then you need to compare the default themes template to your custom themes template and find where the code should go.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: How to replace the Search
« Reply #8 on: April 25, 2012, 09:46:12 AM »
In the default theme it is there,
   
Quote
    // The main content should go here.
.

The theme which are you using ,in this where should it go.
No words left

Offline Illori

  • Administrator
  • *
  • Posts: 324
    • View Profile
Re: How to replace the Search
« Reply #9 on: April 25, 2012, 09:47:06 AM »
you need to check what is around that comment and find that area in your custom theme. there is nothing else we can do to help you as you should be asking the mod author for help as it is their mod.

Offline shubh

  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Re: How to replace the Search
« Reply #10 on: April 25, 2012, 09:58:20 AM »
Well the author is same , i will try myself.
No words left