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]
  • #16 / Feb 15, 2008 10:16am

    Majd Taby

    637 posts

    dleavitt, I’m extremely interested in feature requests, but the ones you requested are already implemented 😊
    Go into example_form.yml (in the definitions/) directory, and define a couple of new fields..you might be interested in the Image plugin (which shows a thumbnail), and the OneToMany or ManyToMany or DbDropDown plugins which support tables relations in a nice, user-friendly, ajaxy way 😊

    p.s. thanks for finding the bug, you’re right.

  • #17 / Feb 15, 2008 1:40pm

    dleavitt

    10 posts

    Hi, thanks for the attentiveness!

    I’ve got some more issues for you (I think.)

    The major one is that there seems to be a problem with the File.php class.

    Line 9 looks like this:  codexForms::initiate($name, $params);
    It needs to look like this I think:  codexForms::initiate($name,array(‘params’ => $params));
    codexForms::initiate expects a hash with ‘params’ as a sub-hash (or whatever the correct terminology is.)

    I would add an associated feature suggestion: the paths specified for file uploads in the .yml files should not be absolute. They should be appended to the end of a path set in config.php. At the moment you have to change all your yml files every time you change servers.

    Other bugs:
    pagination doesn’t seem to work for the CRUD
    codexcontroller.php: line 31: It should check here whether or not the CRUD config variable is turned on. Right now the crud flag in config.php does nothing.
    onetomany.php & manytomany.php: spinner.gif isn’t referenced correctly; these classes don’t know about the assets path it looks like.

    I hope this is helpful!

  • #18 / Feb 15, 2008 11:54pm

    Majd Taby

    637 posts

    dleavitt, Those are all valid bugs, thank you. I’ve fixed almost all of them, but the toughest one is the pagination one…both the automatic crud generator and the pagination use the URL, and they’re conflicting with each other..gonna have to think this one through

  • #19 / Feb 16, 2008 8:35am

    PedroGrilo

    18 posts

    Pretty nice CRUD app you got here JTaby.
    I’ve been following your SVN trunk for a couple of days.
    Thanks!

  • #20 / Feb 16, 2008 5:30pm

    mandarin

    11 posts

    Hi! Thanks for this great tool. 😊

    However, I do not see checkboxes, radioboxes and the like. Just normal text input fields. Pretty strange as everything seems to work fine and I get not error messages of any kind. Previous versions of your tool worked too.

  • #21 / Feb 16, 2008 5:35pm

    Majd Taby

    637 posts

    Yes, everything is actually working exactly as it should. In version 2, CodeExtinguisher will automatically generate CRUDS for you, so you don’t have to. However, in a lot of cases you will want to define your own controllers so that you can use checkboxes, radioboxes etc…

    So when you see a page with just textboxes/textareas, you are using the automatically generated one.

    To define your own controller, follow these instructions:

    1) Go to application/backend/config/config.php and add an element to the codex_auto_generate_exclude_tables config array of the name of the table. This prevents CodeExtinguisher from generating a CRUD for that table.
    2) Go to views/navigation.php and add a link to your own controller
    3) Define your controller just like you always have

    This will all be in the documentation when it’s released 😊

  • #22 / Feb 16, 2008 5:43pm

    mandarin

    11 posts

    Ah yes, it is too late here and I am probably too tired. Got one to work. Thx for the fast reply jTaby. However, the Editor component still does not seem to work. Did this change?

  • #23 / Feb 16, 2008 5:57pm

    Majd Taby

    637 posts

    Ah yes, the Editor plugin was deprecated, instead, I’m going to make it an optional download.

    There are a few reasons for this, here they are:
    1) It bloats the download (add more than 2mb)
    2) It makes moving and uploading codeExtinguisher a big hassle (as it has 1000+ small files)
    3) it isn’t 100% stable and makes CodeExtinguisher look unstable by association

    On the flip side, now that it’s an optional download, I can have the option of downloading TinyMCE, FCK, SPAW? etc etc

  • #24 / Feb 16, 2008 6:05pm

    mandarin

    11 posts

    jTaby for president.

    Alright I will try and include on my own (probably the one from previous versions). Maybe I am building some plugins then 😊

  • #25 / Feb 16, 2008 6:06pm

    Majd Taby

    637 posts

    get crackin 😛

  • #26 / Feb 16, 2008 6:43pm

    Chris Newton

    440 posts

    Sorry if this has been mentioned, but your application assumes that the system directory is ‘system’. Mine is never ‘system’ so your application installer errors out.

    Line 69 of installer.php

  • #27 / Feb 16, 2008 6:52pm

    Majd Taby

    637 posts

    Hey mahuti, checkout the _just_ release RC6 in the main post of this thread, it solves your issue 😊

    I’ll take this chance to notify everybody that RC6 is released with many bug fixes and is available in the main post of this thread.

  • #28 / Feb 16, 2008 9:29pm

    Sean Downey

    34 posts

    Hi

    I am really sorry if I am doing something stupid but I followed the instructions to install.
    The backend folder is inside the application folder.
    I ran the installer - it created the tables and the user but when I try to login it just brings me back to the login page.

    I am looking forward to testing this - I tried rc5 and 6 but I get the same result.


    Do I need to do anything else for the login to work?
    Everything seems fine - database.php the DB itself etc etc

  • #29 / Feb 16, 2008 9:45pm

    Majd Taby

    637 posts

    Hey, I actually moved the backend directory and I forgot to change the installer (it’s been a long day), i’ve updated the zip. Please let me know if you still have the problem.

  • #30 / Feb 16, 2008 9:58pm

    Sean Downey

    34 posts

    :-( still no joy and I got an error with the permissions on the database file cause it was using the wrong path.
    But after fixing that it still didn’t work.
    —————————-
      $file_path = ‘./backend/config/database.php’;
      if(!is_writable($file_path))
          $errors[‘insufficient_permissions’] =  “Insufficient permissions on $file_path. Please fix the permissions.”;
    —————————

    - the installer.php file should be in the same folder as index.php?
    - should I be able to login straight after installing without doing any other code changes?

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

ExpressionEngine News!

#eecms, #events, #releases