Нова версія плаґіна Add FullAjax to Joomla! (2012.06.03).
Ця версія лише для Joomla! 2.5.
В цій версії:
- дещо оптимізовано налаштування
- додано автоматичне оновлення позицій
- оновлено бібліотеку FullAJAX до останньої версії
- декілька дрібних виправлень
Нова версія плаґіна Add FullAjax to Joomla! (2012.06.03).
Ця версія лише для Joomla! 2.5.
В цій версії:
плагин конфликтует с jomsocial а так же с модальными окнами для изображений, к примеру на k2/ помогут ли фильтры?
для модальних окон смотрите Problems using LightBox and some other scripts … на щет jomsocial не пробовал не подскажу
i have problems with jomsocial too.
I can´t use the options to post an image or video in the jomsocial stream. If i clik on the links for image or video nothing happens.
Its a small window where you can choose which content you want to share similar like in facebook.
sorry, have no solution for joomsocial but you can try like there http://getsite.org.ua/en/fullajax/problems-using-lightbox-and-some-other-scripts
also if you bad know programing, then better make the page for add/edit content without ajax
here is the link to my site http://www.cyspace.eu
if you like i can send you an account per mail where you can login.
I know the link that you send me. And i uncommented the section in advanced settings. Some jquerries like that for kunena worked after that. But in Jomsocial it is a little bit complicated. I will try to find out which scripts exactly are responsible for the contentwindow.
If I know the scripts is their a possibility to put them too in window.fireEvent
Can I tell Ajax to process the files later or something else?
now i know the js script which does the work for the share-field
it is called joms.jquery.js
http://main.cyspace.eu/bbackup/components/com_community/assets/joms.jquery.js
and chrome showed me this in the concole after turning on add fullajax. I have a 2nd site where i have nearly nothing exept Jomsocial and Add full ajax
Uncaught TypeError: Cannot call method ‘addClass’ of undefined
joms.extend.status.switchTo Line 17
(anonymous function)
(joms.jquery.js)
jQuery.event.handle line 2965
var ret = handleObj.handler.apply( this, args );
elemData.handle.eventHandle 2599
jQuery.event.handle.apply( eventHandle.elem, arguments ) :
okay i have found out that this part is necessary for the share-window to perform:
// if ( !eventHandle ) {
// elemData.handle = eventHandle = function( e ) {
// // Discard the second event of a jQuery.event.trigger() and
// when an event is called after a page has unloaded
// return typeof jQuery !== “undefined” && (!e || jQuery.event.triggered !== e.type) ?
// jQuery.event.handle.apply( eventHandle.elem, arguments ) :
// undefined;
// };
//}
I have commented it out like you can see and the result is that the share function don´t work even if I turn off add fullajax. So now is the question why fullajax don´t like this part of code.
Hope it helps you for a fix.
okay now it works in chrome too.
After deleting this two lines from this:
joms.status.initialize({
element: ‘.community-status’,
activityTarget: ,
activityType: ”,
activityList: ‘#activity-stream-container’
to this:
joms.status.initialize({
element: ‘.community-status’,
activityList: ‘#activity-stream-container’
but from now on i have no clue how to load the input of the video and photo-fields
sorry, cannot help to much, because “jomsocial” it big thing and I have no a lot free time
think you got the console error because something not initialized after AJAX page refresh, so comment the part of the code that make this error will fix nothing ;)
for jQuery need find code like (docement).ready(function(){“some code”}) … and put “some code” also in the advanced plugin configuration as on my link above
joomla have no universal way to solve similar problem, so please vote there http://ideas.joomla.org/forums/84261-joomla-idea-pool/suggestions/2621261-add-some-standart-for-javascript-initialisation-in ;)
Okay Fedik. I made the vote you suggested. I think the same about that.
Okay I will try to find that function what you mean. But alone in this one file they are thousends of lines. Hope I find it. If I find a sollution I will post it here again.
And i would be happy if you could spent some time and look with me after that error. I would help you as much as I can. I think jomsocial is a great extension and it would be great if both extensions works together.
At the moment I am not able to load modules every time with full ajax. It produces the error that in one case the component doesnt load or the updated sidebar is as a duplicate in the component-area, while the original sidebar itself don´t gets affected.
To solve this I use a script that reloads my modules every 3 minutes. But it works not with every module. Especially if they are script intensive. But the important ones work good. Especially the notification-module profits from that script. I only had to implement their css files over the template. I don´t know why.
Now i made a step in the right direction.
I found this piece in the status.form.php in the folder community/templates/default:
$(document).ready(function()
{
joms.status.initialize({
element: ‘.community-status’,
activityTarget: ,
activityType: ”,
activityList: ‘#activity-stream-container’
});
});
It makes that they are much lesser errors. And i can switch now between messages, photos,videos and so for upload. But the next problem is that the status container doesn´t loads the necessary html-content to display the other forms like that to upload pictures or videos. The html content is in this files:
status.photo.php
status.item.photo.php (a minipicture after image is loaded)
status.video.php
status.item.video.php
status.costum.php
status.link.php
but the most important are the first 4 ones. In this 4 Files are more Script-files too.
an additional info. I don´t know why but my google chrome doesnt like it if i put this code in the advanced options. And pasted only that part what you explained (some code)
In firefox it works, but not in chrome.
Hi Fedik,
awesome upgrade, thanks a lot …
I have problem with joomla “Content – Email Cloaking” which is protecting mail with javascript.
I see with mail adress this > This email address is being protected from spambots. You need JavaScript enabled to view it.
I try window.fireEvent(‘domready’) but it is not work .. Any idea how to make it work with this native joomla plugin …
Wish you best and thanks for your feedback and your work ..
Best regards
Robin
I still have no good fix for this, but you can try small trick in language file.
Example for English: find file language/en-GB/en-GB.lib_joomla.ini and replace:
this:
JLIB_HTML_CLOAKING=”This email address is being protected from spambots. You need JavaScript enabled to view it.”
to:
JLIB_HTML_CLOAKING=””
ouk .. thanks for tip, it work just fine…
Happy again!
I install the full ajax in my site, but it generated the error 500 internal server error.
¿can you help me?
I try some templates, I changed the permissions to files, and try manual, automatically and semi-automatically
William
and if remove plugin then works again?
maybe you server configured to hide errors , try enable display errors if you can, or check server logs …
hi , thank you for your usefull plugin. i have this issue too on my new website(500 internal error). please gude me
if remove plugin then works again?
Hi , dont need to remove . i disabled it and my site work properly. also i check error log of my server. there was not any usefull thing about this problem
strangely…
without the error message I have no idea what the cause of you problem
maybe try older version? what will be then..
Hi , i install previous version (2012.04) . i dont get any java script message when i click on links (500 internal error : null)now . but article dont load in body section too! after click on a link , url of browase changed but body not changed
ah hehe, you got alert- popup message with error, after click on some link?
which browser you use?
try disable SEF in joomla configuration, and check again with the new plugin version
Hi , i disabled SEF , also cache , also auto postation update . now i get:
403 error:null
Forbidden
also i think its not related to sef , because i have another site with sef and it work properly (also i upgraded plugin of it to your lastest version and it work yet)
with enable sef and cache , i think cause of problem is auto postation update of your plugin . because after disable this setting i dont have 500 error . url changed in browser without error, but i dont show any new thing in body section
– also i check my site in firefox,opera and chrome and this problem dont related to Browser
really have no idea …
but if no error with the position update disabled , then you need configure plugin like there http://getsite.org.ua/en/fullajax/add-fullajax-to-joomla-2011-03-08#more-542
hi fedik and best wishes for u
how can we have a lightbox effect ( dark background)with this plugin?
i mean when we click on a link
tnx
you can add a div block with the black background, with full width and height, and with opacity about 0.8 before request, and hide it after
check FLAX.Effect.add in readme file or here Animation during request ;)
tnx so much fedik
but im beginer
can u give me cod for example?
plz
check this http://pastie.org/4214555 as example
hi
Why did Administrator Ajax?
not so simple ;)
При використані даного плагіну, деякі модулі виводяться на непотрібних сторінках. Наприклад у мені модуль слайдшоу, він має бути тільки на головні( в налаштування модуля призначено пункт меню) але він ще і лізе на інші сторінки. Як виправити?
потрібно додатково налаштувати плагін для оновлення модулів … в останній версії це простіше, там лише потрібно обрати які позиції потрібно оновлювати….
але якщо Joomla 1.5 то дивись сюди http://getsite.org.ua/uk/fullajax/add-fullajax-to-joomla-2011-03-08#more-542 та http://getsite.org.ua/uk/fullajax/how-to-update-more-than-one-module-with-ajax
Joomla 2.5.6 . Так я пробував обирати позицію для оновлення. Після переходу по сторінках, повернувшись на головну де і розташований модуль слайдшоу, він уже не працює, походу не підгружаються js.
теоретично має все завантажуватись, гадаю там скоріше проблема з ініціалізацією цих скриптів …
дещо про це тут http://getsite.org.ua/uk/fullajax/problems-using-lightbox-and-some-other-scripts
Странно работает. Не применяються стили к загруженному контенту. Только после полной перезагружки страницы оформление нормальным становиться.