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

  • (I'm using v1 by the way) OK, finally got round to trying your suggestions (creating an extension of Fuel_pages_model), and... there is still a problem regarding the tags association - if, after making the changes above, I try to create a tag there…
  • I'll stop being lazy and see if the non-minified versions work. I did try moving the order of scripts around, but sometimes JQuery has to be earliest.
  • I wrote a tutorial eulogising Form Builder: http://adventuresincms.blogspot.co.uk/2013/05/putting-form-builder-class-to-work-in.html
  • You're forgiven! OK that all works nicely, and is much tidier.
  • Hmm - but this model "articles" is a sub-model of "newsletter". It doesn't need its own path as you suggest, really?
  • Sorry - didn't get back to you about the folder. I've written files to the specified folder (using the fuelimage upload), so that's not the issue. Preselection works fine with a new install of Fuel (obviously!) but not with the current project, but…
  • I'm thinking of admitting defeat on using CKEditor for a newsletter WYSIWYG, since the disconnect from the full HTML DOM to the one you need to use for email clients is too big a gap to bridge. So... Is it possible to configure markitup only for a …
  • I got the update plugin file, copied it into my project, and in the model's form_fields() method I added: $fields['content']['img_folder'] ='mypath'; but it doesn't seem to have had an effect? I tried it with a fresh checkout of FUEL though an…
  • Whether a git update has solved it, or aggressive caching caused it, the problem seems to have gone away!
  • Here's a screenshot of the issue - looking at the source code, the nested "window" is actually a 404 page. https://dl.dropboxusercontent.com/u/9540005/nested_modal.png This is with Firefox 20.0.1 on Windows 7 So what has happened is hit "edit" ne…
  • Using the default generated tables, I tried sorting by 'content' and 'precedence', and the list still seems to be in 'name' order ascending regardless. The clearing of the fuel_relationships table is fine now though.
    in has_many Comment by Gumster April 2013
  • I installed the latest Fuel (today) and tried this feature out again with public $has_many = array( 'articles' => array('model' => array(NEWSLETTER_FOLDER => 'articles_model', 'order' => 'precedence ASC')) ); and it didn't seem to…
    in has_many Comment by Gumster April 2013
  • Duh, forgot to change those - now they are OK. Bu, another oddity, I created a sub model "subscribers", and the record class came out as "Ubscribers" in the model?!
  • Oddly though, the H2 ico class is 'ico ico_newsletter_publications' across all sub model pages? 'Publications' happened to be the first model in the generate command?
  • I downloaded today's commits (including your fix for model_location), installed fuel, ran the generate code as above and now creating navigation like: $config['nav']['newsletter'] = array( 'newsletter/publications' => 'Publications', 'newsle…
  • I think the generated newsletter_fuel_modules arrays are assigning the wrong "model_location"? Maybe? The value to that key should be the module name "newsletter"? Eg $config['modules']['publications'] = array( 'preview_path' => '', 'model_lo…
  • yes - I should have mentioned that! The code is: $config['modules']['publications'] = array( 'preview_path' => '', 'model_location' => 'publications', ); $config['modules']['issues'] = array( 'preview_path' => '', 'model_location' =&g…
  • OK, I'm still not clear on the structure of an advanced module: If I generate an advanced module called 'newsletter' with php index.php /fuel/generate/advanced newsletter then create models with the command php index.php /fuel/generate/simple…
  • Yes! Result! Thanks!
  • Right, this isn't as satisfactory as I'd like, because the css is now sourced from the general assets folder, not the module asset folder. I have this in my advanced module admin controller constructor: $this->data['css'] = array('cart_admin')…
  • OK, seek and ye shall find... I looked at the existing advanced modules, and found the Google Keywords one had a js controller loaded via $this->js_controller. However, trying to append a css file via javascript results in a 403. I'm now tryin…
  • Thanks - I'll grab that. The Form Builder is great, by the way. I cackle to myself when I use it.
  • Of course! I was expecting it to be in a config file instead.
  • No - I get the error "Can't use method return value in write context". Hence assigning the method return to a variable in my earlier comment ie: ... $mod_name = $this->module_obj->name(); if (empty($mod_name)) ... which does work.
  • Update - the "missing module" message was being set by this evaluating true in module.php (line 47): empty($this->module_obj->name) If I substitute $this->module_obj->module_name and pre-assign it to a variable e.g. $is_this_empty = …
  • Hi, I thought I'd try and incorporate Flexicart into an advanced module for v1.0 of Fuel, but I've run into a "You are missing the module flexicart." error (generated in the module controller). I followed the 7 steps admin outlined above, and sure …
  • Yep - tried that and it works fine, I just wondered if there was any value in allowing attributes to be altered via an array? The Admin class could do with a good tutorial - I hadn't appreciated how much work has gone into it!
  • Just tried doing the same with a fresh v1 Git checkout, and the index for /blog is throwing a 404 for that.
  • The module I'm using with v1.0 is: https://github.com/daylightstudio/FUEL-CMS-Blog-Module That's v1 compatible?
  • I've just tried my GA module installs for v0.93 & v1.0 and both seem to be working fine