Thanks. One of the things that was a little confusing was that it seemed I could no longer pass variables from the controller to the rendered view as uri segments like this:
$this->fuel->pages->render('sweepstakes_game/$seg2/$seg3', $vars);…
Ah, ok. So, I did that and I now have 4 tabs in all. I also changed the $fields var back to:
$fields = parent::form_fields($values); and the tabs do appear at the top (btw, the order => 0 tab is created as #fieldset3 rather than first).
But, th…
Just realized I replied to the wrong post and unable to delete this reply. So, instead of wasting it - In the form_fields method of a model, when I change this:
$fields = parent::form_fields($values); $CI =& get_instance();
To this$CI =& ge…
After talking with the server admin, the only thing he changed in server settings was to increase the LimitRequestLine value but he had already done that and it hadn't gotten rid of the error.
I had found and installed the Chrome extension - Chrome…
Thanks. I sent those links to the server admin and somehow he fixed it. Started working. Will try to find out and post here exactly what he did for anyone else who might have trouble with this issue. I know it's not directly related to Fuel but it i…
You were right. This turned out to be very simple! All I had to do was this:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Scratch_games_model extend…
I've run in to a similar issue with a list item not sorting but I think it has to do with the field name alias. I'm using 1.0 by the way. I have a select statement that uses tablename.fieldname as 'Display Name' in a few places and anywhere the alia…
So, maybe there's a better way to accomplish the filtering. I want to give fuel users the ability to hide records that have already been exported or to show them and make them available to be exported again. Is there a way to do this without using G…
Ok, Now I'm realizing that maybe I can't access $_GET vars in the CMS even though I have the following set in application/config/config.php
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
Wow. Right after adding the last post I figured out what i was doing wrong.
I had entered the filters and filters_join params in My_fuel_modules.php AND in the model itself. I removed them from My_fuel_modules.php and left them in the model itself …
Ok, I'm an idiot. I was working in an old branch. I've pulled the latest version and made my entries in the correct branch. So now, there's this error:
A PHP Error was encountered Severity: Notice Message: Undefined offset: 1 Filename: controllers/…
Here's the image_themes_model. Might be something missing there:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Image_themes_model extends Base_module_mod…
I added it at the bottom of the scratch_images model empty like this:
class Scratch_image_model extends Base_module_record { }
Didn't make any difference but should I add any variables to it?
yea, it says: class="field_type_multi add_edit " so it IS missing the module name.
Here's the scratch_images_model.php contents:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_modu…
Ok. I added the $values = parent::on_after_save($values); line to my on_after_save method and that got me where I needed to be. Got the 2 to play nice with each other. Both are saving now. Thanks a lot for the help. If there were any way to get vari…
Thanks! I might have done this the wrong way but I deleted the user_guide module directory in order to reinstall. Then in terminal, from the root directory, I entered this:
php index.php fuel/installer/add_git_submodule git://github.com/daylightstud…
Thanks again! Although now it's having trouble creating a view:
php index.php fuel/generate/advanced/ mydashboard CREATED * /Applications/MAMP/htdocs/fuelcms1.0/fuel/application/../modules/mydashboard/ * /Applications/MAMP/htdocs/fuelcms1.0/fuel/…
Thanks so much! Got that mystery solved, however, I get an error stating it was unable to create the controller itself...
Here's what I ran in terminal followed by the output and error:
php index.php fuel/generate/advanced/ mpghome CREATED * /App…
Anyone ever had to deal with pointing terminal commands for php and mysql to those installed with MAMP Pro? I've been doing a lot of searching and haven't found a good solution as of yet.