cotonti.com : Alt. text to rowcat icon https://www.cotonti.com Последние сообщения в теме Cotonti en Fri, 09 Oct 2026 21:43:45 -0000 musiconly ]]> вс, 29 мар 2009 19:01:52 -0000 medj
EDIT: Something even stranger has happened and that is that it has just started working.
For some reason, when I was uploading my changes yesterday night, they were not showing up yesterday.
Maybe something with my host/server...]]>
вс, 29 мар 2009 06:48:09 -0000
musiconly
If that code was for forum structure, it would be using db_forum_structure.

Are you sure you have done everything right?

I'm using Seditio 125 and I've applied that fix.

You can see the real example here:

http://www.gitare.info/list.php?c=wiki]]>
сб, 28 мар 2009 19:12:02 -0000
medj It seems that my changes are not appearing on the category page. Maybe those lines were for the forum structure?]]> сб, 28 мар 2009 10:38:57 -0000 musiconly ]]> сб, 28 мар 2009 03:30:30 -0000 medj сб, 28 мар 2009 01:43:17 -0000 musiconly пт, 27 мар 2009 17:35:14 -0000 Kort пт, 27 мар 2009 17:17:08 -0000 pieter пт, 27 мар 2009 17:14:09 -0000 musiconly # Kort : Actually, thats the ways it should be!

I don't understand your post. You're referring to what?]]>
пт, 27 мар 2009 17:05:17 -0000
Kort пт, 27 мар 2009 16:56:36 -0000 musiconly
if (!empty($row['structure_icon']))
			{ $row['structure_icon'] = "<img src=https://www.cotonti.com/\"".$row['structure_icon']."\" alt=\"\" />"; }

to this:

if (!empty($row['structure_icon']))
			{ $row['structure_icon'] = "<img src=https://www.cotonti.com/\"".$row['structure_icon']."\" alt=\"".$row['structure_title']."\" title=\"".$row['structure_title']."\" />"; }

Note:

ALT attribute is used when src image can NOT be found, and then it displays the data which is supplied for ALT (in your case structure title) instead of IMAGE. ALT attribute is NOT here to show info when user HOVERS over image - but the stupid IE6/7 uses it for that purpose.

TITLE attribute is used for showing info when HOVERING over picture.]]>
пт, 27 мар 2009 16:41:03 -0000
medj I checked out the skin file and found that I would not be able to edit it there.
I then checked out the list.inc.php file in the core and it doesn't seem that I am able to edit it there either. Does anyone know how I can add alt text. I basically just want the Category Title to appear on the alt text. Thanks.

By the way, I'm running Seditio, but I have a feeling this alt text problem might not have been fixed in Cotonti yet.

Hopefully someone can let me know how to accomplish this.]]>
пт, 27 мар 2009 13:25:30 -0000