putting menu in html block

Hi all i found this post here about inserting menu items in a html block   https://www.boonex.com/forums/topic/Many-Items-on-Navigation-Menu.htm 

 

this works great but i would like to add a sub-menu item  to the dropdown menu items so when you click on drop down gives a list then click on that item to show  sub menu 

 

  <ul>

    <li class="dropdown">

      <a href="#" data-toggle="dropdown" class="title1">Social Menu <i class="icon-arrow"></i></a>

      <ul class="dropdown-menu">

        <li><a href="http://www.com/m/groups/home/" class="title1">Groups</a>

                <li><a href="#">Who We Are</a></li>

                <li><a href="#">What We Do</a></li>

</li>

        <li><a href="http://www.com/m/info/home/" class="title1">Articles</a></li>

        <li><a href="http://www.com/m/events/home/" class="title1">Events</a></li>

        <li><a href="http://www.com/blogs/home/" class="title1">Blogs</a></li>

        <li><a href="http://www.com/forum/" class="title1">Forum</a></li>

        <li><a href="http://www.com/m/poll/&action=poll_home" class="title1">Polls</a></li>

        <li><a href="http://www.com/m/chat/home/" class="title1">Chat</a></li>

      </ul>

    </li>

 

Ive tried hidden class also  but that didnt work maybe need to add different .show on menu not sure any help/pointers would be appreciated

thanks

Quote · 8 Dec 2018

I don't wish to throw a spanner in the works, but this menu option, great as it is, needs to be installed on individual pages and updated each time a new module is added.

Updating is automatic with the supplied menus, but there's a real problem doing it manually  if you have lots of modules installed. 

Anton has an interesting side menu, which automatically updates, works well with mobiles and can be automatically switched off for Desktop screens. 

AndrewP also has an interesting one called CSS Menu 14 - Multilevel but the demo site doesn't work.

https://www.boonex.com/m/CSS_Menu_14_multilevel_for_D7. 

I think AndrewP is out of it now so if anyone is using this menu, I'd like to hear from you.

I think it's important to remember that any "across platform" items you have to manually update will eventually do you in. If you have multiple modules, you may need to update dozens of pages. If it's one page you're concerned with, this is a lovely little snippet.

By the way, it will probably work a lot better id you use a text block. TinyMce tends to strip out the CSS in an HTML block, something the text block doesn't do.

 

 

Quote · 9 Dec 2018

Hi John,

 

I understand what you mean updating supplied menus etc and would be a total pain in the butt if i was trying to use a full menu there for all pages i agree just would be to much

I do not use 95% of top menu on site it has been removed, the idea for this was to use as a shortcuts/favorite menu type of thing and only use for  2 or 3 pages all based around groups/pics/videos as 99% of site that is all it will be used for.

 

i did notice the css getting stripped out in html block ( I am surprised this hasn't been fixed yet by boonex Surprised) or maybe i shouldn't as boonex has gave up on dolphin.

 

that is another reason with boonex and all devs moving to UNA now not much chance of anymore major improvements or getting anyone to work on dolphin site, this is another reason trying to figure out this.

 

Thanks

Ian

Quote · 9 Dec 2018

 


i did notice the css getting stripped out in html block ( I am surprised this hasn't been fixed yet by boonex Surprised) or maybe i shouldn't as boonex has gave up on dolphin.

That is why John told you to use the TEXT block; it doesn't have the TinyMCE and won't remove code.  However, as I pointed out to Boonex, labelling it as a TEXT block would make one think that you can not add in HTML code; that any HTML code would be rendered as TEXT and not parsed.  Boonex has always been bad on UI; just look at the mess called Studio in UNA.  Of course Andrew and Boonex ignored me on this as they tend to ignore the entire Dolphin community; not only do they ignore us they have worked very hard to alienate the Dolphin community.

Geeks, making the world a better place
Quote · 16 Dec 2018

 

 


i did notice the css getting stripped out in html block ( I am surprised this hasn't been fixed yet by boonex Surprised) or maybe i shouldn't as boonex has gave up on dolphin.

That is why John told you to use the TEXT block; it doesn't have the TinyMCE and won't remove code.  However, as I pointed out to Boonex, labelling it as a TEXT block would make one think that you can not add in HTML code; that any HTML code would be rendered as TEXT and not parsed.  Boonex has always been bad on UI; just look at the mess called Studio in UNA.  Of course Andrew and Boonex ignored me on this as they tend to ignore the entire Dolphin community; not only do they ignore us they have worked very hard to alienate the Dolphin community.

 yes i understood what John was telling me, but that wasnt what i was commenting about.the comment was directed at boonex not fixing the tinymce stipping code/css issue whicjh has been going on for years, but also a member in the original post Hustonlively gave a fix to stop it but boonex has never did that what that comment was about.

And original issue of my post was about adding an extra sub-menu to that dropdown menu from that post which i couldnt get to work, but i just created a new hover menu and put there so dont need to use that one.

Quote · 17 Dec 2018

 

 

 


i did notice the css getting stripped out in html block ( I am surprised this hasn't been fixed yet by boonex Surprised) or maybe i shouldn't as boonex has gave up on dolphin.

That is why John told you to use the TEXT block; it doesn't have the TinyMCE and won't remove code.  However, as I pointed out to Boonex, labelling it as a TEXT block would make one think that you can not add in HTML code; that any HTML code would be rendered as TEXT and not parsed.  Boonex has always been bad on UI; just look at the mess called Studio in UNA.  Of course Andrew and Boonex ignored me on this as they tend to ignore the entire Dolphin community; not only do they ignore us they have worked very hard to alienate the Dolphin community.

 yes i understood what John was telling me, but that wasnt what i was commenting about.the comment was directed at boonex not fixing the tinymce stipping code/css issue whicjh has been going on for years, but also a member in the original post Hustonlively gave a fix to stop it but boonex has never did that what that comment was about.

And original issue of my post was about adding an extra sub-menu to that dropdown menu from that post which i couldnt get to work, but i just created a new hover menu and put there so dont need to use that one.

OK, well, Boonex cannot fix TinyMCE stripping out code; that is the way TinyMCE was coded.  However, you can learn how TinyMCE works and edit the init file to add in extended elements for TinyMCE to not remove when it does it code cleanup.  Boonex did try to fix it where the editor would stay off but what was needed was a switch that stored editor state for that Block only.  The easy way was to just add in a HTML block without the editor which Boonex called Text block; which is wrong; it is still an HTML block but just without the editor.  It would have been better to call it HTML-no editor or something; just anything but TEXT block as it is not a TEXT block.

Geeks, making the world a better place
Quote · 18 Dec 2018
 
 
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.