Calling a block, free form
  • 2009/5/24 17:28

  • devilock76

  • Just popping in

  • Posts: 56

  • Since: 2005/7/1 2

Sorry if this has been asked, but I could not find it.

I am wondering if it is possible to call a block in a theme or inside actual content. Basically to call a single block via SMARTY and or via PHP. If so how? Thanks in advance.


Re: Calling a block, free form
  • 2009/5/24 18:38

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1

The best way I've seen to place any block in any location is to use one of the two Smarty-based versions out there. Each has it's strengths and weaknesses. The most recently updated and more configurable is the version developed by Trabis. There is an earlier version by Catzwolf that is also worth a look.

I haven't seen a version that calls it within the content, although I saw a request to do quite some time back, but not sure that'd be easily done in a secure manner.
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development


Who's Online

77 user(s) are online (52 user(s) are browsing Support Forums)

Members: 0

Guests: 77



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

Latest GitHub Commits