1

I have an HTML website placed in a sub folder of my Joomla website. Is there any way to display a Joomla module in that HTML website?

9
  • Hello and welcome! The only way is using the Webservice API of Joomla but you will need use javascript in your HTML website Jan 11, 2023 at 11:24
  • @Carlitorweb how the Javascript hanle this? can you please give me an example? Thanks.
    – ca hoang
    Jan 11, 2023 at 16:19
  • Please, read about how use the endpoints of the API, and how test it with a API client magazine.joomla.org/all-issues/august-2020/… Then using JS, you can fetch any of this endpoints. Jan 11, 2023 at 19:49
  • TO KNOW: One of the current authentication the Joomla API use is a token based one. (It also has one for credentials, username and password, but you should always avoid using this one). As a result, the core was though and was develop for administration functionality and the idea for the application to interact with itself. So the Authentication has been designed around that. I wrote this, because when you fecth, you need explicity write your token in the fetch headers and that will be public inside the page headers. Jan 11, 2023 at 19:49
  • Are you wanting to display a Module that you see on your Joomla site in your non-Joomla HTML website as it appears in your Joomla site, as a module? Or is there data/content you are displaying via a Module in your Joomla website and you would like to display that same data/content in your non-Joomla website? Is this a module that you have created or is it a Module that is part of the Joomla core or another extension, if so what is the module you want to display?
    – Irata
    Jan 12, 2023 at 10:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.