Code issues. Please advise.

[en] Menu for phpbb3 (similar to phpbb.com menu) fully adjustable via ACP
[sk] Modifikácia na pridanie plne nastaviteľného menu cez ACP pod headerom

Code issues. Please advise.

Postby T3h Antek » Wed Mar 17, 2010 2:38 pm

Good day, I have installed this mod but am experiencing some problems and hope that you can help me fix them.


Using Pro Silver.
Find - in overall header but can't find the line </fieldset> and </form? do not exist in my overall header.
Code: Select all
      </fieldset>
      </form>
   </div>
<!-- ENDIF -->


And add after:
Code: Select all
<!-- IF S_MENU_ENABLED -->
      <span class="corners-bottom" style="height:0px;"><span></span></span></div>
    </div>
    <div id="menu" style="clear:both;<!-- IF S_MENU_MARGIN -->margin-top: -3px;<!-- ELSE -->margin-top: -4px;<!-- ENDIF -->;background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_bg.gif') repeat-x;">
       <div class="inner">
       <span class="menu_corner-left" style="background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_corner.gif') no-repeat;"></span>
       <span class="menu_corner-right" style="background: url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_corner_right.gif') no-repeat;"></span>
    <!-- IF S_DISPLAY_SEARCH and S_MENU_SEARCH -->
       <div id="top-search" style="<!-- IF S_MENU_ALIGN == 'right' -->float: left;<!-- ELSE -->float: right;<!-- ENDIF -->background: transparent url('{T_THEME_PATH}/images/menu/{S_MENU_COLOR}/menu_search.gif') no-repeat scroll 0 0;">
          <form action="{U_SEARCH}" method="post" id="search">
          <fieldset>
             <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="menu_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}';" />
             {S_SEARCH_HIDDEN_FIELDS}
          </fieldset>
          </form>
       </div>
    <!-- ENDIF -->
       <ul>
       <!-- BEGIN menu -->
          <li class="menu_button" style="float:{S_MENU_ALIGN};"><a href="{menu.BUTTON_URL}" title="{menu.BUTTON_NAME}"<!-- IF menu.BUTTON_TARGET --> rel="external"<!-- ENDIF --> style="font-weight:{S_MENU_WEIGHT};text-transform:{S_MENU_TEXT_TRANSFORM};">{menu.BUTTON_NAME}</a></li>
       <!-- END menu -->
       </ul>
    <!-- ENDIF -->

Where can I add this now ?

What to do ?
Find :
Code: Select all
<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->

Replace with :
Code: Select all
<!-- IF ( S_DISPLAY_SEARCH and not S_IN_SEARCH ) and not ( S_MENU_ENABLED and S_MENU_SEARCH ) -->

What I find is :
Code: Select all
<!-- IF S_DISPLAY_SEARCH --> &bull;


Do I still replace it, everything within the <> ?

Any help with this one would be great.

well I went ahead and installed it, it's messed up my forum a little, any ideas on how I can fix this ?
Also I used the fix that is posted http://www.phpbb.com/community/viewtopi ... #p11347845


http://www.silverbloodline.com Please take a look and if anyone could help me to solve this that would
be really nice ^^

Oh and what I did:
Code: Select all
   <!-- IF S_DISPLAY_SEARCH -->

REPLACED WITH
Code: Select all
    <!-- IF ( S_DISPLAY_SEARCH and not S_IN_SEARCH ) and not ( S_MENU_ENABLED and S_MENU_SEARCH ) -->




I added the long code after :
Code: Select all
<span class="corners-bottom"><span></span></span></div>
              </div>
        <!-- ENDIF -->


As i could not find :
Code: Select all
          </fieldset>
          </form>
       </div>
    <!-- ENDIF -->



This is a little confusing I am happy to tell you more, just ask.

Any help would be great ! Thank you.


Antek
T3h Antek
User
User
 
Posts: 4
Joined: Wed Mar 17, 2010 1:32 pm

Re: Code issues. Please advise.

Postby T3h Antek » Thu Mar 18, 2010 7:51 pm

Yeah great help so far.

Please people !
T3h Antek
User
User
 
Posts: 4
Joined: Wed Mar 17, 2010 1:32 pm


Return to Buttons menu / Tlačítkové menu

Who is online

Users browsing this forum: No registered users and 1 guest

cron