add an id tag to all links in NAV_TABLE_COLUMN

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
d-lexy
Posts: 76
Joined: Fri 22. Oct 2004, 22:59
Location: Toronto, Canada / Tallinn, Estonia

add an id tag to all links in NAV_TABLE_COLUMN

Post by d-lexy »

hello,

I vant to assign an specific css style to all links in NAV_TABLE_COLUMN. How can I accomplish that?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

take a look to your conf.template_default.inc.php

Code: Select all

$template_default["nav_table_struct"]["table_class"]			= "myNavTable";
..
$template_default["nav_table_struct"]["cell_class"]				= "nav_table";
..
$template_default["nav_table_struct"]["cell_active_class"]		= "nav_table_active";
......
and more :)
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
d-lexy
Posts: 76
Joined: Fri 22. Oct 2004, 22:59
Location: Toronto, Canada / Tallinn, Estonia

Post by d-lexy »

Pico,

Those settings allow me to assign stylesheets to cells, but I the links don't change :(
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hi

sorry don't understand realy what you mean - your first Question was
I vant to assign an specific css style to all links in NAV_TABLE_COLUMN. How can I accomplish that?
maybe you want to know where to change the Styles ?

then look into your frontend.css
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
d-lexy
Posts: 76
Joined: Fri 22. Oct 2004, 22:59
Location: Toronto, Canada / Tallinn, Estonia

Post by d-lexy »

hi pico!

thnx for your help. What I wanted to do, is to have an ID tag within every generated link that is within the NAV_TABLE_COLUMN menu.

so if you would look at the source of those links they would look something like

Code: Select all

<a href="index.php?overview" id="menu_links">Overview</a>
then I can create a style within frontend.css like

Code: Select all

a#menu_links { ... }
I figured out how to do it in front.func.inc.php. Just add that tag into the "<a..." on lines 935, 940, 949
Post Reply