That helped. Now I get to see recent projects module page, but it has this error twice on there:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: id
Filename: controllers/module.php(293) : runtime-created function
Line Numb…
Ok so that renders the button, but it's rendered on both of the forms. What I ultimately want is a "Next" button on the first form, and a "Submit" button on the second form.
I have been building off of the contact controller in the example actually.
In the documentation, it doesn't have any parameters in the validate() function. Is it necessary to use $_POST in the validate function?
Here's how i'm using the controll…
I tried that, but I must not be doing it correctly. I did like this
$fields['name'] = array('label' => 'Name', 'required' => TRUE, 'class' => 'input left'); $this->validator->get_error('name');
but that didn't give me anything.
I've updated the form.php library and now it prints out a label and input tag with the button html markup in the input field
Here's the code that's returned:
I figured it out. I just had to name the permission "gallery" instead of "Manage gallery".
The reason I used "Manage gallery" is because when setting up a permission, if you hover over the name label it says something about using the word "Manage" …
Around line 60 I did this
if (($this->fuel_auth->has_permission($key)) || $key == 'dashboard') { echo 'key = '.$key; } else { echo 'bad key ='.$key; }
it prints out "bad key = gallery".
Ok that error is gone, but the button isn't rendering correctly.
if I go to the net console of firebug and look at the http response, here's what is actually returned to the browser. Is there a bug in the create_button function?
Yep I don't have that method in the form_builder library. I updated my form_builder library with the latest version, and now the page actually shows stuff, but it's giving an error that says
A PHP Error was encountered Severity: Notice Message:…
I don't think that an h3 tag will do for me, as I need to wrap sections of the form in fieldset or div tag.
Is it possible to build the form using 2 separate sections and then use both of them like this? If so, how would I do that in the controlle…
@Raknjak do you know if the fancybox stuff is actually getting loaded? You can check using the net panel of firebug.
Also, if the jquery library is called twice, that can cause issues.
Yea that's what I figured was happening. If it's appended with a period(.) I would have thought that it would just include it as the first parameter in the img_path() function, but apparently not so.
In any case, I figured out my issue by comparin…
Hi pierlo, I haven't actually tried the Modules-pack yet, but I wanted to try it solely for the GA dashboard. Could you let Admin know what doesnt work so that he can get it fixed?
Can you just include the e2config.php file in each view and not in the header block without getting errors? I know this is not the ideal solution, but it might be a work around until someone else can chime in with a better solution.
I might not be understanding correctly, but for a fail safe, couldn't you just return true or false from on_before_delete and then in the delete method pass in that variable and check to see whether it's true or false?
Actually I made this name up based on the skateboard company when I was like 14 years old and have used it for lots of screennames ever since.
You cannot specify the max upload width and height in the form_fields function. You'll want to use one o…