Your 301 idea is fine but a bit messy IMO. It may be better to remove the non-www entry from your domain's control panel.
My .htaccess
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
I've got it down to forms.js::$(form).ajaxSubmit(formOptions);
jquery.forms::ajaxSubmit(formOptions) is failing to pass X_REQUESTED_WITH properly.
Annoyingly, this currently seems to be specific to Linux Firefox only (v37.0.2 on my rig). Historica…
OK. It's handled by JQuery Forms in the forms.js script.
The submitSuccess function gets called but instead of displaying the text, it displays the whole page.
This seems to to be a Firefox only problem, Chrome seems to work.
It seems that the is_ajax() call is returning false when it should be true (if I hard code true, it works). I'm guessing the HTTP_X_REQUESTED_WITH = XMLHttpRequest is not being set somewhere...
Where would that be?
Will do - when I get some bandwidth...
I've come across another issue which I have a fix for. My site is about to go beta. There's lots of pages to index. Because it's beta, we have a robots.txt in place to stop the site from being spidered for now…
Yes, that seems to work for the fuellink plugin. Excellent. Many thanks.
However... There seems to be a similar issue with editing images using fuelimage.
If you double-click a previously inserted image, nothing happens and the js console reports…
Indeed. I've done this elsewhere successfully. The drawback is that the method precludes re-use. For example, I may use the fuel_nav() to create a dropdown menu in one location and an array of buttons elsewhere. The required attributes would be diff…
My jqx was out of sync too. I'm now testing on a full git pull of the develop branch. Double-clicking a link now brings up the dialog correctly.
Unfortunately, the latest fuellink changes have not fixed the original problem - where URLs containing …
1. Yes, I have that function in that file. Oddly, that file is not being loaded. A full text search on that filename on the whole development branch I downloaded doesn't reference it anywhere?
2. Yes, I agree. Their docs show an option to make CKEd…
I think the base_module_model::_editable_by_user() function is wrong.
As it stands, and with a small selection of pages owned by two users, it seems to work - but more by accident.
The resulting query is
SELECT fuel_pages.*, fuel_users.user_name, …
If a super-user (admin) edits another user's page, the "fuel_pages.last_modified_by" field is updated and so admin takes ownership and the page disappears from the user's list.
I've overridden:
public function on_before_save($values) { $CI = ge…
Great thanks. Messages have gone now. And CKEditor's config is loading.
Does the pages list view have it's own formatting somewhere? I've extended
class MY_pages_model extends Fuel_pages_model
and added my own
function list_items($limit=NULL,$offs…
Setting the "key_field" module parameter in my_pages_model.php (to "fuel_pages.id") seems to fix that but I then get the following when in the list view:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: fuel_pages.id
Filename…
All seems to make sense however I'm having a problem creating a page as a standard user. I've created a new user in Fuel, assigned them read/write permissions to Pages. If I login as that user, pages created by "admin" are hidden, which is great. If…
A better solution:
The solution works but restricts the ability to pass URL parameters to the popup. For example, it's handy to pass the ID of the parent record.
It seems the class "add_inline_button" is more useful here.
in Inline editing of foreign keysComment by almostcompletelyNovember 2014
Yes - the FUEL-CMS-Search module.
It would seem these options would restrict my whole index. It's not quite what I'm after. I'd still want a standard (search everything) option but also, say, a dropdown box on the search page to allow the user to r…
Seems successful at first glance. Thanks. I'll do more testing...
I needed to edit the fuelimage and fuellink plugins though (see below).
So, using Fuel 1.1 production version, what I did:
1. Rename ./editors/ckeditor
2. Downloaded the latest cke…
My Add Button
Gives me extra buttons with undefined href attributes. eg.
[My Add Button] [Add] [Edit]
My Add Button still opens a new page, the Add & Edit attempt to open popups but …