If I understand your question correctly, you're asking how I get the data for the categories, yes?
Here is my code:
$slug = uri_segment(4); if($slug) { $product = fuel_model('merchandises', array('where' => array('slug' => $slug))); if(!…
I have a category Apparel. Under Apparel I have two tags: Men and Women.
In my merchandise module, I have two dummy data. Data A is categorized under Apparel and under the tag Men. Data B is under category Apparel and tag Women. Data A was created …
I just encountered a bug using this method. It doesn't update the category or tag at all. Whenever I make a new entry in the module and set a category and tag to it, it's supposed to come out of the view. After implementing the code though, it doesn…
I've tried this but it doesn't work. Am I missing something?
$fields['tags'] = array('type' => 'dependent', 'depends_on' => 'category_id', 'url' => fuel_url('modules/fuel/tags/ajax/options'));