{NAV_TABLE_COLUMN} image on right

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

{NAV_TABLE_COLUMN} image on right

Post by SNap »

hi,

i want that image on the right side of the navigation instead of on the left side....

how would i have to do that?

Cheers
SNap
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi SNap,

i don´t know how you can manipulate the NAV_TABLE_COLUMN, but I would prefer for those things NAV_LIST or NAV_STRUCT http://www.phpwcms.de/forum/viewtopic.php?t=10369


Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

well NAV_LIST shows current level, only. and NAV_STRUCT i can't find a real example that could replace NAV_TABLE_COLUMN
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi, :oops:

oh sorry, I meant NAV_LIST_ALL: www . mz.ja-nek . de/test2_3_1.phtml
have a look (NAV_STRUCT): www . mz.ja-nek . de/test2_4.phtml

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

hmm i don't get it .... i want in this site (construction) http://henters.area4711.de make the navi like in this screenshot: http://www.datensysteme-lenk.de/henters2.gif
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi SNap,

Thats very easy.
I hope there is a push into the right direction: www . mz.ja-nek . de/de_test2_3_2.phtml

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
Klappstuhl28
Posts: 833
Joined: Fri 4. Mar 2005, 01:58
Location: Hamburg
Contact:

Post by Klappstuhl28 »

edited: Hat sich ja schon erledigt.
Lars

Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

flip-flop wrote:Hi SNap,

Thats very easy.
I hope there is a push into the right direction: www . mz.ja-nek . de/de_test2_3_2.phtml

Gruß Knut
is that NAV_LIST_ALL or NAV_LIST_STRUCT?
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi SNap,

it´s NAV_LIST_ALL. Have a look a second time: www .mz.ja-nek. de/de_test2_3_2.phtml

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

but what do i do with that php file? how do i integrate it in phpwcms?
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

It´s a RT like many other.

1. Copy the unpacked file to /phpwcms_template/inc_script/frontend_render/
2. Please adjust your conf.inc.php file

Code: Select all

$phpwcms["allow_ext_init"] = 1; //allow including of custom external scripts at frontend initialization
$phpwcms["allow_ext_render"] = 1; //allow including of custom external scripts at frontend rendering
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

i did... but i don't get it....

http://henters.area4711.de
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

You did not understand the function yet.
It´s easy.
The css-snippet you are using is made for level 4.
But your site at the first level uses level 1.
Plaese have a look at the generated code of your site.

--------------------------
<td valign="top" width="166"><table><tbody><tr><td with="166">
<div style="background-image: url(picture/bg/grey_grey.gif);" navlist="">
<div class="MenuItem_1"><a href="index.php?index" target="" title="Home">Home</a></div>
<div class="MenuItem_1" id="activeSection"><a href="index.php?team" title="Wir über uns">Wir über uns</a></div>
<div class="MenuItem_1"><a href="index.php?produkte" title="Produkte">Produkte</a></div>
<div class="MenuItem_1"><a href="index.php?impressum" title="impressum">impressum</a></div>
</div>
<div><img src="img/leer.gif" alt="" border="0" height="10" width="166"></div>
</td></tr></tbody></table></td>
-------------------------
Please try this instead of the blue entry: <div style="background-image: url(picture/bg/grey_grey.gif);">

Every Level has it´s own css block!!! You can do what you wan with this block.
Please change at the css code the entries MenuItem_4 -> MenuItem_1.

Have a look at my nav_list_right.css.

The right way: Moving the table 40px to the right.
The rest should be simple now. (range of background gif and so on)
---------------------------
<td valign="top" width="138">
<div style="padding: 0 0 0 40px;">
<table><tbody><tr><td>
<div style="background-image: url(picture/bg/grey_grey.gif);">
<div class="navList">
<div class="MenuItem_1"><a href="index.php?index" target="" title="Home">Home</a></div>
<div class="MenuItem_1" id="activeSection"><a href="index.php?team" title="Wir über uns">Wir über uns</a></div>
<div class="MenuItem_1"><a href="index.php?produkte" title="Produkte">Produkte</a></div>
<div class="MenuItem_1"><a href="index.php?impressum" title="impressum">impressum</a></div>
</div>
</div>
<img src="img/leer.gif" alt="" border="0" height="10" width="138">
</td></tr></tbody></table>
</div>
</td>
-------------------------

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

ok, i almost got it, but i want the active menuitem to keep the right red block...

can't figure out why it is grey
'welcome to the real world!' datensysteme-lenk
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

oh Lord,
-----------------------------------------
.MenuItem_1#activeSection A:active, .MenuItem_4#activeSection A:link, .MenuItem_4#activeSection A:visited
-----------------------------------------
Please, a little bit more effort. :wink:

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply