The default MY_string_helper.php is
<?php // to simplify updates, we post the helpers in the fuel module require_once(FUEL_PATH.'helpers/MY_string_helper.php');
Does it return somethi…
Sounds like that would work. We could tidy up the config a bit too since I don't think the "comment" and "youtube" sections are used unless you manually assign one of them when you create the purifier object.
having dug into htmlpurifier-html5 a bit more, it looks like it's a bolt-on for htmlpurifier rather than a replacement - basically adding the html5 doctype. I think I prefer the config I implemented above since it allows the developer to edit the su…
Composer isn't required though.
We can use https://php-download.com to compile xemlock/htmlpurifier-html5 and dump the resulting "vendor" directory into ./application/vendor.
Add require_once(APPPATH.'vendor/autoload.php'); into the t…
The empty tags problem is fixed. Some ckeditor foo has sorted that but purifier was removing the attributes:
With ckeditor fixed and purifier switched off:
With purifier switched on:
In the config, I changed:
Yes, using the whole develop branch and removing cache files. Empty tabs still being removed. Youtube still disappearing:
Should we be having cache files appear in libraries/HTMLPurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/ too?
If they're necessary, it would be better if they were placed in ./application/cache so they can be cleaned out by the Page cac…
I noticed my ./config/database.php notation was old (I'm using 1.4.13) so have swapped in the new notation and renamed 'master_db' to 'default' (remembering the active group).
It made no difference.
I've just edited
class Base_module_model …
I'm working through setting up each field (there's about 150), some needing dropdowns and boolean etc. I was getting a bunch of these fual.lang() things but there's fewer now. Maybe it's just getting confused about what needs to happen with each fie…
I too use the latest jquery on the public side by editing the header block.
I still use Fuel's v1.7.1 in the admin control panel though. I guess some js tools within Fuel needs that version?
It would be nice for the devs to look at upgrading jquer…
Your model and declaration in MY_fuel_modules.php will give you access to edit the data within Fuel admin.
Your view should be used in conjunction with an Articles.php controller to give access to it on the front-end (public side)