CodeExtinguisher 2.0 Release Candidate 14.2 |
[eluser]irvin[/eluser]
jTaby - I've found this special char error. It's caused in "inflector_helper.php" file, bu line: Code: return ucwords(preg_replace('/[_]+/', ' ', strtolower(trim($str)))); The worst thing is that, we don't have good replacement for this, but for quick fix, i've added one extra function called 'nationalise': Code: // -------------------------------------------------------------------- If you want use it, you should change the lines with link names like: Code: if(strcmp(humanize($name),humanize($this->page_header)) == 0) echo ' id="active-page"'; to Code: if(strcmp(humanize($name),humanize($this->page_header)) == 0) echo ' id="active-page"'; It should help a bit.
[eluser]Majd Taby[/eluser]
abmcr, you want $this->CI->codexadmin->rules....codexadmin is a library in the CI object
[eluser]Majd Taby[/eluser]
irvin, if you are having trouble with the inflector, then that is a CI issue which needs to be addressed in the Feature Requests or Bug Reports section, i'll try to fix the issue in codex though
[eluser]SpooF[/eluser]
I like to put all my backend files under the public directory, so that would include the codex app. Doing so however makes it imposable to access the CSS and any other file stored in the template directory. Might look at moving that to the assets folder rather than inside of the application folder.
[eluser]Unknown[/eluser]
jTaby, This is a great little extension--it's already saved me a bunch of time, in just the past day. I'd like to extend the package a bit to handle timestamps a little differently. CE automagically takes care of timestamp fields in the database. That's nice, but if I have 2 timestamp fields in a table, the second one never gets touched. Here's what I want to do: track a create time stamp and an update time stamp. I don't want the user to see either of the fields, but I need access to them. The create time stamp (and update time stamp) will get set when CE adds a new record to the database. Only the update time stamp will get modified when CE edits the record. Can you point me to the code where I should be starting? I can't find any references to timestamp fields in the code (with a few quick grep's). Perhaps you're just letting the SQL server deal with them? Thanks!
[eluser]abmcr[/eluser]
I have a problem if i want to set a callback as rules.... in my controller i have this code Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); And the callback not work... Why? Another small bug: the Select all link in the display mode not work... [quote author="jTaby" date="1211413715"]abmcr, you want $this->CI->codexadmin->rules....codexadmin is a library in the CI object[/quote] ok .... i have made this small feature for get a rule required indicator as in attached image in the codexforms.php librarie insert this function Code: /* after, in each plugin where you want the symbol change the lines Code: $html .= ' Code: $html .= '
[eluser]abmcr[/eluser]
I have translate the language for italian user... send me an email for get it....ciao
[eluser]Majd Taby[/eluser]
abmcr, the callback worked fine with me, except that you need to change $this->validation to $this->codexvalidation. also, for your required extension, I would add a function to codexforms and call it at the end of the initiate method, that way it can all be done automatically.
[eluser]Majd Taby[/eluser]
Hey guys, just wanted to let you all know that a new release has been posted (RC14.2) which mainly addresses issues found with RC14. The main post has been updated. EDIT: I prematurely released 14.2, I have since fixed the downoad, but if you downloaded it before and it's not working, then please just download again...sorry about that.
[eluser]abmcr[/eluser]
Thank you JTaby for the new release.... i have insert another little feature: the table hover effect (see the attached image) and see this page for a demo. Simply, insert into assets/js the file you download at http://p.sohei.org/jquery-plugins/tablehover/. After, edit the css file of ypur template and insert these lines Code: /*class for zebra like table*/ Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |