ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CodeExtinguisher 2.0 Public Beta (RC10)

February 13, 2008 3:25pm

Subscribe [27]
  • #166 / Mar 14, 2008 7:09pm

    timj

    80 posts

    A few thoughts—

    I notice that view_modes/table.php will pull table fields from the FieldSet plugin; naming conventions are somehow flagged. In other words, if you name a fieldset “Personal Data” the code will look for a table column named that and return an undefined index error when it does not find one.  Inconvenient when one is using FieldSet for organizational or layout purposes.  Perhaps a added parameter could toggle this on or off?

    A nice option for the relational plugins would be to be able to set them so they’ll show only relational entries associated with a particular id.  Currently, the plugins show ALL entries and mark associated ones.  I’d like an option where you don’t see unrelated entries at all.

    Every now and then, I get this error: “Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.”  I have triple checked routes.php and it is correct.  Any idea what might be causing this?

    Many thanks!

  • #167 / Mar 14, 2008 8:30pm

    Majd Taby

    637 posts

    timj,
      I’ll look into the fieldset issue…as far as the relational plugins, how would you select fields if the unselected fields don’t come up?
    as for your issue, when does the error come up?

  • #168 / Mar 14, 2008 9:11pm

    timj

    80 posts

    timj,
      I’ll look into the fieldset issue…as far as the relational plugins, how would you select fields if the unselected fields don’t come up?

    I’m talking about records, not fields.  Currently each record shows up in the relational plugins table; if there is an id join, the record is marked with a checkbox.

    But I am thinking of situations where you have thousands of records in each table, but only very few of the records are related.  You wouldn’t want to have to comb through thousands of records to find those few instances.  Imagine a shopping cart app, for example, where you have thousands of customers and thousands of specific orders.  But you only want to see the orders for one specific customer.  Hope that makes sense.

    as for your issue, when does the error come up?

    I get the error when I use the nav features.  Here’s what the generated url looks like:  backend.php/?c=crud&m=manage&t=client&a=edit&id=185

  • #169 / Mar 14, 2008 9:33pm

    Majd Taby

    637 posts

    ah, excellent point (I think that’s what ocergyNohtna was saying earlier too)...I don’t know why I didn’t see that. I’ll fix the issue for the next release.

  • #170 / Mar 14, 2008 11:01pm

    timj

    80 posts

    ah, excellent point (I think that’s what ocergyNohtna was saying earlier too)...I don’t know why I didn’t see that. I’ll fix the issue for the next release.

    Don’t get me wrong, though:  I think it is useful to have it work both ways.  Working the other way, you always have a small menu of items at your fingertips to build relationships to.

  • #171 / Mar 16, 2008 1:57am

    ShawnM

    4 posts

    codexlogin.php should be calling the variable $config[‘sess_table_name’] but instead explicitly declares “ci_sessions” as the table name.

  • #172 / Mar 16, 2008 1:05pm

    ocergyNohtna

    36 posts

    what happened to the Editor helper in the latest release? are you getting rid of it? i have tried to update the editor plugin on http://codeextinguisher.com but it renders as a text area. and i get an error saying tinyMCE is not defined. any ideas? btw, when are you expecting the next release? 😊

    **EDIT** ok, got it working. i was pointing my source file to the wrong location. still curious why is was taken out though…cheers 😊

  • #173 / Mar 16, 2008 1:12pm

    Majd Taby

    637 posts

    Yes, the Editor plugin is removed. When the final version is released, I will release an optional plugin with a wysiwyg plugin. As it stands, all the plugins I use end up being flimsy and buggy, and contain lots and lots of files, and they bulge the download. As for the final release, I will release it when I feel it’s bug free and stable enough. RC10 is fairly stable but there are a few issues that need adjustments. I also need to refactor some old code.

  • #174 / Mar 17, 2008 10:45pm

    Andi Eko

    10 posts

    I have a problem with OnetoMany,
    I use codex rc10.
    When I insert record detail, I checked in the database it is inserted correctly with foreign ID. But when I try to insert other record the detail shows up in my new record.
    What should I do suppose the detail only show in the header record.

  • #175 / Mar 19, 2008 2:08am

    Andi Eko

    10 posts

    I have try OnetoMany with some plugin like Date and File.
    In Date when entering the box the jscalendar won’t shows up
    In File, it show the last filter kind of files, if on the header i’ve use for
    “Allowed file type(s): jpg, jpeg, JPG, bmp, gif, png” then in the OneToMany form it will show like that too.

    I think if this problem can fixed it would be great and also for the related one 😊

    Great App and make it easier to me 😊

  • #176 / Mar 20, 2008 10:03am

    abmcr

    254 posts

    Hello JTaby: i have see our useful video for CodeExtinguisher 2.0.
    I have a suggestion to request (please excuse my bad english language 😖   ); when in the yml file i define the display field, it is possible to create a callback_function…. For example: i have a price field with stored in a number (example: 25,00). In display mode i want see 25,00 and not only 25,00

    If i set a callback function as

    function _price($str){
    return "€". $str;
    }


    If i call this function when i create the list of display field, i have goal

    display_items: _price(price), other_field


    Another features: in the video , the menu for each table are created in auto (exception the tables inserted in the config…) And if it is necessary to create a menu item with a name different from the table? It is possible? Or it is possible to create an item list without CodeExtinguisher….

    Thank you for your patience… Ciao!!!

  • #177 / Mar 20, 2008 11:28am

    PedroGrilo

    18 posts

    ...........
    Or it is possible to create an item list without CodeExtinguisher….

    Thank you for your patience… Ciao!!!

    Take a look at the navigation.php view.. 😉

  • #178 / Mar 20, 2008 11:44am

    Majd Taby

    637 posts

    abmcr, Hmm, those are really good ideas…i’ll see if I can implement them soon.

  • #179 / Mar 20, 2008 12:05pm

    Thoer

    111 posts

    abmcr, I’d just create a Money plugin for this. Just copy Textbox plugin, rename it and create a new prepForDisplay function which overwrites the one from codexForms. This way you could add some neat javascript for the form too, which would separate thousands for your users and still save it would still save it as a number…

  • #180 / Mar 21, 2008 1:31pm

    matthewr

    96 posts

    Hi! It’s my first time using CodeExtinguisher and I just gotta say it’s awesome!!  :lol:  Saved me loads of time!

    I have a problem though: I can’t seem to get the OneToMany plugin to work properly.  I keep getting this error whenever I click on the Add New link:

    An Error Was Encountered

    Table name missing.

    I have a table named Artists and a table named Works.  Artists has a OneToMany relationship with Works.  Here’s the code I have in artists.yml

    works:
            class: OneToMany
            params:
                display_field: name
                table_fields: name, description

    Am I doing something wrong or is the OneToMany plugin still underdevelopment?  I hope someone can point me in the right direction. 😊

    Many Thanks,
    Matt

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases