How to pass Joomla parameters to an iframe (wrapper) page?

后端 未结 2 1718
情歌与酒
情歌与酒 2021-01-27 06:14

I try to fetch my users information using the getUser() function with a php script located in a iframe (wrapper) of Joomla. It seems there is problem passing parameters to ifram

2条回答
  •  花落未央
    2021-01-27 06:52

    As previously said, wchen you use a wrapper, the Joomla environment is unknown. So you need to embed this before using Joomla API. To do this, just copy and paste this code (or create a new PHP file and include it in your custom page) :

    initialise();
    ?>
    

提交回复
热议问题