top_menu

Hi Guys,

The file _sub_header.html has a line _top_menu.... Please help where it refers and i need its raw php code... how can i get from which folder...

Quote · 4 Apr 2016

Have a look at /inc/classes/BxDolTemplate.php  There you will see some of the template keys that Dolphin uses, and the function that template keys such as __top_menu__ are replaced with.

Ex:

            case 'top_menu':
                $sRet = $GLOBALS['oTopMenu'] -> getCode();
                break;

 

Another file you should study, is: /templates/base/scripts/BxBaseMenu.php  The top menu for the Uni template is essentially generated by this file.

Then to see how to override the base menu appearance and functionality, have a look at: /templates/tmpl_evo/scripts/BxTemplMenu.php   Use this file in custom templates to change the way the way the top menu appears and functions, as was done in the EVO template.  There are some other files involved, but this should keep you entertained for a while.

 

Have fun.

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

Thank you so much for a pleasant reply....

Quote · 5 Apr 2016
 
 
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.