Avatar

Howdy, Stranger!

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

Lance

About

Username
Lance
Joined
Visits
214
Last Active
Roles
Member

Comments

  • No sweat. I did miss one thing, the date_format in Form_builder needs to be d-m-y. Pretty sure _thats_ it. There was some changes in my_model::clean but I'm sure those were reversed in favor of the above.
  • You are correct in loading the constants. Not sure why it's ending up in the tools nav. Where the nav ends up is to do with the $config['nav'] in your /config/[your_module].php file You don't have something like: $config['nav']['tools']['tools/my…
  • Just on the search, pages are tricky.. I modified the model from 'thisisflashpoint' to suit my needs (no blog, individual terms), maybe helps someone else.. function search($keywords) { # Key words $keywords = explode(' ', $keywords); # Sho…
  • Start of in BaseFuelController: _initDatePicker function. Change the format strings in here to: dd-mm-yyyy Next, in MY_date_helper.php overwrite the existing function with this: function english_date_to_db_format($date, $hour = 0, $min = 0, $se…
  • What do you need Knight? We have some code for d/m/y down here if that helps you and it's urgent.
  • Ah looks like it defaults to display_field on line #362 of the module controller in that case.
  • Glad you got it sorted. Still, seems odd. Is your module config 'default_col' just 'name'? If so, I'd say that was overwriting it.
  • Hmm.. can you click the refresh icon to the left of the filter input on the list view. Long shot but if you had a filter in play then changed something, it can cause problems.
  • You are just seeing the spinning gif yes? We're not trying to check the sql etc. If you check the response panel in Firebugs Net->XHR you'll see any errors there. Otherwise you'll see a swag of html to build the table. The pagination is somewha…
  • It's meant to be array's as far as I can see in base_module_model::list_items. Probably just checking it wasn't objects. This is in a model for products where the table name is 'product' right? Can you check the output in FireBug (Net->XHR). It…
  • Can you post the method? What does Firebug have to say?
  • Just to be clear, by row you mean a row in the list items table? I'm on my phone atm.. If you want a custom table action there take a look in the /modules/fuel/config/fuel_modules.php file. There's some good examples in there that might help. If y…
  • For the second option of creation, not tried but you could write a custom button for the list items. Could also use a custom form field type in the category edit screen to bring all of its products through. It's a extra click but has the benefit of…
  • FWIW I can't seem to replicate that here.
  • Do you (or anyone else) see a benefit to allowing advanced modules routes in the public side of things? Maybe even a separate routes file for public to save overhead. To my mind, it seems a bit tidier to keep it altogether, ease of install etc. Po…
  • Ugh, ignore me. I got it.
  • Everything works, no bugs. I agree it is more explicit using module_library(). I guess my real question is, as it's commented as backwards compat, is it on the chopping block going forwards? I assume like most things (EG CI supporting php4) backwa…
  • I don't understand the question but if you're asking if you can use your own controllers for the front end of your website, yes you can. http://getfuelcms.com/user_guide/general/opt-in-controllers And take a look in application/controllers/contact…
  • No didn't try CLI. This isn't on OSX, doing it on Linux VPS. I updated that line to this btw: if (isset($segments) and $segments[0] == '--run=') array_shift($segments);
    in CRON Comment by Lance December 2011
  • Similarly minor thing in the blog settings, the nav_selected property doesn't seem to be getting set. I added $this->nav_selected = 'blog/settings'; in the blog settings controller (index())
  • With regards to _remap and being manual. It is. You're basically biffing all and any segments into one "pool" and then have to sift through it to find what you want. I generally use this to spit out to other private methods in the controller. An e…
  • Im away from a comp and I've not used the related methods, I'd usually use the on_after_save hook to load the other tables model and do the work there
  • If this is outside of the Fuel back end you'll need to do some processing of the files to save it. Can you paste your controller? If you need a head start in the interim, you can see how Fuel handles it in: modules/fuel/controllers/module::create(…
  • Ported my old static website to Fuel last night. Took a ridiculous two - three hours or something to do! http://redgemmedia.co.nz/ Messed around with the Backend a bit. The groups on the left slide up/down instead of show/hide: http://redgemmedia…
  • Sorry mate, I may have steered you wrong. Copying that (only) isn't enough to make it actually work. Was just an example of using a custom function. If you want to use that you'll also need to: Open up modules/fuel/assets/js/fuel/controller/BaseFu…
  • A bit more on that cookie, it's Fuel_ and an md5 of your site name defined in config. Another way to go about the button to launch CKF is something like: in form_fields() $fields['sm_image'] = array( 'type' => 'custom', 'class' …
  • You won't be able to use is_fuelified() or get anything out of the $_SESSION array either. Fuel constants are also out leaving (at this point) $_COOKIE. Assuming you've not changed the default CI cookie name of ci_session in config, look for that a…
  • Personally, that's not a good reason to avoid innodb. You had a corrupted table, it happens. Could have happened with any storage engine. There are tools to recover (EG: http://code.google.com/p/innodb-tools/) but a better bet is to have cron backup…
  • I'll start where ^ left off. Admin (David) and the Daylight guys commitment to this thing being a success is amazing. The support is always quick, well thought out and probably most important - correct. It's obvious the amount of knowledge Dave has…
  • I wouldn't leave it to some default setting. There's no point using innodb if you have no relationships to enforce. Table's should use what they need to. There's plenty of spots where Fuel creates logical relationships but they're not *actual* rela…