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: 11245

  • 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

Username:
Password:

Lost Password? Register now!

Who's Online

65 user(s) are online (36 user(s) are browsing Support Forums)


Members: 0


Guests: 65


more...

Donat-O-Meter

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

Latest GitHub Commits