Нова версія плаґіна Add FullAjax to Joomla! (2012.06.03).
Ця версія лише для Joomla! 2.5.

В цій версії:

  • дещо оптимізовано налаштування
  • додано автоматичне оновлення позицій
  • оновлено бібліотеку FullAJAX до останньої версії
  • декілька дрібних виправлень

->Завантажити<-

77s коментарів to “ Add FullAjax plugin for Joomla! (2012.06.03) ”

  1. Marco коментує:

    @Fedik, have you any idea for my 2 problems ?

  2. warped perception коментує:

    he fedik. I have another problem.

    When I want to write an Article i get this message:
    Wait a moment! Reloading …

    Or click here…

    But nothing happens then. I saw that the query is blocked by advanced configuration. And if I delete this part it trys to load but than it comes the same message without any loading.
    The same problem with the kunena-profile-edit
    If i try to edit the kunena profile it comes only the message and nothing more. Even if I click on the link nothing happens.

    Any idea for it?

  3. John коментує:

    i don’t understand how can i reload a module … can you explain me please?
    i read the instructions but nothing…
    i need to reload a module in possition right-1 automatically every 60 secs is that posible?

    • Fedik коментує:

      check this https://github.com/Fedik/FullAJAX/wiki/HAX—HtmlAjaX

      you will need make something like module.php in you template, that should contain the tag for you module position like:

      <?php defined( '_JEXEC' ) or die; ?>
      <jdoc:include type="modules" name="right-1" />

      then in plugin configuration disable all, if you need only module update, and in advanced configuration delete all and do like this:

      function refreshModule() {
          setTimeout(function(){
              hax({url:'/?tmpl=module', id:'id-of-block-where-a-module',nohistory:1, onload:refreshModule});
          },60000);
      }
      window.addEvent('domready', function() {
        refreshModule()
      })
      • John коментує:

        First of all thanks for your really fast answer !!

        my template i a little bit strange… is joomlike template this one have
        default.php
        head.php
        footer.php
        sidebar_left.php
        sidebar_right.php
        for the positions and i m really lost ..
        i make the module.php file with this code inside i disable everythink in plugin and i put the second code to the advanced options

        but i think the problem is where to put the module.php im i right ?

        and one more question
        id:’id-of-block-where-a-module’
        here i ll put the path ? or what?

        thanks again and im sorry for all these stupid questions.. :P

      • Fedik коментує:

        module.php should be in templates/YOU_TEMPLATE/module.php

        for check whether it works, just try open directly:
        you-site.com/?tmpl=module

        id:’id-of-block-where-a-module’ – it is id for a position “right-1″ in you main template .. if there no any then you need add

  4. Ryan коментує:

    Full Ajax works amazing on my website, however it is having issues with one of the pages. The page contains a schedule developed in i believe ajax and jquery for the most part. Whenever i enable Full Ajax for that page, i get a window popping up telling me view is not ready. Any ideas? Help would be greatly appreciated and you can view the page at the following link.

    http://noize.fm/schedule

    Huge thanks in advance to anyone that can help. :)

    ~Ryan.

  5. Денис коментує:

    Привет,

    ты не смог бы подсказать, как сделать, чтоб модуль не перезагружался при нажатии на любую внутреннюю ссылку и любой пункт меню? В модуле встроен плейер и не хотелось бы, чтобы он каждый раз грузился заново.

    Буду очень признателен.

    С уважением,

    Денис

    • Денис коментує:

      Ой только сейчас заметил, что не тот топик прокомментировал. Мой комментарий касается джумлы 3.1

    • Fedik коментує:

      смотри последнюю версию плагина.
      с стандартным шаблоном, как то так, должно работать по умолчанию ;)

      • Денис коментує:

        Спасибо за оперативный ответ, ошибка моя была, наоборот позиции задал. Правда шаблон не стандартный, а тестирую вот этот как раз.

        После твоего ответа, я нашел ошибку, но к сожалению все еще не до конца работает. Если взглянешь на демку шаблона по ссылке, которую дал выше, то увидишь, что функция “read more” уже по-моему при помощи аякся написана. Так вот, если я плагин твой включаю, он делает вроде бы все как надо, т.е. плейер в позиции сверху не обновляет при клике на любой пункт меню. Но при первом же клике на любой пункт меню, весь контент или же компонент (смотря что висит на пункте меню) становятся прозрачными. Т.е. если сравнивать с демо страничкой, то белый задний фон и черный-полупрозрачный полностью исчезают.

        И да: я уже смотрел раздел о конфликтах со скриптами, и вставил дополнительные комманды:
        в самом верху “FLAX.Filter.add({url:’/’, id:fullAjaxId, onload:doSomethingAfterFAjxPagLoad});”

        и в самом низу все остальное, но к сожалению не помогает. Не помогает так же и разкомментирование ивента domready….

        На данный момент у меня стоят и активны следующие компоненты: K2, Commedia, extplorer и PhocaDownload. Дополнительных плагинов несколько есть, но все они деактивированы.

        Подскажи пожалуйста, что я еще мог упустить?

        С уважением

        Денис

      • Денис коментує:

        Ай блин, сорри за забывчивость поставить в конце ссылки :D:D и демка кстати попалась на джумлу 2.5, вот на 3-ю.

      • Fedik коментує:

        тут нет универсального решения, нужно по новому инициализировать скрипти которие не работают:

        FLAX.Html.onall('load', function(options){
          //initialization code
        });
  6. pinkesh коментує:

    I have one strange issue.
    I have script tags in my component tmpl pages.
    So every time I navigate between pages and comes back to same page again then scripts keep adding in head tag.
    I have multiple copies of my script code in one page and so it executes every function multiple time.

    I think it is not removing scripts from head tag?
    Is there any solution to this?

    Thanks,
    Pinkesh

Написати відповідь до Денис Скасувати відповідь

Ваша пошт@ не публікуватиметься. Обов’язкові поля позначені *

Можна використовувати XHTML теґи та атрибути: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>