top navigation customization and a script pls

Hey All, 

1.  I want to get rid of these icons (the search and "overflow" as I call it) shown in the pic.  How do I do that? And no text in their place - just deleted altogether. How do I get rid of these guys? 

(pic didn't show when I looked at the post so here's a link to the pic - http://svitraining.com/Untitled.png)

 

2. Anyone know a script I can just copy and past into head injections to make a drop down effect like the FAQs on this page: http://www.peacecorps.gov/learn/howvol/faq/

I need the full meal deal - pretty good with html and css...I know next to nothing coding wise, unfortunately.  

 

Thanks.  And if I ever get to the point where I can answer the questions, I surely will.  

 

Aaron

Quote · 17 Apr 2013

 RE:

Hey All, 

1.  I want to get rid of these icons (the search and "overflow" as I call it) shown in the pic.  How do I do that? And no text in their place - just deleted altogether. How do I get rid of these guys? 

(pic didn't show when I looked at the post so here's a link to the pic - http://svitraining.com/Untitled.png)

 

2. Anyone know a script I can just copy and past into head injections to make a drop down effect like the FAQs on this page: http://www.peacecorps.gov/learn/howvol/faq/

I need the full meal deal - pretty good with html and css...I know next to nothing coding wise, unfortunately.  

 

Thanks.  And if I ever get to the point where I can answer the questions, I surely will.  

 

Aaron

 1. That's been asked and answered several times here... it shouldn't be hard to find.

2. Read up on jquery accordion  http://jqueryui.com/accordion/  The accordion plugin is already included with Dolphin.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 Apr 2013

Thanks for the heads up on the script Houston.  I'll look that up now.  

I asked about the other 2 as I just couldn't find them.  Had to do with language - I called the more icon overflow, etc...  Here are my solutions that I found after lots of scouring and experimenting; 

 

1. The more icon. In BxBaseMenu.php (in the templates/base/scripts folder) I found this code (on line 787 for me):

 

$this->sCode .= <<<EOF

<td class="top" style="width:38px;">

<a href="javascript: void(0);" onclick="void(0);" class="top_link">

<span class="down"><img src="{$sMoreMainIcon}"/></span>

<!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->

<div style="position:relative;display:block;">

        <ul class="sub">

EOF;

 

and changed it to this: 

 

$this->sCode .= <<<EOF

<td id="more" class="top" style="width:38px;">

<a href="javascript: void(0);" onclick="void(0);" class="top_link">

<span class="down"><img src="{$sMoreMainIcon}"/></span>

<!--[if gte IE 7]><!--></a><!--<![endif]-->

<!--[if lte IE 6]><table id="mmm"><tr><td><![endif]-->

<div style="position:relative;display:block;">

        <ul class="sub">

EOF;

 

I set display to none for that id (well, i was more specific than just the id) and that seemed to work.  Anyone with more coding experience care to comment on how that should work out?  Didn't crash the site, but what the hell do I know...

 

 

2. For the search icon, back to BxBaseMenu.php to find this (on about line 260): 

 

/*

* Generate search element

*/

function genSearchElement() {

$sSearchC = process_line_output(_t('_Search'));

        ob_start();

 

and changed it to this: 

 

/*

* Generate search element

*/

function genSearchElement() {

return; //Hack to make search icon disappear

        $sSearchC = process_line_output(_t('_Search'));

        ob_start();

 

That took care of it, nothing more needed. Big shout out to Spartak for that fix. And that's it.  Hopefully that helps someone else out there.  And doesn't mangle the site.  

 

Aaron

Quote · 18 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.