⚠ 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

Bootstrap Theme issues



FiDo
  • profile picture
  • Member

Posted 23 October 2015 - 12:26 PM

Hello,

 

I stumbled upon some issues with the Bootstrap Theme.

 

Is there a documentation for that theme?

 

Here the issues:

  1. unset_add () doesnt work
  2. unset_print () & unset_export dont work
  3. Unset_delete() should also remove checkbox in first row first colomn and should remove whole first table colomn
	public function products_management()
	{
			$crud = new grocery_CRUD();
                        $crud->set_theme('bootstrap');
			$crud->set_table('artikel');
                        $crud->add_action( "Bearbeiten",  '' , 'edit', 'fa-edit', '');
                        $crud->set_crud_url_path(site_url('produkte/products_management'));
                        $crud->columns('Artikelnr', 'Artikelbez', 'Lagerplatz', 'Lieferant', 'Bestand', 'VKP1', 'veroeffentlicht');
			$crud->set_subject('Product');
                        $crud->unset_add();
                        $crud->unset_edit();
                        $crud->unset_delete();
                        $crud->unset_read();
                        $crud->unset_export();
                        $crud->unset_print();		
			$crud->callback_column('VKP1',array($this,'valueToEuro'));
			$output = $crud->render();
			$this->_example_output($output);
	}