Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

admin

About

Username
admin
Joined
Visits
8,800
Last Active
Roles
Administrator

Comments

  • is scratch_images a simple module with an entry in MY_fuel_modules.php?
  • That is a cache buster. It's tied to the fuel/application/config/asset.php "assets_last_updated" value. The "asset_append_cache_timestamp" determines which assets get that appended to it and by default it is only set to js and css.
  • Unfortunately, there is no "placeholder" value at the moment that you can use (e.g. 'client_id' = '{client_id}'. I think we know where to add it but just haven't yet. If you are interested, it would be in MY_Model on lines 2732 and 2747 in the form_…
  • For the $js and $css variables to come through, you'll need to use $this->fuel->pages->render()... that pulls in the views/_variables/global.php file? Try adding the following: ... $vars['body'] = 'test'; $params['view_module'] = 'membershi…
  • First run the following: php index.php fuel/installer/uninstall user_guide This will remove any db tables, permissions, and remove it from MY_fuel.php $config['modules_allowed'] array. It will not however delete the folder (you can do that manually…
  • In 1.0 beta there is. It's found in the fuel/application/config/MY_config.php: https://github.com/daylightstudio/FUEL-CMS/blob/1.0/fuel/application/config/MY_config.php
  • The users in FUEL are mostly handled through the fuel/modules/fuel/models/fuel_users_model.php (in the 1.0 beta) and fuel/modules/fuel/models/users_model.php in 0.93. This model inherits from Base_module_model which in turn inherits from MY_Model, w…
  • Thanks for the heads up. Both issues should be fixed now. It will require an update from the user_guide module to fix the documentation. The generation error should be fixed with an update from the FUEL module.
  • This may help: http://stackoverflow.com/questions/155291/can-html-checkboxes-be-set-to-readonly
  • I actually saw that earlier today and pushed a fix. It's looking for a template file of {module}_module.php instead of {module).php. https://github.com/daylightstudio/FUEL-CMS/commit/af54a39df1c039e6528214397a2badd9f72ccef3
  • I've ran into an issue where "php" is pointing to the php version that ships with OSX. The solution was to change where the php command points to or use the absolute path. The second red box in this area talks about this potential issue. http://www.…
  • Thanks for the heads up with that. I've posted a fix (in the fuel/modules/fuel/assets/js/fuel/controllers/BaseFuelController.js file).
  • Does the $params array have the appropriate settings if you var_dump it? If so, do you possibly have multiple versions of PHP installed? What is your Apache/PHP/MySQL stack you are using (e.g. MAMP, WAMP, etc)?
  • You are correct. There was an issue with the previous push. I've pushed another fix for that. You should be able to do a pull from the remote repo to fix.
  • You will need to create a controller to handle the request. The only exception really is an ajax request where you can automatically map requests that begin with "ajax" to a model method: http://www.getfuelcms.com/forums/discussion/comment/2138/#Com…
  • You can create a controller anywhere, it just needs to inherit the Fuel_base_controller or if it's a simple module, the module controller (found in fuel/modules/fuel/controllers/) which itself inherits from the Fuel_base_controller. You'll want to c…
  • This was the commit that fixed the permission: https://github.com/daylightstudio/FUEL-CMS/commit/12d822f1885500a0fa8375b406b960a07a48f54d With regards to updating, it's tough to say what would be easiest based on if you made any changes to the FUEL…
  • The default permissions on a simple module were incorrectly set in Fuel_modules.php which I've updated on GitHub on v1.0 to be "'permission' => array('create', 'edit', 'publish', 'delete'),". You can also set this for your simple module and it sh…
  • Thanks for the report. I've posted a fix for that: https://github.com/daylightstudio/FUEL-CMS-Blog-Module/commit/fe24b63f626a9835df72a461eb3562ba8af62579
  • OK. After looking at it a bit more, I think the best implementation is the previous fix you mentioned plus adding the following code to Fuel_assets around line 310 to prevent the error if you don't select the create thumbnail button: // to fix issue…
  • Does it also work correctly for you instead you change MY_Image_lib on line 33 to something like this: protected $_thumb_marker = '_thumb';
  • Was this an issue when you were saving from the Assets module?
  • Yesterday is when I updated it. I did notice some other strange behavior with how it seems to render some of the attributes after you save and it appears to be something CKEditor is doing from what I could tell. If I removed the style attributes and…
  • Are you using CKEditor to enter in that content by chance and is this the latest version? I pushed a fix (or what I hoped was a fix) for a similar issue with CKEditor and it replicating parts of the img_path function and am wondering if it either f…
  • I've pushed some changes to the 1.0 branch to allow you to add placed holders to the file name. If you are wanting to customize the file name and need a field for that which will by default be the generated file name, I'd recommend doing something l…
  • I think the easiest way to debug this would be to get the filemanager.php to render outside of FUEL and CKEditor. It's setup to operate independently. I would try browsing to the following file and see what sort of error messages in the console show…
  • The current implementation requires the use of an on_after_post hook to rename the uploaded file. However, I'm working on an easier solution where you would simply just need to pass in place holders in the file_name parameter like so: $fields['file'…
  • What version of FUEL? If 1.0 beta are you using the 'asset' field type or the 'file' field type to upload the image?
  • If you create an advanced module, it will automatically load any css file in your fuel/modules/{module}/assets/{module}.css. Additionally there is a MY_fuel.php configuration parameter you can set of "xtra_css" which will load a CSS file globally. A…
  • There is a "views" array that you can set in your module config in MY_fuel_modules.php. This has a default value of the following in the 1.0 beta:'views' => array( 'list' => 'modules/module_list', 'create_edit' => 'modules/module_c…