AssistenzaJoomla.it è il nuovo sito per tutti coloro che hanno bisogno di un'assistenza professionale per la realizzazione di un sito Joomla!Integrare JComments e K2
Tra le estensioni che si occupano di gestire i commenti, credo che JComments possa meritarsi il riconoscimento di essere una delle migliori. Recentemente mi sono imbattuto nella necessità di trasferire parte del contenuto di un sito su K2; tuttavia, una volta visionato il sistema di commento integrato in K2 ho subito rimpianto JComments, sia graficamente che come funzionalità . Per questo motivo ho effettuato una lunga ricerca in rete per vedere se fosse esistita la possibilità di effettuare un'integrazione tra K2 e JComments; per meglio dire: sostituire il sistema di commento di K2 con JComments.
K2 Add New Item not working
Trying K2 for the first time, I was welcomed by a strange problem: the "Add new item" button (only this one!) gave a blank page as output... I checked the log file, and I noticed that everything was caused by a "FATAL ERROR" executing the SEO Simple Plugin. It seems that it refers to JSite to know if it's executed on the frontpage: the problem is that JSite is not defined in the K2 backend. To solve the problem, I had to rewrite the isFrontPage() function (in the SEO Simple Plugin), in the following way:
function isFrontPage()
   {
      if (defined('JSite')) {
         $menu = & JSite::getMenu();
         if ($menu->getActive() == $menu->getDefault()) {
            return true;
         }
         return false;
      } else {
         return false;
      }
   }


