Jump to content
  • 0
Sign in to follow this  
osmanboy

Show on all pages

Question

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?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated