1
achz04
combine modules
  • 2010/6/17 5:37

  • achz04

  • Just popping in

  • Posts: 14

  • Since: 2010/6/15


Hi guys,

How can I put other modules block inside other modules..

For example i want to combine 'xlogcounter' Counter blocks inside 'Whose Online' blocks (/modules/system/templates/blocks/system_block_online.html) which is in the system modules.

Can i do that... i know php a little bit.. which can use Include syntax but the 'whose online' modules is in html which i dont know how to include the xlogcounter blocks (/modules/logcounterx/templates/blocks/lcx_block_display.html)

Thanks for the help.

2
ghia
Re: combine modules
  • 2010/6/17 7:56

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Maybe you can do something with Blocks Anywhere.

3
trabis
Re: combine modules
  • 2010/6/17 13:16

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You can use defacer module for xoops 2.4.x. It also has blocks anywhere feature with support for blocks using css an js.
You can assign any block to a smarty variable and then use that variable inside another block(or other) template.
You have to consider the block order, IMPORTANT! The block rendered by defacer must be rendered before the block that holds the smarty variable.

4
mboyden
Re: combine modules
  • 2010/6/18 14:20

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


There are two options for inline blocks that I've found.
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

Login

Username:
Password:

Lost Password? Register now!

Who's Online

81 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 81


more...

Donat-O-Meter

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

Latest GitHub Commits