Foren / Cotonti / Extensions / Quick Edit

Edit posts/comments without leaving the page.

TwistedGA
#8423 20. Februar 2009, 04:16
You should install it and see how it works. You don't actually see those edit forms for any message until you click "Edit". The form is hidden using <div> tags and jscript. Which reminds me that I totally forgot to include the stupid header.tpl which allows them to unhide. Yikes. I'll upload a new release that includes it in just a little while.

Until Then the code for the header.tpl is:

<head>
	<script language="javascript">
		$(document).ready(function(){
		    
		    $(".edit").click(function () {
		    var divname= this.name;
		      $("#"+divname).show();
		    });
		$(".cancel").click(function () {
		    var divname= this.name;
		      $("#"+divname).hide();
		    });
		  });
	</script> 
</head>

What plugins are already converted, and using the editpost hook? I'll kindly update them for support as mentioned in the readme.

I'm thinking about other ways to make this happen and be less invasive to the core, I just really don't think it should be a plugin.
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]