If your foreign key model exists in another module, then instead of a string value for the name of the model, you use an associative array with the key being the name of the module(as shown in that comment).
public $foreign_keys = array('id_ads_cate…
I think the origins of that decision came down to the need of needing the CSS for the left menu item icons to be loaded on every page whereas the javascript didn't need to be. We may look into changing that in the future.
In that case you can overwrite the option_list method in your model and apply any joins before calling the parent like so:
function options_list(key, $val, $where, $order) { $this->db->join('join1', 'join1.ref_id = join2.id', 'left'); …
What does your module configuration parameters look like? Does it include a line like so:
'filters' => array('category_id' => array('default' => 1, 'label' => 'Category'), 'type' => 'select'))
Also, as an FYI, since you are in a contr…
This page should help in the user guide where it talks about Using Controller:
http://www.getfuelcms.com/user_guide/general/creating-pages
class About extends Controller { function About() { parent::Controller(); } function contact() { …
This won't solve the problem completely, but there is an "xtra_css" fuel config parameter that you could set that includes all your icon css. You could then remove the module specific CSS for those modules that only use the CSS for the icons. This w…
Sorry for the delay... I missed your response on the Forum some how. The _render function is specific to rendering the Admin UI. Also, the opt-in controller method (where you don't need a controller) only works in the application folder and in modul…
You would need to create a controller to handle that functionality. You could do that by creating an Advanced Module which allows you to create a controller to handle requests like that. Or, you could simply just create a normal controller in the ap…
That's the correct syntax. Are you sure those are related? That error message has to do with loading in a twitter config file. Perhaps you are extending a base controller that is trying to load in that config file?
You can create a new layout that has "body1" and "body2" layout variables in them. The only issue I see is that "body" by default is the field used for uploading the main content of a page (e.g. uploading a view file maps the view data to that field…
Can you get away with creating the field like normal and adding a css class to it. Then use a custom js file that will take care of initializing the jcrop, etc, functionality for that field?
No. The way to do it in the model is to actually remove the parameter from the fuel_modules.php file so the default will kick in which will be only those values in your select statement.
1. You will need to alter the table_headers parameter in fuel/modules/fuel/config/fuel_modules.php on line 17 or simply remove it. If that parameter is not set, then it will just use the data from your select.
2. You can do some further processing …
Try adding that field in the model's _common_query() method with a select and join so it's available with basic find queries and see if that works:
function _common_query() { parent::_common_query(); $this->db->select($this->table_nam…
The only main advantage is that it is less code and if you import your view file later into the CMS, that function is one that is allowed with Dwoo syntax.
Because the name of your model doesn't end in an "s", you will need to add the following to your model to identify your record model:
public $record_class = 'Helper';
Also, as a side note, you can use the following as an alternative to get your dat…
A1. We actually don't have a forum module and haven't had the need yet to go down that path since there are already some nice free alternatives. We are using Vanilla Forums:
http://vanillaforums.org/
A2. If I understand you correctly, you can do th…
You may want to read this page in the User Guide if you haven't already:
http://www.getfuelcms.com/user_guide/general/inline-editing
Are you wanting to have a page layout variable be "feature_content" or do you want a block to be "feature_content"?…
I think it has to do with the fact that it's a file tand does not go into the $_POST global variable but instead goes into the $_FILES global variable. What happens if you an on_after_post hook on the model and do a print_r on $_FILES?
Is the database error because of the database.php config file not being setup? Also, the fuel_path configuration value most likely doesn't need to be changed unless you want to change the name of how you access fuel (e.g. "http://www.myfuelsite.com/…
That error is actually from the model side when it is getting saved saying that the record doesn't have a field named "photo_image" to save to. How is that information being saved (or did I miss it above)?