1
option
How to Add block of module in theme.tpl
  • 2017/11/15 18:22

  • option

  • Just popping in

  • Posts: 50

  • Since: 2006/5/24


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

2
Mamba
Re: How to Add block of module in theme.tpl
  • 2017/11/15 22:22

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


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.10 | Docs | Modules | Bugs

Login

Who's Online

145 user(s) are online (84 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits