Hello,
First off thanks for this component, it looks very promising and fills a gap in Joomla components. I'm a newb and find it hard to believe how few components there are for managing data. I was hoping to find something like MS Access with a "publish to website" button. But then I'm idealistic..
I followed the tutorial and made the admin edit record template. It displays my data fine but when I click on a field name I get an empty edit page. If I type data in I can save it and add a new record. Deleting is easy too.
What I cannot work out is how to edit an existing record. What I would like to see is a button at the top "Add New Record" for adding records, and clicking on an existing record opens it for editing. The link shown when I hover on a record reads.../index2.php#edit_data - surely it should be something like index2.php#edit_data&ID=2
btw - I doubt if it matters, I use the JCE editor.
Cheers,
Rob
First off thanks for this component, it looks very promising and fills a gap in Joomla components. I'm a newb and find it hard to believe how few components there are for managing data. I was hoping to find something like MS Access with a "publish to website" button. But then I'm idealistic..
I followed the tutorial and made the admin edit record template. It displays my data fine but when I click on a field name I get an empty edit page. If I type data in I can save it and add a new record. Deleting is easy too.
What I cannot work out is how to edit an existing record. What I would like to see is a button at the top "Add New Record" for adding records, and clicking on an existing record opens it for editing. The link shown when I hover on a record reads.../index2.php#edit_data - surely it should be something like index2.php#edit_data&ID=2
btw - I doubt if it matters, I use the JCE editor.
Cheers,
Rob
<?php $editor =& JFactory::getEditor(); ?> <table> <tr> <td>title:</td><td><input type="text" name="title" size="100" value=""></td> </tr> <tr> <td>ID:</td><td><?php echo $editor->display( 'ID', '' , '100%', '350', '75', '20', false ) ; ?></td> </tr> <tr> <td>catno:</td><td><?php echo $editor->display( 'catno', '' , '100%', '350', '75', '20', false ) ; ?></td> </tr> <tr> <td>price:</td><td><input type="text" name="price" value=""></td> </tr> <tr> <td>published:</td><td> <select name="published"> <option value="0">No</option> <option value="1">Yes</option> </select> </td> </tr> <tr> <td>ID:</td><td> auto-increment </td> </tr> </table> <input type="hidden" name="ID" value="">