1
benlau
How to enable smarty in Custom Block ?
  • 2004/4/16 5:26

  • benlau

  • Just popping in

  • Posts: 29

  • Since: 2004/3/7 1


Hi,

I want to create a custom block which can show the recently topics like what news_index.html did. But i don't want the combo box to show news topic. I have copied the html tag(with smarty) to the "Content" field. And tried to set the "Content type" to HTML/PHP/Auto format(with smailes) , but all the smarty tag are not resolved.

How can I create such a dynamic content custom block under xoops?

Thanks

2
edwinarif
Re: How to enable smarty in Custom Block ?
  • 2004/5/19 8:03

  • edwinarif

  • Just popping in

  • Posts: 2

  • Since: 2004/5/19


Newbie with CMS, need to know this too. Can anyone help?

3
Mithrandir
Re: How to enable smarty in Custom Block ?

What you are trying to do falls a little out of the scope of a custom block, which is meant for simple php or HTML.

Why not just edit the template of the original block?

4
anonymous
Re: How to enable smarty in Custom Block ?
  • 2005/4/9 19:46

  • anonymous

  • Just popping in

  • Posts: 4

  • Since: 2005/2/7 1


See https://xoops.org/modules/newbb/viewtopic.php?topic_id=27326&forum=4&post_id=149662#forumpost149662

I want the ability to use the content found in news_index.html, but also be able to display other blocks above or below this. That's why I wanted to put it in a custom block, so it could be weighted, but still be dynamic enough to be moved around.

Sounds like that's not the right way to skin this cat though, eh?

5
hdimantas
Re: How to enable smarty in Custom Block ?
  • 2005/5/10 15:34

  • hdimantas

  • Just popping in

  • Posts: 9

  • Since: 2005/5/5 2


I would like to use smarty tags in a block. It seems that it doesn't work properly in the XOOPS cms. Perhaps we would need to migrate the system modules blocks to smarty templates. Does anyone know if we have got an hack available?

best
hdhd

Login

Who's Online

278 user(s) are online (213 user(s) are browsing Support Forums)


Members: 0


Guests: 278


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