osmanboy Posted April 28, 2020 Share Posted April 28, 2020 Hi, I created an module that work on it's test link (it's an floating button). Now i would like to show this on every page (non admin area). Can anybody tell me how i do this? Do i have to create an hook? 0 Quote Link to comment Share on other sites More sharing options...
0 osmanboy Posted April 28, 2020 Author Share Posted April 28, 2020 Second question; I have some vars you can setup in the modules page, now i would like to show these in the hook but i cant get it working. I use this file mymodule/lib/Client/Controller.php And one of the vars I use is: $configtext = $vars['text']; This file has no issue showing the text that i have setup on the module page: mymodule/publicpage.tpl How can it be that the file mymodule/hooks.php doesnt show the same? 0 Quote Link to comment Share on other sites More sharing options...
0 osmanboy Posted April 29, 2020 Author Share Posted April 29, 2020 Okay, I can show it now on every page, but still I cant get the vars i set in my module to show on the other pages, could someone help me? This is one of the var's i use: $configtext = $vars['text']; but in my hook {$configtext} shows nothing. 0 Quote Link to comment Share on other sites More sharing options...
Question
osmanboy
Hi,
I created an module that work on it's test link (it's an floating button).
Now i would like to show this on every page (non admin area).
Can anybody tell me how i do this? Do i have to create an hook?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.