0

I just came through a scenario regarding joomla website.

The scenario is:

Data in URL is passed to Joomla website and from the URL Joomla must store the data into the database.

Is this possible in Joomla?

  • provide a sample of url in your question for better understanding – Liz. Jan 17 '17 at 9:33
  • 1
    Of course it is, but it will require some custom code. What have you tried so far? – Lodder Jan 17 '17 at 11:27
  • the redirect plugin already does that... depending on your requirements it could do – Riccardo Zorn Jan 18 '17 at 7:54
  • Please progress this old question toward a resolution. This question risks being Too Broad, but if you narrow it down and add some context as well as what you tried, then those that wish to volunteer their support can write something direct and clear. – mickmackusa Sep 10 '18 at 10:32
2

You can get the value of a URL parameter with:

$value = JFactory::getApplication()->input->get('parameter');

Then you can use JDatabaseQuery to insert data into the database.

0

You will need to develop a system plugin for that. The system plugin will grab the URL, parses the data that you need, and then store it in a table of your choice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.