twilightBB

Support needed with a mod. - twilightBB

Support needed with a mod.

by pallindrome » Sun Apr 10, 2011 9:58 am

Hello guys , I tried to install a simple mod i.e Google search mod on the forum. So the instructions are given for subsilver2 and prosilver , so I used subsilver2 instructions in twilightbb theme , and I can't find the html code :

Code: Select all

<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>


and my theme has a banner instead of a header :

Code: Select all

<div id="banner">
   <a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
</div>


So I tried to modify the code like this :

Code: Select all

<div id="wrapper">

<div id="banner">
      <table width="100%" cellspacing="0">
      <tr>
             <td width="100%">
                <a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
             </td>
      </tr>
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
      <tr>
             <td width="100%" align="right">
                <form action="{U_SEARCH}" method="post">
                <input name="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
                <input value="{L_SEARCH}" type="submit" /><br />
                <label for="gSearch">{L_SEARCH_GOOGLE} <input class="radio" style="vertical-align: middle;" name="gsearch" type="checkbox" id="gSearch" /></label><br />
                <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
                </form>
             </td>
          </tr>
<!-- ENDIF -->
      </table>
</div>

<div id="header">



But after that my theme was distorted like this : Image

So please help me guys , please help.
pallindrome
Registered User
Posts: 60
Joined: Thu Mar 17, 2011 2:54 pm
Contact: