Page 1 of 1

{NAV_ROW_LEVEL} Updated 14-12-2005 with enhancement

Posted: Mon 5. Dec 2005, 12:59
by jon rain
Hallo,Hi,

!!!updated 14-12-2005!!!

!!updated 02-01-2005!!! NAV_ROW_LEVEL -> NAV_ROW_LEVELS
Syntax for All with 's
NAV_ROW_LEVELS
NAV_TAB_LEVELS
BREADCRUMB_LEVELS



This new replacementtag allows you to show a selected LEvel of the Menu in horicontal arrangement like NAV_ROW.

NAV_ROW_LEVELS
Version: 1.0
Replacementtag for NAV_ROW_LEVELS
This replacementtag allows you to show an specific level of the Menu. Also you can
show the home-level in first. It is possible to hide the menu if there is no such
level in tree. If you use level 0 or level 1 it is near the same as NAV_ROW.

Stetting classes and path Like NAV_TAB_LEVELS!
ATTENTION: The File in download below replaces NAV_TAB_LEVELS.php, because there are same function used!!


NEW: you can use different classes for different levels, and you can set the position. Direct before is after anchor for link und before is before anchor!

Classes: levRowClass with leveldepth (levRowClass0, levRowClass1,...) with Prefix (jr_levRowClass0, jr_levRowClass1,...)

OLD: {NAV_ROW_LEVEL:2:0:1}


NEW: {NAV_ROW_LEVELS:2:0:1:1:jr_:d}

· :2 set wich level to display (>= 0, usefull >= level 2)
· :0 show Home or not (1: yes, 0:no)
· :1 hide the Menu if there is no submenu in the choosen level (1: yes, 0:no)
· :1 use level classes (1: yes, 0:no)
· :jr_ using different class for NAV_ROW_LEVEL call (any character)
· :d set the position of the class (d=direct before link, b=before link)



Mit diesem Replacementtag kannst Du ein horizontales Menü anzeigen lasse, das nur den von Dir vorgegebenen Level anzeigt.

Version: 1.0
Replacementtag for NAV_ROW_LEVELS
Mit diesem Replacementtag kann man eine Ebene des Menüs horizontal ausgeben.Weiters kann das Home-Menü ein oder ausgeblendet werden.
Das Menü kann versteckt werden, wenn keine entsprechende Ebene gefunden wurde. Die Ebenen 0 und 1 haben die gleiche Wirkung wie NAV_ROW. Hier sollte man als erste auswählbare Ebene die eins verwenden, wenn dies nciht der Ersatz von NAV_ROW ist.

Die Einstellungen sind wie bei NAV_TAB_LEVELS!
ACHTUNG: die unten zum Download zur Verfügung gestellte Datei ersetzt die DATEI NAV_TAB_LEVELS.php, da die gleichen Funtkionen benutzt werden!


NEU: Man kann nun für jede Ebene eine eigene Klasse setzen und die position der Klasse bestimmen. Direct befor bedeutet, dass die Klasse nachdem Link ANker ist und befor bedeutet das die Klasse vor dem Anker ist .


Klasses: levRowClass mit anschließender Ebene (levRowClass0, levRowClass1,...) mitPrefix (jr_levRowClass0, jr_levRowClass1,...)



ALT: {NAV_ROW_LEVEL:2:0:1}

NEU: {NAV_ROW_LEVELS:2:0:1:1:jr_:d}



· :2 Ebene die angezeigt werden soll(>= 0, nütrzlich ab Ebene 2 / >= level 2)
· :0 Anzeige von Home oder nicht (1: yes, 0:no)
· :1 verstecken des Menüs wenn keine entsprechende Ebene gefunden wurde. (1: yes, 0:no)

· :1 eigen Ebenenklassen verwenden (1: yes, 0:no)
· :jr_ Prefix für Aufruf der bei NAV_ROW_LEVELS (jedes Zeichen)
· :d Position der Klasse bestimmen(d=direct before link, b=before link)





Einstellungen in conf.inc.php, wenn noch nicht eingetragen
- ../config/phpwcms/conf.inc.php:
$phpwcms["allow_ext_init"] = 1;
$phpwcms["allow_ext_render"] = 1;
- Kopieren der zur Verfügugn gestellten php-Datei into
phpwcms_template/inc_script/frontend_render/
Umbenennen und Underline hinter php löschen



Settings in conf.inc.php, if not registered

- for use of this you must set in ../config/phpwcms/conf.inc.php:
$phpwcms["allow_ext_init"] = 1;
$phpwcms["allow_ext_render"] = 1;
- copy the provided .php-file into
phpwcms_template/inc_script/frontend_render/
delete the underline after php in filename


