SimplePortal

Customization => Custom Coding => Topic started by: allemand1 on April 28, 2010, 05:22:11 PM

Title: [Help!] if ($message['is_topic']) ?¿?¿
Post by: allemand1 on April 28, 2010, 05:22:11 PM
Hi, there is something like this in smt 2.0 rc3: if ($message['is_topic'])???
I need to show some information, in display.template, but only in the topic post. Not in any other post.

Edit: I thinks i can use this:
if ($message['id'] == $context['topic_first_message'])
But i dont know if it is the way thing to do it.
Bye
Title: Re: [Help!] if ($message['is_topic']) ?¿?¿
Post by: ccbtimewiz on April 28, 2010, 07:49:57 PM
Nothing to do with SimplePortal I'm afraid.

It's fairly simple, but it's a question more geared for simplemachines.org
SimplePortal 2.3.8 © 2008-2024, SimplePortal