well with RC9 the tables are sortable, just click on one of the headers 😊
And yes, a search feature is in the roadmap
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
February 13, 2008 3:25pm
Subscribe [27]#136 / Mar 10, 2008 3:09pm
well with RC9 the tables are sortable, just click on one of the headers 😊
And yes, a search feature is in the roadmap
#137 / Mar 10, 2008 3:10pm
Maybe you should change all the urls in CE into GET queries .. just makes the things more flexible.
#138 / Mar 10, 2008 3:12pm
well with RC9 the tables are sortable, just click on one of the headers 😊
And yes, a search feature is in the roadmap
This does the job but it works for whats in the view right now, not the whole table.
#139 / Mar 10, 2008 3:13pm
touche 😊
#140 / Mar 11, 2008 12:51am
Why on RC 9 this problem not yet fixed?
Fatal error: Call to undefined method CI_DB_mysql_driver::get_where() in /Users/jauhari/Sites/Personal/First/codex/application/plugins/onetomany.php on line 133So, I must edit it to getwhere() manually 😊
#141 / Mar 11, 2008 1:07am
So I’ve been using CI for a good minute now and figured I’d give CodEx a run. Impressed indeed. Quick question, is there a codex specific forum anywhere? Perhaps a wiki? Documentation is great, and a community, alongside a wiki jam-packed of example code, etc would be amazing. Also, jTaby, is this solely written by you? Or is this a community project perhaps? Either way, just wanted to say thanks for a great app.
#142 / Mar 11, 2008 1:07am
well, it’s a non-backwards compatible issue between CI 1.5.4 and 1.6…you’re using 1.5.4.
Because the database class cannot be extended, i can’t just replace it…although, thinking about it now, I could have a function that checks the version…
#143 / Mar 11, 2008 1:10am
No problem, glad you liked it. I’m planning for a more comprehensive site and a forum, but I haven’t gotten to working on it just yet. To answer your question, yes, this is mostly written by me, but of course the CodexMesasges, CodexValidation, and CodexSession libraries are written by other people. Thoer (a member in this forum) also helps me out a bit.
#144 / Mar 11, 2008 1:22am
Another question. How to add some hidden form fields?
example I have fields post_type and I want automatically add value post
How to do that?
Thanks
#145 / Mar 11, 2008 2:09am
so I’ve been connecting this up to DBs quite easily. 😊 Although I seem to have run into a snag. maybe it’s just the DB, but I thought I’d ask. I’ve got a DB table with roughly 3000 records and when i connect codex to it, and set list_text to nothing more than id it seems to “hang-up” when listing and only makes it to 223. another table (roughly 1000 records) hangs at 196. is this something other have experienced? if so, is there any thought to adding pagination to a listing of records? i’m not super exposed to writing code in such a framework, but not shy of php either so if someone could give me a suggestion of where i would insert such a feature i’d love to try and implement something of the such.
#146 / Mar 11, 2008 10:57am
Jauhari, I actually never wrote a HiddenField plugin, what i’d suggest is copy/pasting the TextArea class, and changing the type=“text” to type=“hidden”, post the code here so I add it to the release.
ocergyNohtna, Well CE supports pagination out of the box, i’ll do some stress testing and let you know what I find…
EDIT: ocergyNohtna, I just created 3000 records in my database and it handles it quite nicely. Are you getting any errors?
#147 / Mar 12, 2008 2:51am
Hey guys, RC10 is released, this is pretty close to the final version, it’s stable as far as I can tell, please give it a whirl and let me know what you think.
PLEASE NOTE: The session library has been changed, please update your database accordingly.
#148 / Mar 12, 2008 3:17am
Is it possible to have custom heading? on the table?
Example I have this table with standar custom heading
<pre><code>
<table>
<tr class=“head”>
<th scope=“col”>No.</th>
<th scope=“col”>Test</th>
<th scope=“col”>Test</th>
<th scope=“col”>Sub Sub Head</th>
<th scope=“col”>Sub Sub Head2</th>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
</table>
<pre><code>
And I want my display table view become like this
<pre><code>
<table>
<tr class=“head”>
<th rowspan=“2” scope=“col”>No.</th>
<th rowspan=“2” scope=“col”>Test</th>
<th rowspan=“2” scope=“col”>Test</th>
<th rowspan=“2” scope=“col”>Sub Head</th>
</tr>
<tr class=“head”>
<th scope=“col”>Sub Sub Head</th>
<th scope=“col”>Sub Sub Head2</th>
</tr>
<tr>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
<td>data</td>
</tr>
</table>
<pre><code>
Some time on another table I will use different layout too.
Is it possible to do that?
#149 / Mar 12, 2008 3:25am
Jauhari, have a look at view_models/table.php. This contains how the table is displayed so you can add your custom tags in here.
#150 / Mar 12, 2008 3:29am
so can you tell me more about the getwhere() issue with 1.5.4? i’ve got a site in v1.5.4 and want to use CE on it. is it possible? you mentioned the database class can’t be extended. you also say that you could check the version…are you currently looking into a way to resolve this “legacy” issue? or would the version check simply return you with a more graceful error informing you to upgrade the version of CI to 1.6? moreover, i can’t foresee any issues in upgrading my site to 1.6 ANYWAY, so i’ll most likely go ahead and do that. but 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?