Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Joomla 4.x and JDom 05 Dec 2019 15:25 #15779

  • liubov
  • liubov's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
  • (=) 10 mn and it's ready!
  • Posts: 279
  • Thank you received: 36
Hi all,

So I started to update the components code for Joomla 4.x compatibility, first step with JDom I use as Plugin. (docs.joomla.org/J4.x:Creating_a_Plugin_for_Joomla/fr)
I am writing the doto list code to change for lastbuild j-cook source. But now I've a problem to load the JDom Plugin (getInstance).

admin/helpers/loader.php
+ use Joomla\CMS\Factory;
+ use Joomla\CMS\Plugin\PluginHelper;
.
. PluginHelper::importPlugin('system', 'jdom');       // here no php error
. JDom::getInstance();                                            // here return error 'Class JDom not found'

It seems that importPlugin doesn't load the plugin at all.
I wanted to know if someone have ever done this job or an idea :unsure:

Marc.

Please Log in or Create an account to join the conversation.

Last edit: by liubov.
  • Page:
  • 1
Time to create page: 0.066 seconds

  I found "cook" two days ago. Played around with it for a day and then within a day got rid of two legacy applications in IBM Lotus Domino Notes and replaced them with "cook". It was really easy. A piece of cake. Actually it was even easier than cooking. Cooking involves more work than developing with "cook". What can I say about "cook"? Great application great price for what it delivers great forum with a lot of information and fast responses active and friendly community fast forward moving development cycle So what should I say "Monsieur Le Cook"? Keep the good work going it will lead to success. Having become a paying member in the words of Edith Piaf may I say ..... non rien de rien ... je ne regrette rien. Vive La France.
FK (JED)
         

Get Started