Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Grocery_CRUD.php #484

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peppelauro
Copy link

Allow the overriding of views so you can customize the CRUD forms as you need

Allow the overriding of views so you can customize the CRUD forms as you need
Akir4d added a commit to Akir4d/ci_boostrap_3 that referenced this pull request Mar 20, 2020
link: scoumbourdis/grocery-crud#484 (comment)

This the description:
	 * Set custom views: allow to override default views as edit.php, add.php, ...
	 * $views is an associative array like ('edit.php' => 'myedit.php', 'add.php'=>'myadd.php)

Also added an example myedit.php on my theme, to call it just do;
$crud->set_custom_views(array('edit.php' => 'myedit.php'));
@Akir4d
Copy link

Akir4d commented Mar 20, 2020

It works great, I just added this patch on my github fork and installed one example at https://github.com/Akir4d/ci_boostrap_3

@peppelauro
Copy link
Author

I works great, I just added this patch on my github fork and installed one example at https://github.com/Akir4d/ci_boostrap_3

Thanks, I am so happy to hear that it is useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants