Welcome Guest, Not a member yet? Register   Sign In
CodeExtinguisher 2.0 Release Candidate 14.2
#11

[eluser]irvin[/eluser]
Yes - in RC 12 it was an top navigation menu, in the new one it's the left menu.

Oh, and BTW Clean Blue doesn't contains encoding information in page head (or there is something that i can't see).
#12

[eluser]unsub[/eluser]
I'm afraid form search field is not working... so if this is something that has been answered many times, I appologize, I can't find manually.

So far I have used Codex for a CRUD admin system for a website, and it works beautifully!

But, now I am faced with making a similar system which needs an auth system (self-registration for users, blah blah...) so I was looking at some of the auth libraries. I have settled on redux_auth, however I need some advice first. I am really not sure how to go about using Codex with a CI library like this. Can someone point me to some reading material on this subject, or send me to an example of such a thing? Is there some special stuff that I have to do to call CI libs and controllers from a codex instalation?
See, what confuses me (as a total newbie, both to CI, and to MVC in general - go ahead, mock me...I deserve it Big Grin ) is that codex seems so separate from CI, in that it lives in its own system directory, next door to CI, rather than being roomies with it like the other libs and apps I have seen.

Again, I'm sorry if this stuff has been answered a thousand times, forum search seems to be broken or something...

Thank you for developing such an inspiring piece of code Big Grin
-unsub-
#13

[eluser]abmcr[/eluser]
[quote author="abmcr" date="1211195651"]
I find a bug in this page http://codeextinguisher.com/public_previ...e/edit/105
the calendar not appears correct... ;-)
[/quote]
The css is not loaded corretly because the function in the codextemplate.php is
Code:
function css ($identifier, $file,$force=false){
        if($force OR !in_array($identifier,$this->loaded_objects['css']))
            $this->loaded_objects['css'][$identifier] = '<link rel="stylesheet" href="'.$file.'" type="text/css">'."\n";
    }
and not insert the correct pah to js
it is a bug or it is need to manage the css template? In both case, i have created (!) a new function

Code:
function css_from_assets ($identifier, $file,$force=false){
        if(!in_array($identifier,$this->loaded_objects['css']))
            $this->loaded_objects['css'][$identifier] = '<link rel="stylesheet" href="'.$this->asset_folder.'css/'.$file.'" type="text/css">'."\n";
    }
and modified into the plugin of the date the
Code:
$CI->codextemplates->css('css-datepicker','ui.datepicker.css');
in
Code:
$CI->codextemplates->css_from_assets('css-datepicker','ui.datepicker.css');
#14

[eluser]Majd Taby[/eluser]
irvin, you're right, i'll fix it

unsub, CodeExtinguisher is no different than the application folder inside your system folder. If you notice in your index.php file, you define the path to the applications folder. As far as including a different auth library with codex, simply replace the methods in codexlogin.php with ones that route to your own library, and you might need to change the login controller as well, but that should be it. (oh and the hook too)

abmcr, thanks for the fix, i'll include it
#15

[eluser]gusa[/eluser]
[quote author="jTaby" date="1211263549"]
gusa, well all tables from the database are shown. If you want to exclude a table, then add it to codex_exclude_tables in config/codex.php. The way I fixed the get_where issue is by writing my own get_where function in codexmodel and updating the libraries to use it. the function in codexmodel then either calls get_where or getwhere depending on the system's version. as far as the APPPATH issue, I can't just use codex/application because people sometime put their codex application in non-root directories.[/quote]

ok, i understand. but i think it would be preferable to put 'codex/application' in another constant, because APPPATH is supposed to contain the full server path to the "application" folder.
#16

[eluser]Majd Taby[/eluser]
point taken
#17

[eluser]abmcr[/eluser]
[quote author="jTaby" date="1211314345"]
abmcr, thanks for the fix, i'll include it[/quote]
For a complete fix the upgrade of css. I attach it: it fix the longer width of month and year
Code:
/* @override http://localhost:81/codex_wc/codex/assets/css/ui.datepicker.css */

