⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

using grocery crud for just create new entries



Osama
  • profile picture
  • Member

Posted 30 August 2012 - 16:06 PM

hi friends

i have a simple question about grocery crud

i want to allow site members to add new topics on my site ( no update ,no delete etc just create and after creation go back to site index ) and i'm thinking how to use grocery crud for this

any ideas will be great !

Osama
  • profile picture
  • Member

Posted 31 August 2012 - 09:39 AM

ok i made a good step using these functions

$crud->unset_delete();
$crud->unset_edit();
$crud->unset_back_to_list();
$crud->unset_texteditor('article_content','full_text');
$crud->unset_list();

Now I want to redirect user when he tries to access the list page i have read this tutorial here
http://www.grocerycrud.com/documentation/options_functions/unset_list
but i'm still can't do the redirect process any help will be grateful :rolleyes: