can't get rid off nav-images

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

can't get rid off nav-images

Post by SNap »

hi,

when i use {NAV_TABLE_COLUMN}

i can't get rid off the images

i commented following lines out in conf.template_default.inc.php:

Code: Select all

$template_default["nav_table_struct"]["linkimage_norm"]			= "img/article/nav_link_0.gif";
$template_default["nav_table_struct"]["linkimage_over"]			= "img/article/nav_link_1.gif";
$template_default["nav_table_struct"]["linkimage_active"]		= "img/article/nav_link_2.gif";

but that doesn't do the job :( still get an red 'x' for image not found...

what did i do wrong?

Cheers
SNap
'welcome to the real world!' datensysteme-lenk
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

ok. i got it... img/leer.gif ... strange :)
'welcome to the real world!' datensysteme-lenk
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

You should not just comment those lines out - this means that those entries are not available in the $template_default[] array which can cause this errors.

This is the case at almost every place in the code - if you (I mean the general "you") just comment out something, this can affect the whole code.
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

i even tried to set it to ""; same effect ;)
'welcome to the real world!' datensysteme-lenk
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

by changing the variable to "" you are only changinh the name the file looks for and NOT stopping the file from looking at all. the result is that the space (location, function, width & height) created elsewhere in the code remains and will be displayed. the icon with th e red-X is the placeholder for the image until the correct file is found and loaded, this icon will never be replace by the image if there is no image found with the path/name specified :)

If you don't want the image at all then the best all-round choice is to use leer.gif as you have.
SNap
Posts: 314
Joined: Wed 5. May 2004, 10:45
Location: Passau, Bavaria, Germany
Contact:

Post by SNap »

np. thx anyway :) i'll keep your advise in mind ;)
'welcome to the real world!' datensysteme-lenk
Post Reply