/* Main Style Sheet for jQuery UI date picker */
table.datepicker{
    padding: 0;
}
#datepicker_div, .datepicker_inline {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
    background: #ddd;
    width: 270px;
}
#datepicker_div {
    display: none;
    border: 1px solid #777;
    z-index: 10; /*must have*/
}
.datepicker_inline {
    float: left;
    display: block;
    border: 0;
}
.datepicker_dialog {
    padding: 5px !important;
    border: 4px ridge #ddd !important;
}
button.datepicker_trigger {
    width: 25px;
}
img.datepicker_trigger {
    margin: 2px;
    vertical-align: middle;
}
.datepicker_prompt {
    float: left;
    padding: 2px;
    background: #ddd;
    color: #000;
}
* html .datepicker_prompt {
    width: 185px;
}
.datepicker_control, .datepicker_links, .datepicker_header, .datepicker {
    clear: both;
    float: left;
    width: 100%;
    color: #fff;
}
.datepicker_control {
    background: #334379;
    padding: 2px 0px;
}
.datepicker_links {
    background: #6a7586;
    padding: 10px 0px;
}
.datepicker_control, .datepicker_links {
    font-weight: bold;
    font-size: 80%;
    letter-spacing: 1px;
}
.datepicker_links label { /* disabled links */
    padding: 2px 5px;
    color: #888;
}
.datepicker_clear, .datepicker_prev {
    float: left;
    width: 34%;
}
.datepicker_current {
    float: left;
    width: 30%;
    text-align: center;
}
.datepicker_close, .datepicker_next {
    float: right;
    width: 34%;
    text-align: right;
}
.datepicker_header {
    padding: 3px 0 5px 0;
    background: #334379;
    text-align: center;
    font-weight: bold;
    height: 1.3em;
    width: 210px;
}
.datepicker_header select {
    background: #f6fef8;
    color: #313131;
    border: 0px;
    font-weight: bold;
    width: 100px;
}
.datepicker {
    background: #ccc;
    text-align: center;
    font-size: 100%;
}
.datepicker a {
}
.datepicker_titleRow td{
    padding-left: 10px;
}
.datepicker_titleRow {
    background: #777;
}
.datepicker_daysRow {
    background: #eee;
    color: #666;
}
.datepicker_weekCol {
    background: #777;
    color: #fff;
}
.datepicker_daysCell {
    color: #000;
    border: 1px solid #ddd;
    padding-left: 10px;
    text-align: center;
}
.datepicker_daysCell a{

}
.datepicker_weekEndCell {
    background: #333;
}
.datepicker_daysCellOver {
    background: #fff;
    border: 1px solid #777;
}
.datepicker_unselectable {
    color: #888;
}
.datepicker_today {
    background: #cfdee7;
}
.datepicker_currentDay {
    background: #999 !important;
}
.datepicker_status {
    background: #ddd;
    width: 100%;
    font-size: 80%;
    text-align: center;
}

/* ________ Datepicker Links _______

** Reset link properties and then override them with !important */
#datepicker_div a, .datepicker_inline a {

    color: #000;
}
.datepicker_inline .datepicker_links a {
    padding: 0 5px !important;
}
.datepicker_control a, .datepicker_links a {
    padding: 2px 5px !important;
    color: #eee !important;
}
.datepicker_titleRow a {
    color: #eee !important;

}
.datepicker_control a:hover {
    background: #fdd !important;
    color: #333 !important;
}
.datepicker_links a:hover, .datepicker_titleRow a:hover {
    background: #ddd !important;
    color: #333 !important;
}

/* ___________ MULTIPLE MONTHS _________*/

.datepicker_multi .datepicker {
    border: 1px solid #777;
}
.datepicker_oneMonth {
    float: left;
    width: 185px;
}
.datepicker_newRow {
    clear: left;
}
#18

[eluser]Majd Taby[/eluser]
would you guys rather have one big screencast or a collection of smaller ones that build on top of each other and teach a specific thing?
#19

[eluser]sikkle[/eluser]
smaller screencast Smile
#20

[eluser]TheLoops[/eluser]
[quote author="sikkle" date="1211358605"]smaller screencast Smile[/quote]I'd second that.




Theme © iAndrew 2016 - Forum software by © MyBB