I would recommend creating a custom field type using something like Select2:
http://ivaynberg.github.io/select2/
There is a blog post that you can use for a reference in creating a custom field type:
http://www.getfuelcms.com/blog/2013/12/17/creati…
That's a really difficult question to answer not knowing much about ATK/Achievo and how your specific application is setup. FUEL CMS does support multiple languages when creating pages and blocks. Also, if you create a simple module (a wrapper aroun…
It unfortunately has not been because of how FUEL's other modules work outside of pages (fuel_navigation, fuel_users, etc). To include that site specific separation everywhere would require a new field for a lot of tables to specify what site the da…
Yes. I agree it's a little strange and something that was debated. The reason the "represents" includes a type of "text" is so that it easily maps to database columns that are of type "text" in which we would want a textarea instead of a text input.…
The related items are controlled in the locations_model::related_items method on the model. You can overwrite the model by extending that model and then specifying your new model in a module overwrite. The below is an example if you were to extend t…
The model names were renamed for version 1.0. The second error seems to probably be related in that it's looking for a sitevariables_model and it may need to be fuel_sitevariables_model.
There isn't a way like in CI where you can create a MY_Fuel_language.php file and it will overwrite it it at this time. You could however, extend the class and just instantiate it with something like the following:
$this->load->library('MY_fue…
There is a $config['ck_editor_settings'] configuration parameter in the fuel/application/config/MY_fuel.php file that allows you to specify different CKEditor parameters. FUEL actually has 2 custom ones in there by default, FUELImage and FUELLink. T…
Is this being called in a controller or a view file? If a view file try using $CI instead of $this since $this refers to the controller. Also, has the menu class been loaded using $CI/$this->load->library('menu')?
You can use a normal javascript plugin for that like this one:
http://lokeshdhakar.com/projects/lightbox2/
You can place the javascript in the assets/js/ folder and the call it in your view file:
<?=js('my_lightbox.js')?>
You many need to adjust the "get_image_path" method in the "Photo_gallery_item_model" record model to get it to match what you need. In addition, there is a GALLERY_DIR constant you may want to change to match the image folder.
Was anything being displayed when you did the following:
$gallery = fuel_model('photo_gallery'); foreach($gallery as $image): print_r($image->values()); endforeach;
Is the serialization JSON or PHP serialization on the field? Default is JSON. I've read that it may be an issue with mod_security on the server. Maybe one of the options found here:
https://www.tipsandtricks-hq.com/apache-mod-security-update-how-to-…
Yes. They usually have a URL of fuel/{mymodule}/ajax/{method}/. There is a method on the fuel/modules/fuel/controllers/module.php controller called "ajax" that handles those types of requests and finds the method on your model.
If you are doing it …
Also, this was just release in the forum which may help with your photo gallery:
http://forum.getfuelcms.com/discussion/1948/free-source-code-for-my-photo-gallery-module
Is the controller intended to be used in the backend with the CMS? The ajax_options method exists on the model that you want the options from (e.g. the states_model would return a list of states). If your model extends Base_module_model, which it pr…
Doing a print_r on a model variable will most likely make your browser spin because of the recursion of CI objects. So if it is spinning, that's actually a good thing and means that the object exists. A better way to use print_r on those objects is …
Where are you calling that code? If it's in a controller, you can substitute $CI with $this since $CI is just a reference to the controller object. FUEL automatically provides that variable to view files and blocks so you'll often see that in code e…
That is a strange error. I Googled around and found a few things:
http://www.interactivetools.com/forum/forum-posts.php?postNum=2234300
http://stackoverflow.com/questions/21836906/406-not-acceptable-error-occurs-in-form-when-textarea-contains-raw-ht…
If you look in the fuel/modules/fuel/config/fuel_modules.php file, you'll see the configuration for the fuel users here:
$config['modules']['users'] = array( 'module_name' => 'Users', 'model_location' => 'fuel', 'model_name' => 'fuel_us…
It looks to me like the $body variable isn't running the template parsing. I'm not sure what may be causing that to not happen. If you view source, do you see any other PHP errors in the code?
For creating a photo gallery, you can create a simple m…