if there were a situation that were to come up where that wasn’t an option, is a solution for the backwards compat in the works?
was wondering what the url structure should look like for the pagination of a table that uses the crud controller?
@ocergyNohtna, yes, I am working on resolving that issue, it’ll be solved by the next release ( The final version, if no bugs are found in RC10)
@ocergyNohtna yes, the CRUD controller generates GET urls, while the regular controllers you create use the regular CI-Style URLs, i’m working on changing them all to GET variables just for conformity. The table name missing error means your URL is mis-formed…are you changing the URL yourself?
What is this error? And another question….. it is possible to
1) insert in the display mode (the grid) values of the table wich have passed a function (for example: i want to show in the display view a thumb of an image… but it is need to intercept the value of the field and managng it with a controller)
2) it is possible to insert in the form, for a field, a custom javascript (example: for managing a Google Map)
Thank you and excuse me for my poor english
@abmcr, are you trying to change the label of the checkbox? If so, you want:
checkbox_test:<br />
class: CheckBox<br />
label: Hello there
let me know if that solves your issue
To answer your question:
1) Yes definately, go into controllers/example.php and under display_fields add the item: image_test
2) Of course, you would have to write your own plugin, and you load your javascript code right from the plugin. Take a look at the more advanced plugins for examples (I know, the ManyTomany and OneToMany plugins need refactoring..)
if anyone could make some suggestions as to how i might implement something of this nature
@ocergyNohtna, that is exactly how the ManyToMany plugin works…take the same schema that you’ve described, but rename peoplesHobbies to person_hobbies. I don’t understand you first paragraph about the UI though, could you expand? (You might want to look at the DbDropDown plugin, which is a dropdown populated from the db, though it doesn’t have the ability to add new items)
I tried RC9 last night but the forms (Add, Edit etc) still don’t work in IE6 (haven’t tried IE7) - they gave Permission Errors - it worked in Firefox though.
@vascopj, hmm, i thought I fixed the IE issue, i’ll test it soon