Thanks so much! One more issue to consider, though, is the link still attached to each row in the list view. Clicking that now takes you to /fuel/undefined. Tried to find out where that was being generated. I assume it's a jquery click function but …
Thanks! I have it up and working now. Forked the 'correct' branch this time. Yikes.
Ok, so what I want is to give a user access to a simple module's list view only (players_model) AND be able to export that list as csv. I created the following perm…
I'm using a version of 1.0 from around 4 months ago. What would be the minimal set of files to update to be able to take advantage of the 'permissions' fix you mentioned above?
There have been some pretty major changes over the last couple of mont…
I have a players table in the db. In the list view of that module of the CMS I need to hide the edit and delete links for some fuel users. I want them to be able to export the items in the list as a csv but not be able to edit or delete any of the r…
That was the case. I was loading the main_nav as well as the footer_nav blocks like this:
<?php $this->load->view('_blocks/main_nav'); ?>
Changed them to:
<?php $CI->load->view('_blocks/main_nav'); ?>There's no error in the p…
Thanks for the reply. Just now getting back to this. So, are you saying to place this in MY_fuel_modules.php?
if(function_exists('get_instance')) { $CI =& get_instance(); $user = $CI->fuel_auth->user_data(); if(($user['super_ad…
Thanks. It's weird but I changed the name to My_assets_model.php and changed the line in MY_fuel_modules.php to:
$config['module_overwrites']['assets']['model_name'] = 'My_assets_model';
Getting this error:
Fatal error: Class 'My_assets_model' no…
Ok, I copied the existing assets_model.php file and placed it in the applications/models dir naming it MY_assets_model.php. I then went into MY_fuel_modules.php and added this:
$config['module_overwrites']['assets']['model'] = 'MY_assets_model'; $co…
(The following question is similar to this one but I thought it might be best to place this here since there is a slight difference and it directly relates to this thread. )
Is there a way to conditionally hide the item_actions buttons (save, delet…
Doh! Thanks. I hate it and love it at the same time. Getting an error now though. As a reminder, this is the function in clients_model.php.
function create_client($data) { $CI =& get_instance(); $db['default']['db_debug'] = false;…
Thanks for pointing me in the right direction. What I'm wanting to enter into the text field and save without being affected is some jquery/javascript so there are tags. I think these are getting stripped out. I see php, template and entities, etc.…
Figured it out. Didn't realize that this was an overall setting for the form itself. This fixed it for anyone else that might be confused:
$fields['user_name'] = array('label' => lang('form_label_username_email'), 'required' => TRUE); $fields[…
ok. not sure what was going on. the company has hundreds of other domain names and they handle all the A-record pointing on their own server. They might have been doing some crazy stuff with all of that earlier this morning because the 'domain take-…
Ok. I changed it to:
$config['wordpress']['url'] = 'http://testsite.com/wordpress/wp-admin'; // just the base urlIt's sending me to the login page now but here's what I'm seeing in the url querystring:
wordpress/wp-login.php?redirect_to=http%3A%2F%2…
Am using 0.9.3.
Have a client who wants me to install Wordpress for use as an image gallery with categories, etc. I've installed it in a 'wordpress' folder. I downloaded the 3rd party modules and placed the wordpress folder from the 3rd party module…
I had searched for a thread on multiple databases and this was the only one I found. I was able to find a quick and easy solution and thought I'd post it here.
I had a client with 2 divisions of their company with 2 separate websites but they neede…
I was able to fix this by changing line 13 in fuel\modules\fuel\config\fuel_constants.php from this:
define('WEB_FOLDER', $_FUEL_SEGS[count($_FUEL_SEGS)-2]);
to this:
define('WEB_FOLDER', $_FUEL_SEGS[count($_FUEL_SEGS)-1]);
I've tested the site and …
I'm having to use a different smtp server and it requires authentication. I found fuel/application/config/email.php and added these lines:
$config['wordwrap'] = TRUE; $config['protocol'] = "smtp"; $config['smtp_host'] = "mail.theremoteserver.net"; …
I punted. It looks like that method wasn't completed. Anyway, since there's always only one querystring variable and will always look like this:
website.com/search/?search=A. search term with extra characters
I did this and it seems to work just fin…
I was able to build a search successfully. Thanks. Actually ended up creating my own but am using the 2nd uri segment for the search term because the client wanted the WIBIYA toolbar for their local search. The WIBIYA instructions are to do a search…
I wasn't sure where to post this. Just thought someone might have run in to the same issue that might have found something of use to 'share.' Thanks for the input. I'll look in to that.
I logged out and back in and the problem of not seeing anything in the list was resolved. However, it was still ordering by the 2nd field in the table. I clicked the link above and discovered a list of properties for each module and their defaults. …
I received a response from admin as follows:
Do you have a default_col property set for your module in your fuel/application/config/MY_fuel_modules.php file? Also, you may need to try logging out then back in because FUEL will save page state in a s…