menu issues...

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

menu issues...

Post by odeniyi »

Hi,I want to use pure css dynamic menus. I tried playing around with {NAV_LIST_CURRENT} and ahve the following questions:-

1. I can change {NAV_LIST_CURRENT} by editing frontend.css, however what if I want different styles for different templates?

2. On the home page the menu is set up ok. if I click a menu item i see the new page with the selected item only - where are teh other menu items?

3. {NAV_LIST_TOP:IndexName:ClassName} - what is the syntax for calling another class (in ext css?)

am getting there...i think :)
Olu
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

are the questions clear? :)
Olu
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

After a little experimentation I think {NAV_LIST_CURRENT} was probably designed to be used with {BREADCRUMBS}. That's why it doesn't show main level menu but only contextual menu.

I'll next experiment with the additional replacement tags

- NAV_LIST_SETLEVEL
- {NAV_TAB_LEVELS}
- {BREADCRUMB_LEVELS}

I can relay findings here with some comprehensive updates so other newbies can benefit assuming I can get them to work as required.
Olu
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

Having a good chat with myself here :)

I got NAV_LIST to work (didn't know it existed until reading comments about NAV_TABLE_SETLEVEL as it isn't on the docu site).

However, still can't get the additional RTs like NAV_TABLE_SETLEVEL nor NAV_TAB_LEVELS to work.

Boy is this painful..... :?
Olu
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

to make it a bit more dialogue :-):

have you set this?

- for use of this you must set in ../config/phpwcms/conf.inc.php:
$phpwcms["allow_ext_init"] = 1;
$phpwcms["allow_ext_render"] = 1;
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

thanks cyrano :D

I had seen those settings. They are set to "1" by default in 1.2.6.

All I've done is copy the php_ files to frontend_render and set to 644.

Does seem a bit too simple....but can't see to do anything else....????
Olu
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

OK I got NAV_TABLE_SETLEVEL and NAV_LIST_SETLEVEL to work. If syntax is wrong you don't get any result. Experiment or die :)

Still can't get NAV_TAB_LEVELS to work but that's OK as I want pure css, not DHTML/javascript.

I still can't configure the menus using css as the RTs don't seem to take any notice of :"css className".

I'm assuming this self defined class should be in frontend.css?

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

Post by flip-flop »

Hi odeniyi,

Take al look: http://www.phpwcms.de/forum/viewtopic.p ... ght=#52477

Merry Christmas and a Happy new Year.

Knut :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

Thanks fli-flop - I had seen that but don't know where to place the css. I've tried in frontend.css and header template - any ideas?

I trid a simple class with :-

tstcss {

list-style-type: none;

}

Merry Christmas and a happy new year to you too and thanks for your help.
Olu
odeniyi
Posts: 30
Joined: Sun 18. Dec 2005, 10:57
Location: UK
Contact:

Post by odeniyi »

Got it!!!

You have to specify . className ul & li etc......

OK know this is sad on the big day but I've just put the bird in the oven..... :D

enjoy your celebrations & god bless you!
Olu
Post Reply