Avatar

Howdy, Stranger!

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

Gumster

About

Username
Gumster
Joined
Visits
520
Last Active
Roles
Member

Comments

  • Well I am using the fieldset id's to enable easytabs (jquery library) - although in a front end situation, not admin, so that's a germane comment. The fieldset and section types are really helping layout the forms I use now - don't know why I didn'…
  • Maybe the copy type could be changed to have an id too? Something like: public function create_copy($params) { $params = $this->normalize_params($params); $id = isset($params['id']) ? ' id="'.$params['id'].'"' : ''; $copy =…
  • Kind of - if id is set (hence the isset()) The Form class fieldset_open() has id as the 3rd argument, so I used that option. I clarified the line numbers above.
  • As far as I can tell (from adding log_message() to that line and elsewhere) _get_relationship() isn't being called at all, so no query to report.
  • Sadly.. yes. The result var is an array, but with no "stocks" object/array.
  • Oh, 'null' as a key. Yes that works. Incidentally, null isn't listed as amongst the "Universal Field Attributes" here: http://docs.getfuelcms.com/general/forms - should it be?
  • The render_divs() fix works fine in the example I had, many thanks! The granularity of control over the form is quite comprehensive in Form Builder! Regarding the default checked status of the radio buttons,which parameter specifically should set t…
  • Additionally, using the render_divs method of Form Builder, when a field type of 'fieldset' is used, I'm getting ... around the last fieldset tag rendered?
  • I've just started a new Fuel project, and have a recent v1 download and I'm getting similar errors in the logs to the last project from the Fuel Cache library: ERROR - 2013-12-07 08:56:36 --> Severity: Warning --> unlink(D:/wamp2/www/subdom…
  • Ah, now I've read through the form_builder docs again, set_field_values() kinda covers this. I've only been using a third of what Form_builder and MY_Model can do, if that! Regarding validation, I can see in the blog module means of adding rules, b…
  • I took a look at the contact code on github you mentioned.. not quite. Here's what I used in the Codeigniter project I mentioned (it goes on a bit, sorry): /* * Use Form_builder class to provide HTML * form for given controller / tab…
  • Hey that works! Tchoh! I'm so literal minded sometimes! Thanks. better still, I've renamed it to "site_users", which is more in keeping. Just in case anyone else reads this, I'll spell it out: // Defining ion_auth 'users' as a Fuel module $config[…
  • It's v1. MY_Fuel_modules is specified as: $config['modules']['users'] = array( 'display_field' => 'last_name', 'module_name' => 'Site users', 'model_name' => 'users_model', 'module_uri' => 'members' ); and of course the…
  • To an extent - the folder is 0771 (that's the most I can set via ftp), and Dwoo is writing to it OK. I've just discovered the constants file in /config, and am wondering what can be done with the settings there.
  • So if the value has already been looked up on an edit page, $fields['fieldname']['value'] won't contain it? So in form_fields(), for edits, the values have to be re-retrieved? That was always so, I'd forgotten!
  • I used that method and at first I tried jQuery's getScript(), but that proved highly temperamental, so I used native js appendChild to add scripts instead and that worked flawlessly. I noticed also that there is $config['fuel_javascript'] in Fuel.…
  • Nope! Hope you get going - I thought your situation was interesting as all my Fuel projects are Fuel first (I need a CMS) then become 80% CI projects as I add simple modules, occasionally advanced ones (which use more Fuel specific features). You ar…
  • routes.php in /application/config has the default controller configuration. You can point that to your CI controller of choice - if that is appropriate for you. Make sure MY_fuel.php has the appropriate "fuel_mode" - there are some comments there t…
  • Wow! This is a monster feature! It ought to be on billboards! Great stuff!
  • That helps a lot! - but on the 2nd tab ('Sections', now showing) there is an error: Fatal error: Cannot use object of type Fuel_block_layout as array in .../Fuel_layouts.php on line 162 This is an exciting feature!
  • If I simply rename or remove the advanced module controller (generated by the CLI process), then the drop through behaviour goes to Fuel's module it seems. So that way the usual CRUD happens anyway. I don't like that especially, but it's quick and w…
  • GAH! The variable is case sensitive! Should have been <?php echo fuel_var('Sub_content'); ?> or alternatively rename the variable! I was being thicker than a whale omelette! Incidentally, do the docs have a comprehensive breakdown of the …
  • I just tried the "append" for fuel_nav(). Very useful! I wasn't sure how to implement your example (or I got it wrong) so I tried: echo fuel_nav( array( 'file' => $this->uri->segment(1), …
  • OK thanks - maybe the append is what I need, I was using the menu class directly. My issue was 1) There was a gap in the urls - eg a list page might be: /products/category/automotive/auto-accessories & a product item like products/category/aut…
  • Yes! parse_template_syntax() does the trick. (Note to self - read all CI libraries!). Thanks!
  • On a slightly related note (ie parsing WYSIWYG content), in another site using a more recent Fuel CMS v1, I have the CKEditor plugin "oembed". In this other install, the plugin works really well, but on the present project it was throwing up "parseH…
  • I'm afraid that didn't work. public $parsed_fields = array('content', 'content_formatted'); The images are in a field "content". They are added with the regular asset button in the CKEditor. I mentioned the module was simple - I'd forgotten! It'…
  • Sure, I run CLI: php index.php fuel/migrate/latest I ran this out of curiosity! The migration was going to fail, as the site was already installed, so my point is the grammar, not the functionality! Maybe this message is in Codeigniter?
  • That's a nice fix - with the extended class it's great addition to pages! Thanks!
  • I fetched a fresh copy of Fuel, set up, and tried what you have (I omitted the FUEL_FOLDER constant in the $has_many array 1st time round)... but when creating a tag - either through the combo select of the 'pages' create /edit page, or through t…