xoops forums

option

Just popping in
Posted on: 11/15 18:22
option
option (Show more)
Just popping in
Posts: 50
Since: 2006/5/24
#1

How to Add block of module in theme.tpl

Hello, As I can add a .tpl block at the start of my theme, I'm not talking about customizing, but showing the block without activating in the administration block.
THanks

Mamba

Moderator
Posted on: 11/15 22:22
Mamba
Mamba (Show more)
Moderator
Posts: 10466
Since: 2004/4/23
#2

Re: How to Add block of module in theme.tpl

I'm not sure what you want to do.

If you want to add a block as a "sub-template", you could do just include it similar to what it's being already in the xBootstrap theme:
<{includeq file="$theme_name/tpl/shareaholic-script.tpl"}>

If you want to add a real block, you still would need to activate it in Admin, and then you could use something like the Blocks Anywhere or the Tools that you can find on GitHub

You can read more here
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs