TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 488
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 91
  • Total: 91

Single post in block

Started by Rocket, April 12, 2008, 01:52:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rocket

I am trying to put one post into a block, sort of an announcement message.  Is there an SSI code that could be used for this?

Thanks!

Rocket

IchBin

I have a mod at SMF for grabbing a single post. You can also get it at my site. It adds an SSI function to grab a specified post. Search at SMF for single message to find it if you'd like.

Rocket

#2
Ok, added the mod, but am not having success in adding it to a block.  Should this be in a PHP block?

ssi_grabMessage($message_id=1)

JPDeni

Put a ; at the end and put it into a php block.


ssi_grabMessage($message_id=1);


Rocket

Thank you!

In the immortal words of Forrest Gump... "I'm not a very smart man"

JPDeni

Quote
In the immortal words of Forrest Gump...

:) One more thing that you've learned. I forget those sneaky ; all the time.

This website is proudly hosted on Crocweb Cloud Website Hosting.