VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
CHECK OUT OUR PAGE ON GOOGLE +
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

How to create a main menu?
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: How to create a main menu?

How to create a main menu? 17 May 2012 18:22 #334

Hello! Thanks for the great template! I have a small problem, I can't understand how to create a main menu (is due to the fact that in the attached file). Namely, I create a menu, create a module for him, but I can not understand in what position publish? By publishing in position "sub-menu" menu is not so, without separator and with a smaller font size. Thanks for the reply, very much I hope for your help!
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.

  • Posts:2
  • Pavel
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How to create a main menu? 17 May 2012 19:20 #335

Problem solved!!! Module for this menu is not needed. This menu is handled by the code in the files index.php and mainmenu.php In index.php specifies the system name of the menu in the line №16
include_once (dirname(__FILE__).DS.'/scripts/php/mainmenu.php');
$menuname = 'mainmenu';

you can specify any system name of the menu and it there will be. The only thing, there is no possibility of sorting menu items

  • Posts:2
  • Pavel
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How to create a main menu? 18 May 2012 05:41 #342

It's a bug. We will update soon. Thx for reporting
  • mars

Re: How to create a main menu? 04 Jul 2012 16:03 #577

Hello,
Please I am a rookie/very green horn! This is my first website and I am having the same problem. Got to the PHP file but don't understand what you mean by enter system.
The error below is show where the main menu is supposed to be:
"( ! ) Notice: Undefined index: 1 in C:wampwwwfab5foottemplatesjf_texturiascriptsphpmainmenu.php on line 47
Call Stack
# Time Memory Function Location
1 0.0101 693520 {main}( ) ..index.php:0
2 0.5614 13045952 JSite->render( ) ..index.php:48
3 0.5619 13046808 JDocumentHTML->parse( ) ..application.php:260
4 0.5619 13046808 JDocumentHTML->_fetchTemplate( ) ..html.php:414
5 0.5624 13047304 JDocumentHTML->_loadTemplate( ) ..html.php:591
6 0.5639 13120976 require( 'C:wampwwwfab5foottemplatesjf_texturiaindex.php' ) ..html.php:531
7 0.5742 13208872 mosShowListMenu( ) ..index.php:46
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.

  • Posts:1
  • ea0
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: How to create a main menu? 05 Jul 2012 04:06 #591

Could you turn off "Notice" warning in php? Please send in google "Turn off php Notice".
  • mars
  • Page:
  • 1
Time to create page: 0.68 seconds

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.