⚠ 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

[updated 14.11.2012] Grid view with dropdown list of categories in header (library)



victor
  • profile picture
  • Member

Posted 24 December 2012 - 13:12 PM

Do use the adjacency list? and your main categories have parent_id = 1?

victor
  • profile picture
  • Member

Posted 24 December 2012 - 13:44 PM

function get_tree()
{
if (isset($this->parent_field))
return $this->adjacency_list_r([color=#ff0000]1[/color], 0);
else
return $this->get_categories();
}

tlc033
  • profile picture
  • Member

Posted 24 December 2012 - 14:16 PM

Спосибаааааааааааааааа Victor.

zrmba
  • profile picture
  • Member

Posted 26 February 2015 - 13:28 PM

Hi all,

would like if there is any new version of this plugin. Quitely a good project but why did you abandon it? Especially Victor. Hope to hear more about you. Why don't you  buildus a new version easier to integrate without changes to the core way of coding?

 

BR


heri09
  • profile picture
  • Member

Posted 01 May 2015 - 15:08 PM

Hi,

 

this code i not working on my project. categori not show in select dropdown


JohnnyB
  • profile picture
  • Member

Posted 04 March 2017 - 12:42 PM

Hi!

 

I am new at this.  Can anyone explain to me how to install this library please?  I am trying to achieve the same thing as it shown in the screenshot below. Trying to put 2 fields - one category field and one date field on top of the datatable then I would like to fill the table with the results based on selected category and date. Desperately need help. Thanks.

 

Hi. What about integration this function

$this->get_datetime_input($field_info,$value);
from libraries / grocery_crud.php / ...LINE about 2041 protected function get_datetime_input($field_info,$value) in grocery_crud_categories.php
To lock like this:
image.png

 


jgalak1
  • profile picture
  • Member

Posted 02 July 2017 - 20:44 PM

Anyone know if this is working with the current version of GroceryCRUD?