For those of you with many modules installed on your site and the list of items on your navigation menu is too long, I've got a simple solution via adding a menu to a HTML block. Please check the attachment and if you like it let me know so I can give you the java script for that HTML block. No worries it's free , my token of appreciation for all the help I got from this forum. You can use any fancy google fonts or icon for the menu items. |
due to the number of PMs I got from you guys I decided to post the code and instruction here.
step 1) Add an HTML block to a page you want the menu to show
step 2) give it a name to that HTML Block
step 3) insert the following code to that HTML block and change the menu items and the links based on your site's menu links. You can change the fonts based on millions of google fonts.
here is the code you have to enter :
<style>
@import url(http://fonts.googleapis.com/css?family=Imprima); @import url(http://fonts.googleapis.com/css?family=Knewave); @import url(http://fonts.googleapis.com/css?family=Lobster); @import url(http://fonts.googleapis.com/css?family=Righteous); @import url(http://fonts.googleapis.com/css?family=Chewy); @import url(http://fonts.googleapis.com/css?family=Courgette);
.text-center { text-align: center; }
*, *:before, *:after { -webkit-border-sizing: border-box; -moz-border-sizing: border-box; border-sizing: border-box; }
.container { width: 180px; margin: 10px auto; } .container > ul { list-style: none; padding: 0; margin: 0 0 20px 0; }
.title1 { font-family: 'Imprima'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.title2 { font-family: 'Knewave'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.title3 { font-family: 'Lobster'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.title4 { font-family: 'Righteous'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.title5 { font-family: 'Chewy'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.title6 { font-family: 'Courgette'; font-weight: norma; font-size: 14px; text-align: center; line-height: 1.4; color: #2980B9; }
.dropdown a { text-decoration: none; } .dropdown [data-toggle="dropdown"] { position: relative; display: block; color: white; background: #2980B9; -moz-box-shadow: 0 1px 0 #409ad5 inset, 0 -1px 0 #20638f inset; -webkit-box-shadow: 0 1px 0 #409ad5 inset, 0 -1px 0 #20638f inset; box-shadow: 0 1px 0 #409ad5 inset, 0 -1px 0 #20638f inset; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); padding: 10px; } .dropdown [data-toggle="dropdown"]:hover { background: #2c89c6; } .dropdown .icon-arrow { position: absolute; display: block; font-size: 0.7em; color: #fff; top: 14px; right: 10px; } .dropdown .icon-arrow.open { -moz-transform: rotate(-180deg); -ms-transform: rotate(-180deg); -webkit-transform: rotate(-180deg); transform: rotate(-180deg); -moz-transition: -moz-transform 0.6s; -o-transition: -o-transform 0.6s; -webkit-transition: -webkit-transform 0.6s; transition: transform 0.6s; } .dropdown .icon-arrow.close { -moz-transform: rotate(0deg); -ms-transform: rotate(0deg); -webkit-transform: rotate(0deg); transform: rotate(0deg); -moz-transition: -moz-transform 0.6s; -o-transition: -o-transform 0.6s; -webkit-transition: -webkit-transform 0.6s; transition: transform 0.6s; } .dropdown .icon-arrow:before { content: 'BC'; } .dropdown .dropdown-menu { max-height: 0; overflow: hidden; list-style: none; padding: 0; margin: 0; } .dropdown .dropdown-menu li { padding: 0; } .dropdown .dropdown-menu li a { display: block; color: #6f6f6f; background: #EEE; -moz-box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset; -webkit-box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset; box-shadow: 0 1px 0 white inset, 0 -1px 0 #d5d5d5 inset; text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.3); padding: 10px 10px; } .dropdown .dropdown-menu li a:hover { background: #f6f6f6; } .dropdown .show, .dropdown .hide { -moz-transform-origin: 50% 0%; -ms-transform-origin: 50% 0%; -webkit-transform-origin: 50% 0%; transform-origin: 50% 0%; } .dropdown .show { display: block; max-height: 9999px; -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); animation: showAnimation 0.5s ease-in-out; -moz-animation: showAnimation 0.5s ease-in-out; -webkit-animation: showAnimation 0.5s ease-in-out; -moz-transition: max-height 1s ease-in-out; -o-transition: max-height 1s ease-in-out; -webkit-transition: max-height 1s ease-in-out; transition: max-height 1s ease-in-out; } .dropdown .hide { max-height: 0; -moz-transform: scaleY(0); -ms-transform: scaleY(0); -webkit-transform: scaleY(0); transform: scaleY(0); animation: hideAnimation 0.4s ease-out; -moz-animation: hideAnimation 0.4s ease-out; -webkit-animation: hideAnimation 0.4s ease-out; -moz-transition: max-height 0.6s ease-out; -o-transition: max-height 0.6s ease-out; -webkit-transition: max-height 0.6s ease-out; transition: max-height 0.6s ease-out; }
@keyframes showAnimation { 0% { -moz-transform: scaleY(0.1); -ms-transform: scaleY(0.1); -webkit-transform: scaleY(0.1); transform: scaleY(0.1); } 40% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 100% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } } @-moz-keyframes showAnimation { 0% { -moz-transform: scaleY(0.1); -ms-transform: scaleY(0.1); -webkit-transform: scaleY(0.1); transform: scaleY(0.1); } 40% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 100% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } } @-webkit-keyframes showAnimation { 0% { -moz-transform: scaleY(0.1); -ms-transform: scaleY(0.1); -webkit-transform: scaleY(0.1); transform: scaleY(0.1); } 40% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.04); -ms-transform: scaleY(1.04); -webkit-transform: scaleY(1.04); transform: scaleY(1.04); } 100% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } } @keyframes hideAnimation { 0% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(0); -ms-transform: scaleY(0); -webkit-transform: scaleY(0); transform: scaleY(0); } } @-moz-keyframes hideAnimation { 0% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(0); -ms-transform: scaleY(0); -webkit-transform: scaleY(0); transform: scaleY(0); } } @-webkit-keyframes hideAnimation { 0% { -moz-transform: scaleY(1); -ms-transform: scaleY(1); -webkit-transform: scaleY(1); transform: scaleY(1); } 60% { -moz-transform: scaleY(0.98); -ms-transform: scaleY(0.98); -webkit-transform: scaleY(0.98); transform: scaleY(0.98); } 80% { -moz-transform: scaleY(1.02); -ms-transform: scaleY(1.02); -webkit-transform: scaleY(1.02); transform: scaleY(1.02); } 100% { -moz-transform: scaleY(0); -ms-transform: scaleY(0); -webkit-transform: scaleY(0); transform: scaleY(0); } }
</style>
<script> window.console = window.console || function(t) {}; </script> <div class="container"> <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.iranbiz.org/m/groups/home/" class="title1">Groups</a></li> <li><a href="http://www.iranbiz.org/m/info/home/" class="title1">Articles</a></li> <li><a href="http://www.iranbiz.org/m/events/home/" class="title1">Events</a></li> <li><a href="http://www.iranbiz.org/blogs/home/" class="title1">Blogs</a></li> <li><a href="http://www.iranbiz.org/forum/" class="title1">Forum</a></li> <li><a href="http://www.iranbiz.org/m/poll/&action=poll_home" class="title1">Polls</a></li> <li><a href="http://www.iranbiz.org/m/chat/home/" class="title1">Chat</a></li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown" class="title2">Fun Menu <i class="icon-arrow"></i></a> <ul class="dropdown-menu"> <li><a href="http://www.iranbiz.org/m/interested/home/" class="title2">Interested?</a></li> <li><a href="http://www.iranbiz.org/m/club/home/" class="title2">Clubs</a></li> <li><a href="http://www.iranbiz.org/m/joke/home/" class="title2">Joke</a></li> <li><a href="http://www.iranbiz.org/m/dictionary/home/" class="title2">Dictionary</a></li> <li><a href="http://www.iranbiz.org/m/games/home/" class="title2">Games</a></li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown" class="title3">Media Menu <i class="icon-arrow"></i></a> <ul class="dropdown-menu"> <li><a href="http://www.iranbiz.org/m/videos/home/" class="title3">Video</a></li> <li><a href="http://www.iranbiz.org/m/aqb_music_portal/" class="title3">Music</a></li> <li><a href="http://www.iranbiz.org/m/photos/home/" class="title3">Photo</a></li> <li><a href="http://www.iranbiz.org/m/sounds/home/" class="title3">Sound</a></li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown" class="title4">Admin Menu <i class="icon-arrow"></i></a> <ul class="dropdown-menu"> <li><a href="http://www.iranbiz.org/m/announcement/home/" class="title4">Announcement</a></li> <li><a href="http://www.iranbiz.org/m/ticker/home/" class="title4">Ticker Ads</a></li> <li><a href="http://www.iranbiz.org/m/banner/home/" class="title4">Advertise</a></li> <li><a href="http://www.iranbiz.org/m/news/index/" class="title4">News</a></li> <li><a href="http://www.iranbiz.org/contact.php" class="title4">Contact Us</a></li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown" class="title5">Activity Menu <i class="icon-arrow"></i></a> <ul class="dropdown-menu"> <li><a href="http://www.iranbiz.org/m/teams/home/" class="title3">Sport</a></li> <li><a href="http://www.iranbiz.org/m/schools/home/" class="title3">School</a></li> <li><a href="http://www.iranbiz.org/m/fashion/home/" class="title3">Fashion</a></li> <li><a href="http://www.iranbiz.org/m/blogger/home/" class="title3">Art & Culture</a></li> <li><a href="http://www.iranbiz.org/m/sites/home/" class="title3">Websites</a></li> <li><a href="http://www.iranbiz.org/m/person/home/" class="title3">Celebrities</a></li> </ul> </li> <li class="dropdown"> <a href="#" data-toggle="dropdown" class="title6">Listing Menu <i class="icon-arrow"></i></a> <ul class="dropdown-menu"> <li><a href="http://www.iranbiz.org/m/listing/home/" class="title4">Directory</a></li> <li><a href="http://www.iranbiz.org/m/classified/home/" class="title4">Classified Ads</a></li> <li><a href="http://www.iranbiz.org/m/property/home/" class="title4">Real Estate</a></li> <li><a href="http://www.iranbiz.org/m/auto/home/" class="title4">Cars</a></li> <li><a href="http://www.iranbiz.org/m/jobs/home/" class="title4">Jobs</a></li> <li><a href="http://www.iranbiz.org/m/restaurant/home/" class="title4">Food</a></li> <li><a href="http://www.iranbiz.org/m/expert/home/" class="title4">Ask Experts</a></li> <li><a href="http://www.iranbiz.org/m/store/home/" class="title4">Store</a></li> </ul> </li> </ul> </div>
<script> var dropdown = document.querySelectorAll('.dropdown'); var dropdownArray = Array.prototype.slice.call(dropdown, 0); dropdownArray.forEach(function (el) { var button = el.querySelector('a[data-toggle="dropdown"]'), menu = el.querySelector('.dropdown-menu'), arrow = button.querySelector('i.icon-arrow'); button.onclick = function (event) { if (!menu.hasClass('show')) { menu.classList.add('show'); menu.classList.remove('hide'); arrow.classList.add('open'); arrow.classList.remove('close'); event.preventDefault(); } else { menu.classList.remove('show'); menu.classList.add('hide'); arrow.classList.remove('open'); arrow.classList.add('close'); event.preventDefault(); } }; }); Element.prototype.hasClass = function (className) { return this.className && new RegExp('(^|\s)' + className + '(\s|$)').test(this.className); }; //@ sourceURL=pen.js </script>
<script> if (document.location.search.match(/type=embed/gi)) { window.parent.postMessage("resize", "*"); } </script>
|
7.3.5 with responsive UNI |
Please let me know if you need any further help. Just remember sometimes Dolphin HTML Block changes the code by itself. So keep this code as a text file handy.
|
Hi Metroero. Firstly thank you for this excellent contribution.
This biggest annoyance for me with the number of items is in the "Profile" page in Page Builder. It lists the many "Profile, Info, Friends, Timeline, etc etc etc" from left to right.
Does your method here allow all those items in the "Profile" page to be put in a HTML block? and if so, how do you then remove all those "Profile, Info, Friends, Timeline, etc etc etc" from left to right in the Profile Page?
Thanks again.
|
Hi Metroero. I'm just implemented this for testing and yes, great menu structure.
I do have a weird problem though:
1. Each menu instead of showing the dropdown arrow, instead shows the letters "BC".
2. when clicking on the menu and opening it, the "BC" turns upside down.
3. now that the menu is open, when clicking on the upside down BC (supposed to close the menu), the menu doesn't close.
Any ideas?
|
You can add any link in this menu as you wish. Yes even the profile menu items. You can make the profile menu items not visible for guests and members but then based on Dolphin dependency I think ( I am not sure) you may not have access to those mods. You better ask one of the developers about getting rid of the submenus on profile page.
Hi Metroero. Firstly thank you for this excellent contribution.
This biggest annoyance for me with the number of items is in the "Profile" page in Page Builder. It lists the many "Profile, Info, Friends, Timeline, etc etc etc" from left to right.
Does your method here allow all those items in the "Profile" page to be put in a HTML block? and if so, how do you then remove all those "Profile, Info, Friends, Timeline, etc etc etc" from left to right in the Profile Page?
Thanks again.
|
LOL , yes I know exactly where the problem is , cuz I had the same problem before.
You have to go back and check one small part of the code.
1) go to the line 139 on the script and find :
.dropdown .icon-arrow:before { content: 'BC';
}
2) and change it to
.dropdown .icon-arrow:before { content: '\25BC';
}
you were missing \25 from the content value.
Actually since I copied the code from my HTML block , it changed the code and I paste it here without checking, my apologies.
Hi Metroero. I'm just implemented this for testing and yes, great menu structure.
I do have a weird problem though:
1. Each menu instead of showing the dropdown arrow, instead shows the letters "BC".
2. when clicking on the menu and opening it, the "BC" turns upside down.
3. now that the menu is open, when clicking on the upside down BC (supposed to close the menu), the menu doesn't close.
Any ideas?
|
Hi,
Many thanks, I modified to \25BC and get to see the down and up arrows :)
I checked point 3 ie.when I expand a menu, I can't collapse it afterwards, do you happen to know why this problem happens?
LOL , yes I know exactly where the problem is , cuz I had the same problem before.
You have to go back and check one small part of the code.
1) go to the line 139 on the script and find :
.dropdown .icon-arrow:before { content: 'BC';
}
2) and change it to
.dropdown .icon-arrow:before { content: '\25BC';
}
you were missing \25 from the content value.
Actually since I copied the code from my HTML block , it changed the code and I paste it here without checking, my apologies.
Hi Metroero. I'm just implemented this for testing and yes, great menu structure.
I do have a weird problem though:
1. Each menu instead of showing the dropdown arrow, instead shows the letters "BC".
2. when clicking on the menu and opening it, the "BC" turns upside down.
3. now that the menu is open, when clicking on the upside down BC (supposed to close the menu), the menu doesn't close.
Any ideas?
|
I am not sure what you mean by point 3 ie. , All you have to do is copy the code into the HTML bock and it should work. The bug was content: 'BC'; which I fixed it above. You may need to clear your cache and refresh your browser.
Good luck
|
No worries, cleared cache and all working now.
Many thanks.
I am not sure what you mean by point 3 ie. , All you have to do is copy the code into the HTML bock and it should work. The bug was content: 'BC'; which I fixed it above. You may need to clear your cache and refresh your browser.
Good luck
|
|
Metroero,
You're a genius! Super Solution!
I was just trying to figure out how to put some of my menu items on additional pages. Your solution is beautiful. I also got the arrows to show instead of BC with that little bug fix you included.
One thing is still bugging me a bit though, I can expand the arrows and get the sub-menus to drop down beautifully but I can't get them to retract when hitting the up arrow. Would you have any idea of what may be causing this? I've tried multiple browsers, tried on demo and test site, cleared cache and re-implemented a number of times. Could there be some other setting I'm missing?
I haven't tried it yet on my main site because I like to get it fully operational on the tests first, but would you or anyone have a clue as to what might be causing this? It's a beautiful solution and I'd like to fully implement it.
Thnx
DivineArc
|
I rememberI had to copy the code directly from his website.
Could there be some other setting I'm missing?
|
Thanks Micoots, still building and troubleshooting, will give findings soon. |
I have included all the code you needed in http://www.iranbiz.org/mods/code.html
check the page then if you like it then copy and paste the code in your HTML BLOCK where
you want the menu to show up.
good luck
|
Metroero,
I want to especially thank you for taking out a few extra minutes and baby-stepping us beginners through the process and getting me up to speed.
But I've got one, what might be considered stupid, question for you and Micoots, and anyone else who might know. (I'm thinking maybe I missed something somehow, so here goes)
The code that you've provided in this thread... aside from the BC adjustment, is it all just suppose to be copied and pasted inside the HTML Block of the new page we've created for the new menu? Or is only the HTML portion of the code to be copied and placed within the html block?
Reason why I'm asking is because I think I may have narrowed down the problem. If it's the former and you just paste in all the code inside HTML block and customize to suit (links etc.), then I think something may be wrong with my editor because it's stripping out everything but the bare html. I can get a functional unordered list with hyperlinks, but none of the animation, styling and menu behavior.
Now of course if we're suppose to make a custom CSS file and drop all the tags inside there then that would explain it. But from what I gathered, the process seemed to be much more streamlined than that [like the former]. But I'm not that familiar with Dolphin, so I hope you don't mind me asking.
BTW: I did early on get everything to almost work, that was again when the menu would not collapse after expanding. Since then I've tried numerous scenarios and the most I get is the menu to expand but not collapse. But mostly it's just been stripping the code.
...also I've tried some other scripts and again, it's stripping the code.
So question: Is the HTML block suppose to strip everything except for the html code?
I toggle, paste and save – pull it back up and the code is already stripped.
Maybe a bad install?? Did have some problems – thought all was okay.
Again guys, thanks so much for you patience and help. Once I get over this hurdle I'll be on my way.
DivineArc
Incredible site BTW!!
|
Hi Dinivearc. You're supposed to copy all the code into a HTML block (after modifying the items for your needs).
Make sure you disable TinyMCE by clicking:
Toggle HTML Editor
so you don't have TinyMCE stripping your code.
Just copy and paste from there.
|
Hey divinearc ,
No worries, we all have started like you and I am by no means anywhere close to be an expert on dolphin script.
You have a "toggling TinyMCE" problem and this is a well... kind of bug in dolphin.
This subject has been discussed in detail on this thread
https://www.boonex.com/forums/topic/HTML-Block-Issues-in-7-2.htm
which explains the stripping "rather modifying or changing" the codes in the HTML blocks.
However I will try to post the solution which is a contribution of a member here called "houstonlively", now he is an expert , not me .
Here is the solution to fix your code change.
by houstonlively:
The trouble with toggling TinyMCE off, is the damn thing keeps coming back. If you want to get rid of it entirely, look for this code in inc/classes/BxDolPageViewAdmin.php
_________________________________________________________
$sBlockContent = $aItem['Content']; //$sBlockContent = htmlspecialchars_adv( $aItem['Content'] );
if( $aItem['Func'] == 'Echo' ) { $aForm['inputs']['Content'] = array( 'type' => 'textarea', 'html' => 2, 'html_toggle' => true, 'dynamic' => true, 'attrs' => array ('id' => 'form_input_html'.$iBlockID, 'style' => 'height:250px;'), 'name' => 'Content', 'value' => $sBlockContent, 'colspan' => true, );
_________________________________________________________
$sBlockContent = $aItem['Content']; //$sBlockContent = htmlspecialchars_adv( $aItem['Content'] );
if( $aItem['Func'] == 'Echo' ) { $aForm['inputs']['Content'] = array( 'type' => 'textarea', 'html' => false, 'html_toggle' => false, 'dynamic' => true, // 'attrs' => array ('id' => 'form_input_html'.$iBlockID, 'style' => 'height:250px;'), 'name' => 'Content', 'value' => $sBlockContent, 'colspan' => false, ); _______________________________________________________________
After you made the changes and save them you have to go to the admin panel and from there
go to Tools -> Cache and empty the Cache .
Now go and copy the script into your block and save. It should work, however if you go back and try to modify anything on that block again , just make sure the \25BC is there . for some reason the block changes it to BC ... I guess dolphin has allergy to \25 and spit it out lol .
Hope this helps and it works for you .
|
Hey guys, just wanted to let you know I'll be implementing solution in just a bit. Will give you the update.
Multitasking at the moment.
DivineArc
|
Yes! YES!!
Micoots... Houston... Metroero...
Much obliged to you all! Thanks for hanging in there with the new guy. It's been and ordeal but we got the best of it. Things were happening that were making no sense at all, none whatsoever. But here's what I discovered after much much testing.
So here it is for anyone that may encounter a similar problem.
Troubleshooting Tiny MCE
...Plugging code into Tiny MCE and it doesn't work properly or Tiny MCE just strips out everything except for the html?
...Toggle Tiny MCE but still does not work?
...Inputting code exactly but just does not work?
These are just a few of the symptoms you may run into while editing script or pasting into HTML Block
But don't despair, there is always a solution.
1) Implement patch created by Houston and reposted by Metroero (2 posts up)
2) Then verify the code works in a clean bare bones environment
(for example see http://www.iranbiz.org/mods/code.html)
3) Copy code exactly (select all control c) from clean environment
4) Make all customization to code - do not plan on customizing later - make all adjustments now.
5) Clear all browser cache and refresh browser
6) Clear all Dolphin Cache ( Admin Panel - Tools - Cache - select All under Clear Cache)
7) Create entirely new page and html block if at all possible. (this is a major troubleshooting step - similar to verifying and copying code from a clean environment. Code may not work if omitted)
8) Paste as plain text (preferably) into Html Block (where Tiny MCE would be before turned off)
*ensure code is completely customized before pasting (may not be able to change later)
9) Click view page and review your newly created page (enjoy!)
* Key Factors
Code should be free of all extraneous items
Code may break if attempt to modify after initial input. (Customize before pasting)
Chief Contributors HoustonLively (superstar Developer and creator of solution) And Metroero (emerging Dolphin genius)
Thanks all
DivineArc
|
I suggest you give this div a different class name than 'container' Something more unique. The popup join form used in the EVO template, uses 'container' as a class name and the CSS for this div will cause problems.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees. |
hi, Houstonlively is right.
Please see this thread for details as how this made my login shrunk
https://www.boonex.com/forums/topic/my-join-box-shrunk-.htm
thanks
de
|