Jalo
08-28-2011, 08:51 PM
Hi All,
I can't edit comments posted in the blogs. The little icon isn't clickable.
When I copy the url from the icon (blog_post.php?do=editcomment&bt=117) and paste that in the address bar it works.
Disabling all ajax features works but I'd like to keep the ajax features.
So I tried to fix it by changing the code. My knowledge is basic so I don't know the consequences this might have. Can someone check it for me please:
This is the original code:
<img src="$stylevar[imgdir_misc]/blog/edit.gif" alt="$vbphrase[edit_comment]" border="0" class="inlineimg" id="comment_edit_$response[blogtextid]" />
When I removed the id it seems to work (I can click the icon and edit the comment):
<img src="$stylevar[imgdir_misc]/blog/edit.gif" alt="$vbphrase[edit_comment]" border="0" class="inlineimg" />
Hope someone can tell me whether removing the id has any consequenses.
With kind regards,
Jalo
I can't edit comments posted in the blogs. The little icon isn't clickable.
When I copy the url from the icon (blog_post.php?do=editcomment&bt=117) and paste that in the address bar it works.
Disabling all ajax features works but I'd like to keep the ajax features.
So I tried to fix it by changing the code. My knowledge is basic so I don't know the consequences this might have. Can someone check it for me please:
This is the original code:
<img src="$stylevar[imgdir_misc]/blog/edit.gif" alt="$vbphrase[edit_comment]" border="0" class="inlineimg" id="comment_edit_$response[blogtextid]" />
When I removed the id it seems to work (I can click the icon and edit the comment):
<img src="$stylevar[imgdir_misc]/blog/edit.gif" alt="$vbphrase[edit_comment]" border="0" class="inlineimg" />
Hope someone can tell me whether removing the id has any consequenses.
With kind regards,
Jalo