The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to change words into a search engine on the site?

View previous topic View next topic Go down

Solved How to change words into a search engine on the site?

Post by smurfavr on October 9th 2015, 3:45 pm

How to change the words of another language in the search engine on the site?



Last edited by smurfavr on October 15th 2015, 10:30 pm; edited 1 time in total

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by smurfavr on October 11th 2015, 2:03 pm

Up

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by smurfavr on October 14th 2015, 1:51 pm

Up

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by SarkZKalie on October 15th 2015, 7:04 am

You mean to change the text of "display result as" and "advanced search", right? Okay, it's easy man.

Find "{SEARCH_RESULTS}" and "{SEARCH_ADVANCED}" in Admin Control Panel -> Display -> Templates -> Portal -> mod_search template and change them to any text you want.

Don't forget to publish it! Twisted Evil

SarkZKalie
Forumember

Male Posts : 419
Reputation : 74
Language : English

http://rotavn.nstars.org/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by smurfavr on October 15th 2015, 7:00 pm

I do not find the words that I want to change this pattern.
Advanced Search
Display results as


@Ange Tuteur Can you help?

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by SLGray on October 15th 2015, 7:10 pm

Have you modify the template, because they are in mine?

13. {SEARCH_RESULTS}<br />

23. <p class="center"><a href="{U_SEARCH}"><img src="http://illiweb.com/fa/icon_mini_search.gif" width="12" height="13" alt="Rechercher" /> {SEARCH_ADVANCED}</a></p>


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35667
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by smurfavr on October 15th 2015, 7:13 pm

Template has not been modified.

Code:
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
      <td class="catLeft" height="25">
         <span class="genmed module-title">{L_SEARCH}</span>
      </td>
   </tr>
   <tr>
      <td class="row1">
         <form action="{U_SEARCH}" method="get">
            <div class="gensmall">
               <input type="text" class="bginput" name="search_keywords" size="24" style="width:50%;" />&nbsp;<input type="submit" class="button" value="Go" /><br />
               <input id="interne" type="radio" name="typerecherche" value="interne" checked="checked" /><label for="interne"> {SEARCH_INSIDE}</label>&nbsp;
               <input id="google" type="radio" name="typerecherche" value="google" /><label for="google"> <b><font color="#0039b6">G</font><font color="#c41200">o</font><font color="#f3c518">o</font><font color="#0039b6">g</font><font color="#30a72f">l</font><font color="#c41200">e</font></b></label><br />
               <br />
               {SEARCH_RESULTS} <br />
               <input id="rposts" type="radio" name="show_results" value="posts" /><label for="rposts"> {SEARCH_POSTS}</label>&nbsp;
               <input id="rtopics" type="radio" name="show_results" value="topics" checked="checked" /><label for="rtopics"> {SEARCH_TOPICS}</label>
                                        <!-- BEGIN TAGS -->
                                        <p>
                                            <label for="rtags"><input id="rtags" type="checkbox" name="is_tag" value="true" /> {TAGS.SEARCH_TAGS}</label>&nbsp;
                                        </p>
                                        <!-- END TAGS -->
                                        <hr />
               <a href="{U_SEARCH}"><img src="http://illiweb.com/fa/icon_mini_search.gif" width="12" height="13" border="0" alt="Rechercher" hspace="3" /> {SEARCH_ADVANCED}</a>
               {JS_SESSION_ID_INPUT}
            </div>
         </form>
      </td>
   </tr>
</table>

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by Ange Tuteur on October 15th 2015, 10:14 pm

Hi @smurfavr,

Try adding the following CSS rules to your stylesheet.
Code:
#search_menu .genmed { font-size:0; }
#search_menu .genmed label, #search_menu tr:nth-child(3) .genmed:before, #search_menu a:after { font-size:11px; }

#search_menu tr:nth-child(3) .genmed:before {
  content:" Display results as : ";
}

#search_menu a:after {
  content:"Advanced Search";
}

The last two which contain "content" can be used to change the labels of the elements you specified.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by smurfavr on October 15th 2015, 10:30 pm

Thank you Ange Tuteur.

smurfavr
Active Poster

Male Posts : 1384
Reputation : 9
Language : Bulgarian

http://smurfa.bulgarianforum.net/

Back to top Go down

Solved Re: How to change words into a search engine on the site?

Post by Ange Tuteur on October 15th 2015, 10:32 pm

You're welcome ^^

Topic archived

Have a good day. Smile

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2684
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum