News:

Wondering if this will always be free?  See why free is better.

Main Menu

Menu without limit level

Started by davidhs, March 08, 2010, 03:47:03 PM

Previous topic - Next topic

Zirc

Thanks for your help davidhs.  Although your suggestion didn't work it got me doublechecking all the code in the index.css again and I found that I had another div wrapping the div for my navigation bar that was being hidden.  Once I changed the z-index of that div it fixed the problem.

davidhs

New version:
1.0.6   2011-12-24
------------------
! Some modifications of index.css of theme are not neccesary.
+ SMF compatibility: Adds 2.0.2.

SKOTINOS_AGELOS

After installation is not displayed in admin panel?
And I can not find it  to set  up it !

davidhs

Quote from: SKOTINOS_AGELOS on January 06, 2012, 11:42:31 AM
After installation is not displayed in admin panel?
And I can not find it  to set  up it !
This MOD have not admin panel. It only adds support to unlimited number of levels.

You must create menu as usual: modify file Subs.php or, if your forum is 2.0 RC4 or next, use integration hooks. I explain how make this in first post (see example)
http://www.simplemachines.org/community/index.php?topic=369595.msg2528782#msg2528782


Rex Zac

how can i put open in new window?
this doesnt work:
'href' => 'http://www.myurl.net' target="_blank",

davidhs

Quote from: Rex Zac on February 03, 2012, 07:25:12 AM
how can i put open in new window?
this doesnt work:
'href' => 'http://www.myurl.net' target="_blank",
This feature is not of my MOD, else of SMF. Perhaps...
'href' => 'http://www.myurl.net', target => "_blank",
;)


Rex Zac

ok, one more problem ;)

I moved from linux on windows, and am getting this error:

Administrator
my IP   
    Today in 23:17
82528079dd6d2a261108b50642dcf993
Error: not defined

http://www.myurl.info/forum/index.php?8:
Use of undefined constant target - assumed 'target'
Data: mypath/wwwroot/forum/Sources/Subs-MenuMultiLevel.php
Line: 72

do u know maybe how to solve this? even it does work, am getting my error log filled fast

davidhs

#49
On linux works and on windows have error?

I need see your file
Quote from: Rex Zac on February 08, 2012, 05:21:14 PM
mypath/wwwroot/forum/Sources/Subs-MenuMultiLevel.php

Can you attach here?

Rex Zac

#50
correctily.
It works on linux and win, however, on win I am getting error as I copied


here it is, even I put comments now on this problematic part of code so I dont get spammed of errors.

davidhs

Excuse me. :-[

My previous correction is wrong. I wrote a typo.

target must be quoted
'href' => 'http://www.myurl.net', 'target' => "_blank",


davidhs

New version:
1.0.7   2012-12-22
------------------
+ SMF compatibility: Adds 2.0.3.

davidhs

New version:
1.0.8   2013-04-09
------------------
+ SMF compatibility: Adds 2.0.4.
- SMF compatibility: Removes support to RC versions.

davidhs

New version:
1.0.9   2013-08-18
------------------
@ This work is licensed under a Creative Commons Attribution 3.0 Unported License http://creativecommons.org/licenses/by/3.0/
+ SMF compatibility: Adds 2.0.5.

davidhs

New version:
1.0.10  2013-10-24
------------------
+ SMF compatibility: 2.0.6.

handy1

#57
How I can change sub buttons background colour?




davidhs

Quote from: handy1 on January 06, 2014, 05:03:37 AM
How I can change sub buttons background colour?
Change CSS or create new rules
.dropmenu li li
{
background: url(../images/theme/menu_gfx_new.png) no-repeat 100% xxxpx;
}

and create other image with your colour like this

handy1

Auts, looks difficult if only editorskills is Paint ;D

But thanks anyway, now I know what to do.

Advertisement: