[Tip] Drop Down Menu Feature of Dilber MC Theme

Started by Hoochie Coochie Man, August 04, 2008, 06:14:12 AM

Previous topic - Next topic

Hoochie Coochie Man

@asudhakar

Would you attache your index.template.php please?




@F.L.A.M.E.R

here is your arcade button.

<li class="level1"><a href="', $scripturl, '?action=arcade" class="level1"><span><span class="title">' , $txt['arcade'] , '</span></span></a></li>
İnadına SMF 1.1.X

Sudhakar Arjunan

Quote from: Hoochie Coochie Man on August 31, 2008, 08:12:37 AM
@asudhakar

Would you attache your index.template.php please?


Hi i have removed this tag


                  // the [member] list button
                  if ($context['allow_memberlist'])
                  echo '
                                  <li class="level1 parent"><a href="', $scripturl, '?action=mlist" class="level1 parent"><span><span class="title">' , $txt[331] , '</span></span></a>
                                  <ul class="level2">
                      <li class="level2"><a href="', $scripturl, '?action=mlist" class="level2"><span>' , $txt['hcm_viewmembers'] , '</span></a></li>
                      <li class="level2"><a href="', $scripturl, '?action=mlist;sa=search" class="level2"><span>' , $txt['hcm_searchmembers'] , '</span></a></li>
                  </ul></li>';


And Replaced with this tag,


                      <li class="level2"><a href="', $scripturl, '?action=mlist" class="level2"><span>' , $txt['hcm_viewmembers'] , '</span></a></li>
                      <li class="level2"><a href="', $scripturl, '?action=mlist;sa=search" class="level2"><span>' , $txt['hcm_searchmembers'] , '</span></a></li>


Will this give any issue.
Check out the website : http://forum.itacumens.com/

And you try to drop down a menu named "Other menu"

give your comment on this edit.

I have taken the members drop down since, if the visitors using 640 * 800 resolution screen - They said the menus like logout and some menu were going to the next line.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Hoochie Coochie Man

İnadına SMF 1.1.X

Sudhakar Arjunan

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Hoochie Coochie Man

İnadına SMF 1.1.X

Sudhakar Arjunan

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Adish - (F.L.A.M.E.R)

I was wondering how would this look like in the Orange Vista theme ? Any idea ?

Hoochie Coochie Man

Quote from: F.L.A.M.E.R on September 01, 2008, 08:32:23 AM
I was wondering how would this look like in the Orange Vista theme ? Any idea ?

This tip is not compatible with other themes.
İnadına SMF 1.1.X

Adish - (F.L.A.M.E.R)

okay.. but we can do some editing and do something like this in other themes aswell ?

Eliana Tamerin

Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Adish - (F.L.A.M.E.R)


Antechinus

By the way if anyone has been having trouble running TP with these menus and finding the upshrinks get messed up with the buttons (which is what I found when I tested it) I have a solution. I found that if you put the upshrinks in the <td> on top of the side bars they'll stay there quite happily and wont interfere with the buttons.

As an example:

// TinyPortal integrated bars
if($context['TPortal']['leftbar'])
{
  echo '<td class="leftbar" width="' ,$context['TPortal']['leftbar_width'], '" style="padding: ' , isset($context['TPortal']['padding']) ? $context['TPortal']['padding'] : '4' , 'px;" valign="top" >';
 
if($context['TPortal']['leftbar'])
echo ' <a href="javascript:void(0);" onclick="shrinkHeaderLeftbar(!current_leftbar); return false;"><img id="upshrinkLeftbar" src="', $settings['images_url'] . '/'. $settings['theme_main_color'], '/', empty($options['collapse_leftbar']) ? 'upshrink.gif' : 'upshrink2.gif', '" alt="*" title="', $txt['upshrink_description'], '" style="margin: 0 0 0 2px;" border="0" /></a><img id="upshrinkTempLeftbar" src="', $settings['images_url'], '/blank.gif" alt="" />

<div id="leftbarHeader"', empty($options['collapse_leftbar']) ? '' : ' style="display: none;"', ' style="width: ' ,$context['TPortal']['leftbar_width'], 'px;" align="left">';
 
  TPortal_sidebar('left');
  echo '</div></td>';

}

Antechinus

Quote from: F.L.A.M.E.R on September 01, 2008, 08:47:31 AM
okay.. but we can do some editing and do something like this in other themes aswell ?
I've done something similar with Outline. It should be possible with pretty much any theme.

espressoguy

I tried this and ended up with a mess...

   ...anyone care to share/upload their:
    1. index.template.php
    2. Settings_english.php  ...and...
    3. style.css

  ?

Sudhakar Arjunan

HI HCM & all,

am using 2.0.4 with Energy Theme - http://custom.simplemachines.org/themes/index.php?lemma=974

Will i get edits for having a drop down like one i had for Dilber Mc on 1.1.6 made By Hoochie coochie Man.

Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Oldiesmann

Quote from: A.SK on October 17, 2008, 05:11:31 PM
HI HCM & all,

am using 2.0.4 with Energy Theme - http://custom.simplemachines.org/themes/index.php?lemma=974

Will i get edits for having a drop down like one i had for Dilber Mc on 1.1.6 made By Hoochie coochie Man.



Do you still need help with this?
Michael Eshom
Christian Metal Fans

Antechinus

No. I sorted him in the other drop menu thread.

Sudhakar Arjunan

Quote from: Oldiesmann on December 13, 2008, 10:55:50 PM

Do you still need help with this?

As Antechinus informed. He had helped me in doing other menu. Now i have menu in all my themes.

Excellent one is XMas theme from DzinerStudio.

Thanks a lot Oldiesmann.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

ic_819

guyz i did it but still could'nt get it if neone would like to help me that would b very gud of them m learnin things for SMF but obstacles cummin  :'(

so i would ask sumone to  help out HCM can u plz ?

i ll provide all info to u cpanel | test a/c {admin privilages:P}  then FTP n all u want but plz do it for me !

Jessikard

 :( is here anybody who knows about a level3-menu ?
we´ve included the dropdown-menu but we need the 3rd level
every code i tried went wrong
help please
Jessi

Advertisement: