Topic Closed Previous1Next |
Hello,
I can not quite do what I want with the menus.
There the main menu that works with tabs. I create a second menu and I feel it is not independent from the main menu, it uses the same page I feel.
I, for example on my site, when clicking on the tab computer, the page is displayed with a sub menu corresponding to the computer.
If I click on the tab flowers,the flowers appear with the page submenu containing all the flowers, for example, and without the submenu computer of course!
Can you give me the procedure please?
thank you
Hello Diana, I rewrote this post.
In the Layouts menu, you can create independent layouts for each page. For example: in the "Layouts Menu" from the "Bordered Three Blue" theme you can derive btbLayout1 and btbLayout2, then you are able to assign btbLayout1 for the main page and btbLayout2 for its subpages. All these pages will be looking the same, they uses the same theme, but have different layouts. And these layouts can be customized with different custom menus, you can create in the "Page Manager".
The menu now cannot be inserted into the page content, but it should be possible. You can make your feature request on the Feedback page. (i rewrote my previous post, please see it above)
I'm not exactly sure what you want to do Diana however, the menu system in gpEasy is very flexible. You can make as many menus as you like and place them anywhere that an extra content area can go on a layout.
If you want a menu within a page's content you have a some options.
1. Make a plugin with the get menu output function. You can then add that plugin's gadget as a section to any page. ;)
2. More of a hack, create a page then edit its php file directly and add the get menu output function to it. Then add that page as a File Include section to any page. You just DO NOT want to edit the page with the menu in it in CKEditor as it will strip the PHP.
3. I believe the Execute PHP plugin will let you use the menu output function and you can add it as a section to any page.
If I'm misunderstanding what you want to do please give me an example.
My gpEasy menus tutorial might also help.
Yes, good suggestions Charles, I didn't realised it can be done this way. Your 3rd solution looks quite easy.
Diana, you can download and install the Execute PHP plugin, then open the page and choose Edit New section and choose to insert "Executable PHP", then click Edit for that section and write this php command: gpOutput::Get('SubMenu'); and it should be it. Or is it something else you intended to have?
ha ha. . .
No, Arizona has conditioning. . . everywhere. But if you don't have A/C then a fan is nice--lived in Texas when I was young without A/C--the fans were well used, not eaten ;)
As was the pool--jump in, get wet then sit in front of the fan--almost made it feel like a cool breeze for a few minutes :D
I am creating my menus. But there is something that I do not make sense.
If I understand it, creating a new menu always passes through the Main Menu. And that's where it wrong for me.
Why, we could not create menus independent of the Main Menu ?
A) Main menu
B) New Main menu
By selecting B for example, could create another menu independent of A.

For example, if I select the branch "Plantes", I can create a new menu independent of the Main menu to be called "Plantes" with the children here "My tomatoes, peppers my ..." as here (in French).

I do not know if I did understand my concept. : /
You can read my tutorial for gpEasy menus. IT may answer some of your questions.
The main menu needs to have all pages in it that you want to be displayed in the site map, thus if you are going to use several different menus like I do at trueacu.com then you most likely will NOT use the main menu anywhere on your site. I just use it for organization. Each menu displayed on my site is an alternative menu, and as you can see they are completely independent of the main menu.
If you want to use a different menu text other than what you originally gave the page then use an "external link" within the menu for that page.
The finishing touches of our latest release have been made and gpEasy 4.0 is available ... Read More
Third 4.0 Release CandidateThe third release candidate for gpEasy 4.0 is now available. Next release: 4.0 Final! Download ... Read More
More NewsWhich CMS: Which CMS should you use?
What CMS: Find out what CMS a site is using.
phpEasyMin: Minimize multiple JavaScript and CSS files in one sweep.