Download:
https://github.com/N...ocessPageDelete
Posted 11 January 2012 - 04:16 PM
Posted 12 January 2012 - 11:50 AM
$trash = $this->pages->get('name=trash'); // delete this$page->parent = $trash;
$this->pages->trash($page);
if(!$page->deleteable()) throw new WirePermissionException("You don't have access to delete that page");Posted 16 January 2012 - 11:30 PM
$page->save();
$this->pages->trash($page);
Posted 16 January 2012 - 11:39 PM
if(!$page->deleteable()) throw new WirePermissionException("You don't have access to delete that page");
$parent_id = $page->parent_id;
$this->session->redirect("../?open={$parent_id}");
Posted 09 April 2012 - 08:07 AM
Posted 11 April 2012 - 08:51 AM
Posted 11 April 2012 - 05:32 PM
Posted 12 April 2012 - 02:00 PM
Posted 12 April 2012 - 02:03 PM
'permission' => "page-delete"
Posted 12 April 2012 - 02:16 PM
Posted 18 April 2012 - 01:39 AM
Posted 05 May 2012 - 01:56 AM
<script type="text/javascript">
$(document).ready(function() {
$("li.PageListActiondelete a").live("click", function(el){
if(!confirm("Are you sure?")) { return false; }
});
});
</script>
Posted 05 May 2012 - 02:42 AM
Posted 01 August 2012 - 11:43 AM
Well, I guess I forgot to insert a command to check if you are in the backend. Will add it today
@somartist | modules created | support me, flattr my work flattr.com
Community Support →
Modules/Plugins →
Page Edit Per RoleStarted by pogidude, 21 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: TemplateHasTagsStarted by MichaMichaMicha, 20 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Release: LocalAudioFiles MP3-DBStarted by horst, 19 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Inline EditorStarted by Sinmok, 10 May 2013 |
|
|
||
Community Support →
Modules/Plugins →
Module: Site indexerStarted by Alessio Dal Bianco, 08 May 2013 |
|
|
0 members, 0 guests, 0 anonymous users