2008-11-30, 07:53 AM
2008-11-30, 09:02 AM
Should be portal_announcement.
2008-11-30, 04:37 PM
(2008-11-30, 09:02 AM)Matt_ Wrote: [ -> ]Should be portal_announcement.
i cannot find it in there
when i view the source the code around the avatar is there but it is not in the template
2008-11-30, 05:36 PM
Well {$avatar} is in that template, what do you want to do to it??
2008-12-01, 05:28 AM
(2008-11-30, 05:36 PM)Matt_ Wrote: [ -> ]Well {$avatar} is in that template, what do you want to do to it??
Look at this part of portal_announcement template:
<td class="trow1" style="border: 0px;">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
{$avatar}
<td class="trow1" valign="top" style="border: 0px;">
Here it is from view source:
<td class="trow1" style="border: 0px;">
<table border="0" cellpadding="6" width="100%">
<tr>
<td class="trow1" width="1" align="center" valign="top"><img src="http://forums.beywiki.com/./uploads/avatars/avatar_1.gif" alt="" /></td>
<td class="trow1" valign="top" style="border: 0px;">
I want to alter bolded part, but I can't find it.
2008-12-02, 08:38 AM
Bump?
2008-12-02, 09:08 AM
It's not in the templates, it's in the source code (for some strange reason).
Edit portal.php, and circa line 476, find:
I think that's the one you're looking for...
Edit portal.php, and circa line 476, find:
$avatar = "<td class=\"trow1\" width=\"1\" align=\"center\" valign=\"top\"><img src=\"{$announcement['avatar']}\" alt=\"\" {$avatar_width_height} /></td>";
I think that's the one you're looking for...
2008-12-02, 09:13 AM
(2008-12-02, 09:08 AM)Tom.M Wrote: [ -> ]It's not in the templates, it's in the source code (for some strange reason).
Edit portal.php, and circa line 476, find:
$avatar = "<td class=\"trow1\" width=\"1\" align=\"center\" valign=\"top\"><img src=\"{$announcement['avatar']}\" alt=\"\" {$avatar_width_height} /></td>";
I think that's the one you're looking for...
thanks very much
pretty awful that this is in the source though
2008-12-02, 09:20 AM
(2008-12-02, 09:13 AM)Bey Brad Wrote: [ -> ]thanks very much
pretty awful that this is in the source though
Your welcome
It's in the source code because it needs to create an extra <td> if there is an avatar - if there isn't, then the <td> isn't needed. I guess it's 6 of 1...