New version of the Add FullAjax plugin for Joomla! (2011.01.10).
Plugin connect FullAjax lib to Joomla. And enables easy setup of the library.
What new:
- use FullAjax v1.0.4 build 12
- add version for Joomla! 1.6
- add update Breadcrumbs
- add loading animation
- PDF export now works
- user component and module now works correctly (may require additional configuration)
- automatic change class “active” for active menu item
How to configure:
After install this plugin you also need install template fullajax_tmpl, it is important.
When all will be installed you can start settings.
First you need add id=’forajax’ in you template where is shown component and message.
Exemple:
1 2 3 4 | <div id="forajax"> <jdoc:include type="message" /> <jdoc:include type="component" /> </div> |
If id already exist enter it in plugin configuration in the field ‘Content CSS id’.
After then you can go to the main page and make sure that the plugin works.
If you using Breadcrumbs module you need add id=’breadcrumbs’ where is shown this module in you template.
Exemple:
1 2 3 | <div id="breadcrumbs"> <jdoc:include type="modules" name="breadcrumbs" /> </div> |
If id already exist enter it name in plugin configuration in the field ‘Breadcrumbs CSS id’. If the module position has a different name, not ‘breadcrumbs’ (see in you Module Manager ) you need enter current position name in plugin configuration in the field ‘Breadcrumbs module position’.
If in you menu exist item for edit or add article you need add id this item(s) (see in you Menu Manager ) in plugin configuration in the field ‘Ignore menu items (id)’, because otherwise the editor will not work. You can also block other menu items if need (something like: login, logout, etc).
Also if you server does not delete HTTP_AJAX_ENGINE from HTTP headers you can delete params:’ax=ok’, from plugin configuration field ‘Js code, parameters for FullAjax’.
Before:
1 | SRAX.Filter.add({url:'/', id:fullAjaxId, rc:1, params:'ax=ok', onload:doSomethingAfterFAjxPagLoad}); |
After:
1 | SRAX.Filter.add({url:'/', id:fullAjaxId, rc:1, onload:doSomethingAfterFAjxPagLoad}); |
Leave a Reply