Jump to content
  • 0

How to send data from Module to Homepage template file "homepage.tpl" ?


Himel

Question

How to send data from Module to Homepage template file "homepage.tpl" ?

 

I am building a Theme with a  module for managing theme functionality. But can't send data from my module to "homepage.tpl"

hompage.tpl

How can I do this. And if I can do this with hook. what is the hook name for hompage.tpl ?
Give me a code example please.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
Just now, Himel said:

How to send data from Module to Homepage template file "homepage.tpl" ?

 

I am building a Theme with a  module for managing theme functionality. But can't send data from my module to "homepage.tpl"

hompage.tpl

How can I do this. And if I can do this with hook. what is the hook name for hompage.tpl ?
Give me a code example please.

And How can I send data into header.tpl?

Link to comment
Share on other sites

  • 0
On 12/09/2023 at 4:04 AM, Himel said:

How to send data from Module to Homepage template file "homepage.tpl" ?

 

I am building a Theme with a  module for managing theme functionality. But can't send data from my module to "homepage.tpl"

hompage.tpl

How can I do this. And if I can do this with hook. what is the hook name for hompage.tpl ?
Give me a code example please.

To send data from your module to the "homepage. tpl" template, you can use a hook. The hook name and code example depend on the CMS or framework you're using. Can you please specify which CMS or framework you're working with for a more detailed code example?

Link to comment
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.

  • 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