Jump to content


marlaaragao

Member Since 06 Jun 2015
Offline Last Active May 11 2016 01:29 AM
-----

#13324 master-child LAYOUT

Posted marlaaragao on 04 November 2015 - 12:44 PM

Try setting your add_action like this:

$crud->add_action('Articles', '' , 'FracturesController/list_articles', 'fa fa-list-alt')

and your function like this:

function list_articles($primary_key) {
  
  $crud1= new Grocery_CRUD(); 
  $crud1->set_table('articles');
  $crud1->where(`id_facture`,$primary_key);

  $output=$crud1->render();

  $this->load->view('YourView', $output);
}



#13111 Bootstrap Theme Problem

Posted marlaaragao on 08 September 2015 - 09:33 PM

Hello, I got it working, junt changing the 'assets/grocery_crud/themes/bootstrap/views/list_tbody.php' file. As in my case I wanted to take the custom actions off the more dropdown button, I just moved the block that begins with

<?php
     if(!empty($row->action_urls)){ [...]

to outside the '<ul class="dropdown-menu">' block, took off the '<li>' tags and made some little changes to look good.
So with any action you can do the same.

 

Thanks.




#13109 Bootstrap CSS modification

Posted marlaaragao on 08 September 2015 - 07:59 PM

Hi!

 

Your modifications look so great!

Can you share them with us? Especially the dividers in the forms.

Thanks!