Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

How does the /include_smilies_write.html template work?

Quote Reply
How does the /include_smilies_write.html template work?
I added my own smiles into the same folder on the server where the existing ones in that file are located. I changed the code to represent my new smilies. However when I click on one to insert it, I end up getting a missing image icon instead. I don't get it myself, why it inserts broken image links when all that I did was to change the tag name and the image associated with it (which shows up on the left side of the post box, so I know it exists)

Heres the code
Code:
<table border=0 cellpadding=0 cellspacing=5>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag(':)')" tabindex=25><img src="<%image_url%>/smile.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('wink')" tabindex=25><img src="<%image_url%>/wink.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('hello')" tabindex=25><img src="<%image_url%>/hello.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('tongue')" tabindex=25><img src="<%image_url%>/tongue.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('cool')" tabindex=25><img src="<%image_url%>/cool.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('question')" tabindex=25><img src="<%image_url%>/question.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('tape')" tabindex=25><img src="<%image_url%>/tape.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('nerd')" tabindex=25><img src="<%image_url%>/nerd.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('looking')" tabindex=25><img src="<%image_url%>/looking.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('shocked')" tabindex=25><img src="<%image_url%>/shocked.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('laugh')" tabindex=25><img src="<%image_url%>/laugh.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag(':/')" tabindex=25><img src="<%image_url%>/unsure.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag(':|')" tabindex=25><img src="<%image_url%>/unimpressed.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('sly')" tabindex=25><img src="<%image_url%>/sly.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('pirate')" tabindex=25><img src="<%image_url%>/pirate.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('gm')" tabindex=25><img src="<%image_url%>/green_mana4forum.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('um')" tabindex=25><img src="<%image_url%>/blue_mana4forum.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('rm')" tabindex=25><img src="<%image_url%>/red_mana4forum.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('bm')" tabindex=25><img src="<%image_url%>/black_mana4forum.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('wm')" tabindex=25><img src="<%image_url%>/white_mana4forum.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('t')" tabindex=25><img src="<%image_url%>/tap.gif" border=0></a></td>
</tr>
<tr>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('x0')" tabindex=25><img src="<%image_url%>/0_mana.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('1')" tabindex=25><img src="<%image_url%>/1_mana.gif" border=0></a></td>
<td><a href="javascript: <%if html_editor%>top.editor_iframe.<%endif%>addTag('2')" tabindex=25><img src="<%image_url%>/2_mana.gif" border=0></a></td>
</tr>
</table>
Subject Author Views Date
Thread How does the /include_smilies_write.html template work? Westin 7169 May 20, 2009, 1:06 PM
Thread Re: [Westin] How does the /include_smilies_write.html template work?
Andy 7063 May 21, 2009, 12:49 AM
Thread Re: [Andy] How does the /include_smilies_write.html template work?
Westin 7073 May 21, 2009, 1:01 AM
Thread Re: [Westin] How does the /include_smilies_write.html template work?
Andy 7056 May 21, 2009, 1:15 AM
Thread Re: [Andy] How does the /include_smilies_write.html template work?
Westin 7075 May 21, 2009, 1:33 AM
Thread Re: [Westin] How does the /include_smilies_write.html template work?
Andy 7074 May 21, 2009, 1:35 AM
Thread Re: [Andy] How does the /include_smilies_write.html template work?
Westin 6987 May 23, 2009, 11:21 PM
Thread Re: [Westin] How does the /include_smilies_write.html template work?
Westin 6964 May 24, 2009, 7:44 AM
Post Re: [Westin] How does the /include_smilies_write.html template work?
Westin 6947 May 24, 2009, 10:17 AM