Thank you! This run-down helped me get this to work. My hangup was an error in the URL to which the button was supposed to point. I removed the forward slash before "store" and that got it to work after integrating all the other changes you menti…
So yeah I'm still hitting a brick wall with this. This is such as simple thing to do really, all I am really trying to do is point a custom button to a particular URL.
My question to the Fuel guys is this: How do I make a custom Fuel button work?…
Lance, I have it setup exactly how you laid it out, and I can't seem to get that route to quite work also. I'll admit, i'm no expert defining route stuff, but I took this stab at it but it still doesn't work to redirect that fuel URL to my working …
Rather than try to re-route that link, however, I would find it more useful to understand how to get a controller function to work with the /fuel included in the URL, that way I understand more how the fuel routing works for when I need to add more …
Ok I am almost there with getting this to work, thanks much for the guidance in getting my controller setup. I now have an export function in a controller I've placed in modules/store/controllers/helmets.php.
The last issue remaining has to do wit…
Great, thanks!
A related question I just thought of is rather than making the form fields not appear at all, is there a way to have the values of the hidden fields show up as plain text on the screen so that the values cannot be altered, but stil…
I have an add-on question to this, and that is how do you see the changes made in Fuel before merging those changes into the application-specific repository?
I use git fetch and then merge, but I always feel a bit uncomfortable right before mergi…
That worked! Thanks very much! It is in an advanced module, so I replaced "my_adv_module_name" with "corporate_partners" and it worked.
Suggestion: The modules section of the documentation could use a lot of expanding, since most of the question…
Awesome, thanks for all the tips. I got it to work successfully based on all the pointers you gave. Once again, thanks to the excellent Fuel team for your support!
Thanks, I got the id to show up in the list view, which is good (check). However, I need it to show up and be sortable, so here is my modified code that successfully displays the id column, but now none of the columns are sortable:
function list_…
I'm trying to do a similar thing with a simple module in the Fuel admin as well. I have a field called "status" with 2 options: open and sent stored as enum and a field called "type" with multiple options stored as enum in the corresponding table t…
I got it working by starting from scratch in a sense. I removed the corporate_partners_fuel_modules.php and corporate_partners_routes.php just to get a clean slate and then I modified MY_fuel_modules.php to contain this:
$config['modules']['subsc…
Also, here is the code i have in the models/subscription_types_model.php file:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); require_once(FUEL_PATH.'models/base_module_model.php'); class Subscription_types_model exte…
Ok, I've done all of the steps you outlined, but I am still getting a 404 error when trying to access /fuel/corporate_partners/subscription_types, which is the location I would prefer for accessing the subscription_types table view in order to edit …
Yes, the end goal is to download it. I figured out how to do it by adding a redirect command in the root .htaccess file. That handled it pretty well, thanks!
Ok, I got it to work. I think it wasn't working because I hadn't created a view file called "maintenance.php". It is working just as I was hoping. Thanks a bunch for this!
I would like to reiterate my suggestion to build this into your core syst…
I tried replacing this code with the fuel/modules/fuel/config/fuel_routes.php file and it doesn't appear to be working. I'm assuming all URLs other than Fuel will redirect to "maintenance" but that is not happening. Everything appears to be functi…
This would work! Thank you for putting this up. Would this affect the Fuel Admin as well? I would like it to NOT affect the Fuel admin area, but just the other routes for the rest of the website.
I would highly recommend that you guys put this i…
I am trying to do this same thing and am experiencing the same problem this thread originally voiced in that I am not seeing the value displayed on the view using the fuel_var function. I have my fuel_mode set to auto, but I have not added anything…
Ok, I have another question. I have a checkout controller that process a store transaction. Inside of that controller I have the _remap() function and a success() function. The success function gets called when a successful purchase goes through,…
Yep, I'm just steps away from you over on Grand and Morrison (in front of River City Bicycles). You guys I think are right in front of Clarklewis, I actually had lunch there the other day. We'll have to meet sometime, definitely see your product a…
Awesome, thank you! I just renamed my index function to _remap and it worked. Have to say, most helpful forum on the net for one of the best CMSs on the net, thanks!
I was able to get this working by adding this line into my application/config/routes.php file:
$route['store/checkout/(annual|3day|24hour)'] = 'store/checkout';
It gives me a 404 if I do this:
$route['store/checkout/(annual|3day|24hour)'] = 'st…
Cool, thanks for the tip. I didn't initially plan on having an admin view in Fuel for the store, but that gets me thinking that it might be a good idea.
I have an additional question regarding routes. I want to have routes like this:
example.c…
I figured out why I am being asked for a password. It is because my main store.php controller class is extending the Fuel_base_controller, which automatically checks for a logged in Fuel user:
<?php require_once(FUEL_PATH.'/libraries/Fuel_base…