2006-06-05, 04:09 PM
2006-06-13, 06:10 PM
WHat icon are u refering to, where you want it ?
2006-06-14, 12:12 PM
Here:
[attachment=3179]
[attachment=3179]
2006-06-14, 12:31 PM
Hmm i see, this needs a somehow "big" modification for nothing, as we need to alter the database table of the announcement with 1 new field, and edit the templates, and also add some php lines in the front end, and also edit the announcement manager to allow u to set an icon.
so my suggestion here, is it ok for you to have an icon that is the same for all the announcement ?
regards
so my suggestion here, is it ok for you to have an icon that is the same for all the announcement ?
regards
2006-06-14, 01:36 PM
Yeah, one icon for all announcements is absolutely enough.
I understand. You are right. Lots of bother for nothing.
Thanks a lot zaher.
I understand. You are right. Lots of bother for nothing.
Thanks a lot zaher.
2006-06-14, 01:46 PM
then in the forum display templates > forumdisplay_announcements_announcement
find
replace with
find
<td align="center" class="$bgcolor"> </td>
replace with
<td align="center" class="$bgcolor"><img src="$theme[imgdir]/smilies/ursmile.gif" alt="Announcement" /></td>
regards2006-06-14, 02:02 PM
Thanks again zaher!
2006-06-14, 03:03 PM
I actually have only forumdisplay_announcement option, and that's the code in there:
<tr>
<td align="center" class="trow1"><img src="$theme[imgdir]/$folder"></td>
<td align="center" class="trow1"> </td>
<td width="100%" class="trow1"><strong>$lang->announcement_prefix</strong> <a href="announcements.php?fid=$fid">$announcement[subject]</a></td>
<td align="center" class="trow1"><a href="member.php?action=profile&uid=$announcement[uid]">$announcement[username]</a></td>
<td align="center" class="trow1">-</td>
<td align="center" class="trow1">-</td>
$rating
<td class="trow1" nowrap="nowrap"$postdate $posttime</span></td>
$modann
</tr>
What should i replace in this case?2006-06-14, 03:10 PM
umm you should have forumdisplay_announcements_announcement make sure that this exists before editing this template.
in anycase, what you might need to replace is this
regards
in anycase, what you might need to replace is this
<td align="center" class="trow1"> </td>
regards
2006-06-14, 06:05 PM
Nope, here it is:
[attachment=3180]
[attachment=3180]