NAV_LIST_UL >= V1.30

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

We are talking about {NAV_LIST_UL:.....} - vertical output :?:
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Post by update »

Knut :oops: :oops: :oops:
Sorry man - yesterday had been really upsetting for me and I've been posting into the wrong topic (should have some new glasses I think)
I of course meant the {NAV_HORIZ_DD:ID} :oops: :oops:
Perhaps this can be pulled over into the right thread? Sorry again - but the question remains :wink:
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Strange Behaviour

Post by daniel.grant »

Using {NAV_LIST_UL:} in http://bridgeinsurance.com/index.php

Go to http://bridgeinsurance.com/index.php?id=2 and you see that the menu item doesn't expand. Cannot find a reason for this.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_LIST_UL >= V1.30

Post by flip-flop »

Please have a look into the category Commercial. Is there any hidden category under these category?
Do you use a separate template for this category?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: NAV_LIST_UL >= V1.30

Post by daniel.grant »

no hidden categories etc.

I just made a new category and it works now - odd.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: NAV_LIST_UL >= V1.30

Post by Jensensen »

right now your top nav [which was already great! but now] smashes up:

check CSS
#doc4{width:74.923em;*width:73.117em;}
there ARE lots of --> *

to use comments in CSS better use: /* my comment */
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: NAV_LIST_UL >= V1.30

Post by daniel.grant »

Jensensen wrote:smashes up
CSS file got deleted - fine now!


Jensensen wrote:there ARE lots of --> *
This is part of yahoo's user interface CSS framework. They use a lot of hacks for cross-browser compatibility - in this case an IE hack for correct page width. Hardly a framework for CSS purists. Anyway, going off topic there...
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: NAV_LIST_UL >= V1.30

Post by daniel.grant »

What is the solution for creating a navigation menu

Home | Item 1 | Item 2 | Item 3

?


Seems like a simple enough problem but no solution is obvious to me.
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: NAV_LIST_UL >= V1.30

Post by daniel.grant »

Actually I can think of a solution.

.hcss_footer ul li {border-left: 1px;}
#li_nav_1 {border:0;} /* First menu item */

As the id of the first menu item stays the same that works fine.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_LIST_UL >= V1.30

Post by flip-flop »

Or you get this: {NAV_ROW:INT:0 or 1} -> http://www.phpwcms-docu.de/navigation_tags.phtml
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
daniel.grant
Posts: 97
Joined: Thu 2. Nov 2006, 15:42
Location: London

Re: NAV_LIST_UL >= V1.30

Post by daniel.grant »

Ah nice, a bit of old school phpwcms. yes that is much simpler.

Thanks Knut.
dinnocon
Posts: 62
Joined: Tue 17. Jul 2007, 15:49
Location: UK, Kent

Re: NAV_LIST_UL >= V1.30

Post by dinnocon »

Can anyone please instruct me on how I can use this menu to only display 2 items? The main menu of my site is horizontal and has 6 items. The two I want to appear in the vertical menu I have tagged as hidden. The whole menu appears though, see image (bottom right). The code I have used is -
<div class="nlu_list_level">{NAV_LIST_UL:F,17,1,,active} </div>

The categories I want to appear are - Quote Request [ID:7] and Contact Us [ID:8]
I am a total newbie to this, can someone please help?

Image
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_LIST_UL >= V1.30

Post by flip-flop »

Hi,

{NAV_LIST_UL:F,17,1,,active}

ID=17 is the right category-ID for your navigation in the right???

Please have a look into - NAV_LIST_UL -basics
@string $parameter =
"menu_type, start_id, max_level, class_path, class_active, ul_id_name, wrap_ul_div(0 = off, 1 = <div>, 2 = <div id="">), wrap_link_text(<em>|</em>)"

E.g.: {NAV_LIST_UL:F, 19, 10, NLU_CSS, NLU_ACT, NLU_ID, 2, <em>|</em>}
and - NAV_LIST_UL

In mind layout07_2.txt:

Code: Select all

Comment: Top Navigation 
...................................................................
The upper navigation is a splited variant. The categories are discarded in an 
hidden section. 
E.g.: <div class="nlu_list_level">{NAV_LIST_UL:F,17,1,,active}</div>
- home
--- categ.01
--- categ.02
----- categ.02_01
----- categ.02_02
--- categ.03
--- hidden_categ.  (hidden) (for me ID=17)
----- start        (visible) (Please forward this entry to index.php)
----- search       (visible)
----- sitemap      (visible)
----- contact      (visible)
----- imprint      (visible)

The last two entries are [print] and [back].
Using the same layout, I have implement a separate class. 
Have a look into nlu_nav07_2.css 
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
dinnocon
Posts: 62
Joined: Tue 17. Jul 2007, 15:49
Location: UK, Kent

Re: NAV_LIST_UL >= V1.30

Post by dinnocon »

Knut. You are the man!!

Thank you for your help. Much appreciated.
dinnocon
Posts: 62
Joined: Tue 17. Jul 2007, 15:49
Location: UK, Kent

Re: NAV_LIST_UL >= V1.30

Post by dinnocon »

Sorry Knut, could I pick your brain one more time? I am using the horizontal navigation ( <div class="hcss_menu1">{NAV_LIST_UL:F,0,10,,active}</div> ) which works fine in Firefox. The issue I have is in IE the second level doesn't remain long enough for me to click on anything. Is there a way of setting the delay so the menu items are accessible for longer?
Post Reply