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

  • You can overwrite the default 'nav' settings in your MY_fuel which are the following (from the main fuel config): // site... Dashboard will always be there $config['nav']['site'] = array( 'dashboard' => lang('module_dashboard'), 'pages' => …
  • I think I see the issue. It's because PHP transforms periods to underscores automatically in $_GET. http://stackoverflow.com/questions/68651/get-php-to-stop-replacing-characters-in-get-or-post-arrays I've posted an updated that will allow for the …
  • Try adding pdf and xls to the 'media' folder. The media one is used as the catch all for all asset types in 0.93. 'media' => 'jpg|jpeg|jpe|png|gif|mov|mp3|aiff|pdf|css|pdf|xls'
  • The best way is to use GIT and set it up as a remote repository to pull from. Are you familiar with using GIT and setting up remote repos? https://help.github.com/articles/adding-a-remote
  • Is this while attempting to upload from the Assets module or from attempting to upload from within your own module? Also, if you are attempting to upload to a PDF to that folder, you'll need to specify that file type extension as well: 'ebooks' =>…
  • And what is the query when you use the key "fuel_relationships.foreign_key" ?
  • You can echo out the FUEL_VERSION constant somewhere or look in the fuel/modules/fuel/config/fuel_constants.php file at the top.
  • A couple questions: 1. Do you have mod_rewrite setup in XAMPP? 2. Can you access it like so http://localhost/latihfuelcms01/index.php/fuel/login
  • A couple questions: 1. What version of FUEL? 2. Can you output the query by perhaps adding the following item at the end of your model::list_items method and see what the query result is? $this->debug_query(); Also, more as an FYI and may not b…
  • Are you referring to styles applied with the "style" tag attribute? Perhaps try adding the following in your MY_fuel_modules.php file for the formation module:'sanitize_input' => array('template','php'),
  • When you say the styles aren't saved, do you mean the HTML tags for those styles are not saved in the database? Or do you mean they aren't being displayed on the front end (like the HTML is stripped out)?
  • Is this with the 1.0 beta branch or 0.93? Also, it could be that the CodeIgniter mime type mapping may need to be modified. There is a "mimes_types" method on the CI Upload class that you can debug to see if the mime being returned by the server mat…
  • Are you getting a Dwoo parsing error? If so, you can wrap your javascript in a literal tag: // code goes here. Dwoo will try and parse code that has {....}. To avoid it, you can add spaces after the opening bracket.
    in Header Eval Comment by admin July 2013
  • The demo site is currently offline. To see it in action, you'll need to download and install.
    in Demo Site Comment by admin June 2013
  • Does it work if you change "Excel" to "ebooks" in the array key? The key is the folder name and the value is the types of files that it should accept that maps to the fuel/application/config/mimes.php file.
  • I've found an issue with one of the versions of MAMP and the iconv library that was installed with it would cause an issue where it would blank out the value completely. Here is a StackExchange that describes the problem and links it to a version of…
  • I got this working locally with the following. 1. There was a bug with loading multiple CSS files for custom fields. I've pushed an update for that to the 1.0 branch so grab the latest. 2. Place the colorpicker css files into an assets/css/colorpi…
  • Try the following instead (note that 'my_custom_field' should be the type name): $fields['colorpicker'] = array( 'js_function' => 'ColorPicker', 'css' => array('colorpicker/colorpicker', 'colorpicker/layout'), 'js' => array('colorp…
  • There is an "xtra_css" configuration parameter you can set in you MY_fuel.php which will load in that css file as well. The downside is that it is loaded on all pages in the CMS. In 1.0 there is a css parameter you can associate with a field type w…
  • Layouts need to exist in the application/views/_layouts/ folder. Perhaps you just create an application/views/_layouts/formation.php file and just include the same file. Also, if you are pulling it from the CMS, try adding "render_mode" => "cms"…
  • Try passing the "view_module" parameter like so: $this->fuel->pages->render('formation', $vars, array('view_module' => 'formation'));
  • Do you have a main layout setup and if so, what folder is it residing in?
  • I believe the URL would be http://localhost/fuelcms/test OR http://localhost/fuelcms/about. The RewriteBase should be set to the same folder location as to the index.php bootstrap file.
  • Is this in the CMS? Are you using the markitUp! editor or CKEditor? This isn't something that FUEL does by default so I'm not sure what the issue is.
  • The on_after_save addresses both insert and update.
  • The save_related is intended more for using a many to many lookup table where you are using multiple id values to associate with one another. Can you perhaps try doing it by loading in the brew_sizes_model and just saving it like so: function on_aft…
  • Is this in .93 or 1.0 beta?
  • Perhaps try adding the following in the if conditional: if(in_array('blog', $var) || in_array('admin', $var) || in_array('fuel', $var))
  • You need to execute that file in phpMyAdmin or Sequel Pro to install the database. It's a bunch of SQL.