It works great on the front end, like /reports/home, but totally bombs when using /admin/reports/home.
it wants to connect to a table, i must be missing something here.
Table 'home_model' doesn't exist
SHOW COLUMNS FROM `home_model`
Filename: co…
I've actually tried all that, I went as far as renaming the model, renaming the module to members, but the construct is where I think it throws it off.
function __construct()
{
parent::__construct('users');
}
that's odd because I have mysqli driver specified in my database config file and i'm using the site. Hmm. I'm trying to figure out how to use Stored Procedures with the framework.
I figured it out.
function form_fields($values = array())
{
$values = array('name' => '', 'address'=>'', 'city'=>'', 'state'=>'', 'zip'=>'', 'phone'=>'', 'type'=>'');
$fields = $values;
//The key was id field
$fields['id']…
Well I sorted it out, maybe it was user error and I was not communicating it clearly.
Based on the tutorial on simple module, I just followed the flow and left my function pretty much as demonstrated.
$data = parent::list_items($limit, $offset, $c…
oh I see now sorry, I'm a chrome user anyhow yeah, saying the name is ambiguous, but as you can tell from my method above, I specify tablename.name for the sort criteria.
A Database Error Occurred
Error Number: 1052
Column 'name' in order claus…
lance - I get 200 status: 88.3 kb. There are not problems with the sql output because like i said it is paging.
It was working on friday and then something happened, but I dont know what. If I remove my list_items function the data comes through, s…
The thing about this issue is that the paging looks to be building the right amount of pages.
My query is right, because I can execute $this->db->debug_query(); and get the expected result.
Quick question, the list_items method I customized isnt working anymore, if I do a print_r($data) I can see the result set, but there is no table generated.
I cant figure out what is going on. What is the best way to debug this process.
thanks
matt
Lance & Admin -
Thanks for your help. customized the list view to pull in the category, so i know list all the products with the category in the list view. I can group them as Lance pointed out, and it was pretty simple.
Thanks.
Matt
@Lance, Yes, I'm talking about the list items table. Everything works like a charm in the CRUD arena, but I just would like to display a parent child relationship inside of an admin view.
I'll look at the modules/fuel/config/fuel_modules.php file.
Yeah I was kind of thinking if I was looking at category, I could click a link in the row that would show all products under cat. And their would be option to edit/ create new products under category.
Right now my module goes straight to form when …