Welcome Guest, Not a member yet? Register   Sign In
CodeExtinguisher v2.0 Release Candidate 13
#21

[eluser]Donald Hughes[/eluser]
No need to apologize, you've done incredible work on this. Even though it took me a while to work through some of the bugs and less documented features, the end result is something that is saving me a huge amount of time. Thank you very much for you awesome contribution!
#22

[eluser]Majd Taby[/eluser]
Just wondering, what do you guys think of this concept?

http://jtaby.com/bucket/codexnew.jpg
#23

[eluser]abmcr[/eluser]
Yes.... i think this solution is best
#24

[eluser]cu3edweb[/eluser]
[quote author="jTaby" date="1210932888"]Just wondering, what do you guys think of this concept?

http://jtaby.com/bucket/codexnew.jpg[/quote]

I really like this also. Very simple and nice looking.
#25

[eluser]Référencement Google[/eluser]
[quote author="jTaby" date="1210932888"]Just wondering, what do you guys think of this concept?

http://jtaby.com/bucket/codexnew.jpg[/quote] It really look better and cleaner than the Blue one! That make things more serious, however, you can keep the other one as an optional template.
#26

[eluser]gusa[/eluser]
cool! Smile
#27

[eluser]abmcr[/eluser]
JTaby: i have made a table plugin for generating a tab interface (Jquery tab by stilbuero), useful if you have many fields to manage; in my work, i tab the fields of language (ie: tab italian, tab englisg... etc).... All work, but i have a question: i have made a little change in view/codex_form
Code:
<div class="codex-form">
    &lt;?php
    echo form_open_multipart($form_action,'',array('user_id'=>$this->codexsession->userdata('user_id'),$this->codexadmin->primary_key=>$this->codexadmin->active_id));?&gt;
    <div id='codex-form-tab'>
    &lt;?php
    $array_tab=array();
    foreach($this->codexadmin->form_setup as $name=>$params){
        if(in_array('TabSet',$params)){
            $array_tab[].="<a href=\"#".$name."\"><span>".humanize($name)."</span></a>";
        }
    }
    echo ul($array_tab);
    echo $form_html;
    echo $permissions_form;
    ?&gt;
    &lt;input type="submit" value="&lt;?php echo $this-&gt;lang->line('codex_submit'); ?&gt;"  name="delete_selected" id="delete-selected">
    <div id="cancel-selected"> or &lt;?php echo anchor($this->controller_link, $this->lang->line('codex_cancel')); ?&gt;</div>
    &lt;?php echo form_close(); ?&gt;
    &lt;?php echo $this->codextemplates->get('extra-form-html'); ?&gt;
    </div>&lt;!-- end of div for jquery tabs--&gt;
</div>
As you see in the attach file all work fine and only the OneToMany plugin create problem: if i insert into the yml a OneToMany, all work but when i save i get an error as
Code:
Disallowed Key Characters.
The problem is into the codex_form.php file because if i delete the rows
Code:
&lt;?php
    $array_tab=array();
    foreach($this->codexadmin->form_setup as $name=>$params){
        if(in_array('TabSet',$params)){
            $array_tab[].="<a href=\"#".$name."\"><span>".humanize($name)."</span></a>";
        }
    }
    echo ul($array_tab);
all work, but the tabs , obvious, are not created....... Thank you
#28

[eluser]wouldhide[/eluser]
[quote author="jTaby" date="1210932888"]Just wondering, what do you guys think of this concept?

http://jtaby.com/bucket/codexnew.jpg[/quote]

i like it very much. i'm just starting a project, and wondering if it's worth waiting for this to come out?
when are you planning to release this style?
#29

[eluser]Majd Taby[/eluser]
wouldhide, i would just use the current version and upgrade the core whenever a new version comes out. As long as you don't modify the core, updating is a simple copy/paste.

abmcr, Why not structure it like the FieldSet plugin? that way you wouldn't need to modify the codex_form.php view and make your plugin a one-file download Smile

To answer your question regarding Disallowed characters, the OneToMany and ManyToMany plugins generate HTML which contains {num} ...this HTML is in &lt;?php echo $this->codextemplates->get('extra-form-html'); ?&gt; however, if this line is after your &lt;/form&gt;, then it shouldn't be sent as part of the form. So check your html, and make sure the {num} part is not part of the form.
#30

[eluser]andjules[/eluser]
[quote author="jTaby" date="1210932888"]Just wondering, what do you guys think of this concept?

http://jtaby.com/bucket/codexnew.jpg[/quote]

It's great. But hopefully an option, as the current design is also great is many circumstances (perhaps better when number of tables is few).

Great work




Theme © iAndrew 2016 - Forum software by © MyBB