Top/Service Menu subitems modification

Has anyone modded the top/service menu to allow subitems?

Geeks, making the world a better place
Quote · 8 Sep 2013

Let me add this; if I make a custom entry to add to the service menu is there a bx_if I can use in the template to show or hide the menu item from guest/members so I can recreate the function of building menu items and having the option to hide them from members (the check boxes in the menu builder)?

Geeks, making the world a better place
Quote · 8 Sep 2013

The service menu builder has a option to show for members or guests just like the normal menu builder does.

https://www.deanbassett.com
Quote · 8 Sep 2013

 

The service menu builder has a option to show for members or guests just like the normal menu builder does.

Yes Dean, I know this but I do appreciate you taking the time to answer.  What the service menu does not have, although it would appear to support it, is that you can NOT drag a submenu item and add it.

So, that means if I want to use the service menu and add a custom menu item with a dropdown list, I need a way to hide it when members log on.  So, that means I need a <bx_if:member> or a <bx_if:guest> so I have a way to hide or show the item depending on if guest or member.

If Boonex had just coded in a bit more when they added the service menu; why in bleeding heck stop half way?  I can add a top menu item to the service menu but I can not add a submenu item to that top item.  Bleeding heck.

Note: When I say custom menu item, I mean adding it manually outside of the service menu builder using normal HTML to create the menu item with a dropdown list of subitems.  So I would need a way to use a <bx:if

Geeks, making the world a better place
Quote · 9 Sep 2013

Where are you adding it? Is it in a dolphin template?

Because there are other ways. Such as using a injection point in the template, then using a injection which can be written in php which would solve your problem.



https://www.deanbassett.com
Quote · 9 Sep 2013

 

Where are you adding it? Is it in a dolphin template?

Because there are other ways. Such as using a injection point in the template, then using a injection which can be written in php which would solve your problem.

I was thinking the template; however, I will look at the injection for doing this.  Any require reading you can suggest?

Geeks, making the world a better place
Quote · 9 Sep 2013

Not really. I learned it by studying mods that use injections. I am not sure if there are any tutorials on it.

But i can provide an example.

Insert this into a template like _sub_header.html

<bx_injection:my_test_injection />

Then run this SQL in phpMyAdmin

INSERT INTO `sys_injections` (`name`, `page_index`, `key`, `type`, `data`, `replace`, `active`) VALUES
('test_injection_name', 0, 'my_test_injection', 'php', 'echo \'Test Injection Output\';', 0, 1);


Then clear dolphin cache.

View your page.

You will see the test output appear.

View the table sys_injections for the injection that was inserted.

From those you should get the idea of how they work.

https://www.deanbassett.com
Quote · 9 Sep 2013

I will have a module available in a day or two that will replace the current service menu and the service menu builder with one far more advanced.

It will support sub menus and icons in both image and font awesome which the current service menu does not support.

https://www.deanbassett.com
Quote · 13 Sep 2013

New service menu module being tested on my site. http://www.deanbassett.com

You will need to create an account to see the logged in vs guest version of the new service menu. A couple of the logged in items have a drop down, and the first item for the profile shows the avatar as a icon which makes use of the php eval feature built into the builder.

A ton of features. I will be creating a video to show how to configure it and such. Photos in the market entry will not do this one justice. I can't upload enough photos to show all you can do with the service menu builder.

https://www.deanbassett.com
Quote · 15 Sep 2013

Nice I like it but you need to put the alert and notification on the top too.. I am not talking about the bottom menu bar.. just the alert and notification so people can see on the top when someone send them email, view, or comment... OR it can be inside account or profile. it will show account "Red" to let people know something happened...... So you get the clue...

New service menu module being tested on my site. http://www.deanbassett.com

You will need to create an account to see the logged in vs guest version of the new service menu. A couple of the logged in items have a drop down, and the first item for the profile shows the avatar as a icon which makes use of the php eval feature built into the builder.

A ton of features. I will be creating a video to show how to configure it and such. Photos in the market entry will not do this one justice. I can't upload enough photos to show all you can do with the service menu builder.

 

Quote · 15 Sep 2013

 

 When login Does it have "Account, Profile, home and Alert or notification on the top too?


Did you login to see what it currently has, and what it looks like? I have notification link in the top menu when logged in. Same link that is normally in sub menu when viewing your account.

It can have any link you want. It has a full menu builder that replaces the service menu builder built into dolphin. It's more powerful than the default service menu builder. You can put whatever links you want in the menu.

But not the bubbles you see in the member menu. This is not a member menu, it is a normal menu. But the php abilities built into it can be used to generate a caption that contains a number, or you can generate a image with a number using the gd in php. With the php eval ability, you can do quite a lot with the menu.

I will not be adding the ability to add items designed for the member menu in the service menu.



https://www.deanbassett.com
Quote · 15 Sep 2013

Ok. Module done. http://www.boonex.com/m/service-menu-builder

Most likely more that can be done, or something i missed. But i that's what upgrades are for.


https://www.deanbassett.com
Quote · 18 Sep 2013

 

Ok. Module done. http://www.boonex.com/m/service-menu-builder

Most likely more that can be done, or something i missed. But i that's what upgrades are for.


Looks great.  Of course my question is why in hades is this not a part of Dolphin 7.1.4?  Andrew should now offer to purchase this code from you and fix the broken service menu builder they shipped with 7.1.x.  Seriously, Boonex released a half-arsed implementation of the service menu builder and that does not say anything good about them.  Open up the default Dolphin service menu builder and you see the little green boxes but you can not add them. 

Geeks, making the world a better place
Quote · 18 Sep 2013

Any idea if this will work with aftermarket Templates as well?

Quote · 18 Sep 2013

 

Any idea if this will work with aftermarket Templates as well?

 
It should. Should follow the same color theme as the main nav menu. But like any other part of dolphin, it's css can be changed if needed.




https://www.deanbassett.com
Quote · 18 Sep 2013

Is this module still available? The link does't seem to work

Quote · 9 Jun 2014

 

Is this module still available? The link does't seem to work

No, Deano had to remove it from the market due to a conflict with another part of Dolphin.

Geeks, making the world a better place
Quote · 10 Jun 2014
 
 
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.