Beschreibung von NAV_TAB_LEVELS siehe:

description of NAV_TAB_LEVELS at:


http://www.phpwcms.de/forum/viewtopic.php?t=9213



DOWNLOAD:

http://www.regenfelder.net/downloads/NA ... LEVELS.zip
or
http://www.act2opt.at/downloads/NAV_TAB_ROW_LEVELS.zip

Re: {NAV_ROW_LEVEL}

Posted: Tue 6. Dec 2005, 13:48
by jon rain
Hi,

There was a little bug. Two comments for developping was not remarked.

New download will be able today (06.12.2005) at 15:00

sorry

Posted: Mon 12. Dec 2005, 03:11
by cyrano
hi jon_rain,

nice RT- can the {NAV_ROW_LEVEL} Tag also be used with different CSS classes as the {NAV_TABEL_LEVELS}?

Or could be enhanced?

I want to get the page which is selected in another color.

Anyway - great long needed stuff you made.

Posted: Mon 12. Dec 2005, 12:14
by jon rain
Hi cyrano,

You can use the class: nav_row in frontend.css for setting the other color.

.nav_row a:active {
color: #000080;
text-decoration: none
}

.nav_row a,.nav_row a:visited {
color: #4A69AA;
font-weight: bold;
text-decoration: none;
}

.nav_row a:hover {
color: #000080;
font-weight: bold;
text-decoration: underline;
}





cyrano wrote:hi jon_rain,

nice RT- can the {NAV_ROW_LEVEL} Tag also be used with different CSS classes as the {NAV_TABEL_LEVELS}?

Or could be enhanced?

I want to get the page which is selected in another color.

Anyway - great long needed stuff you made.

Posted: Mon 12. Dec 2005, 15:45
by cyrano
hi jon rain,

thank you for reply.

i digged this out and works, but this lacks also when using another RTs.

When i click on a aubpage i want to highlighten this when selected and loaded as it is for e.g. when using the breadcrumb RT.

I will check my css settings now first...

Posted: Tue 13. Dec 2005, 14:09
by jon rain
Hi cyrano,

It depends on the order of the class entries!

.nav_row a {
color: #4A69AA;
font-weight: bold;
text-decoration: none;
}

.nav_row a:active {
color: #000080;
font-weight: bold;
text-decoration: none;
}


.nav_row a:link {
color: #4A69AA;
font-weight: bold;
text-decoration: none;
}

.nav_row a:visited {
color: #4A69AA;
font-weight: bold;
text-decoration: none;
}

.nav_row a:hover {
color: #000080;
font-weight: bold;
text-decoration: underline;
}


hover should be the last!

lg jon rain
cyrano wrote:hi jon rain,

thank you for reply.

i digged this out and works, but this lacks also when using another RTs.

When i click on a aubpage i want to highlighten this when selected and loaded as it is for e.g. when using the breadcrumb RT.

I will check my css settings now first...

Posted: Wed 14. Dec 2005, 12:21
by jon rain
Hello,

Look at the first Task. it has been updated.
cyrano wrote:hi jon_rain,

nice RT- can the {NAV_ROW_LEVEL} Tag also be used with different CSS classes as the {NAV_TABEL_LEVELS}?

Or could be enhanced?

I want to get the page which is selected in another color.

Anyway - great long needed stuff you made.

Posted: Tue 24. Jan 2006, 18:51
by pico
wollte mir das grad mal 'antun' aber jetzt ist der Download-Link tot ?



:(

Posted: Tue 24. Jan 2006, 22:01
by jon rain

Posted: Tue 24. Jan 2006, 22:53
by flip-flop
Hi jon rain
Der Link funktioniert nicht. 24.01.06 22.48 Uhr (Ging schon vor vier Stunden nicht).
www(.)regenfelder.net ist nicht erreichbar.
regenfelder.net verlangt einen Benutzer und PW.

Gruß Knut

funzt nicht...

Posted: Wed 25. Jan 2006, 09:44
by noodleboy
hey, wollte mir auch gerade diesen link runteralden, funzt nicht!!

Re: funzt nicht...

Posted: Fri 27. Jan 2006, 01:14
by jon rain
Hallo,


Meine Webseite wurde auf einen neuen Server verlegt. Es scheint, dass man von außen nicht mehr richtig hinkommt.

Bitte diesen Link verwenden

http://www.act2opt.at/downloads/NAV_TAB_ROW_LEVELS.zip