Page 1 of 1

can't get rid off nav-images

Posted: Tue 11. May 2004, 12:55
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

Posted: Tue 11. May 2004, 13:33
by SNap
ok. i got it... img/leer.gif ... strange :)

Posted: Tue 11. May 2004, 14:05
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.

Posted: Tue 11. May 2004, 15:32
by SNap
i even tried to set it to ""; same effect ;)

Posted: Tue 11. May 2004, 17:31
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.

Posted: Tue 11. May 2004, 18:06
by SNap
np. thx anyway :) i'll keep your advise in mind ;)