简体   繁体   中英

how to Integrate my custom php application into joomla?

Maybe there is some links or tutorials for that but found nothing for this, my problem is that I have a joomla 3 application and some components installed on it like seo and shopping cart,

and i have another php application (it uses codeigniter php framework), now i want to some integration between this two,

for example: i have some users , some user groups and some access levels in joomla3 installation, now i want all joomla users can login to my custom application with their joomla username/password, or better if a user logins to joomla (frontend or backend) he/she be able to use my application without need to login again,

or , i be able to check user's joomla ACLs and user groups within my custom application.

one way my be connect to joomla DB and read data, there are 2 problems also, joomla encrypt passwords so i need do the same (how) , and it will be perfect if there is some API or classes for using them in my custom application.

and other way (that i think i can use) to create some components for joomla and create my own apis in it and include/use them in my application (but how?)

any one can please help me to solve this? i am very little experience with creating joomla component.

It's very simple run any php code like a joomla component.

All you need is create a folder with the prefix com_ ( com_mycode ) and inside create a php file with the same name without the prefix ( mycode.php )

  • components
    • com_mycode
      • mycode.php

It will be your main code, you can organize your app code starting by this file.

To more integration, you must give further information about what you need to do, and we can find the specific joomla object that you can use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM