how to put an "Edit Button" in the article blog next to "Report Button"
hi there,
because alot of my members were asking how to edit their articles i use this edit, because the only way "in the default vb4 style" to edit an article is to put the mouse on the title article and click on the pencil! this is how to put an "Edit Button" next to the "Report Button" in the article blog search in blog_show_entry template for: Code:
<ul class="entrycontrols"> Code:
<vb:if condition="$show['editentry']"> <li><a href="blog_post.php?{vb:raw session.sessionurl}do=editblog&b={vb:raw bloginfo.blogid}" class="edit_blog"><img src="images/buttons/edit_40b.png" class="inlineimg" alt="{vb:rawphrase edit_blog_entry}" id="entry_edit_{vb:raw bloginfo.blogid}" /> {vb:rawphrase edit_blog_entry}</a> <li class="separator">|</li></li> </vb:if> UPDATED: - change the icon to the default "black" one. - remove un-needed codes. thanks.. Download No files for download. Screenshots |