(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…
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…
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.
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…
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…
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…
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…
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!