941 Posts in 272 Topics by 292 members
Forum Module
SilverStripe Forums » Forum Module » Get link of forum thread
Discuss the Forum Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 527 Views |
-
Get link of forum thread

17 February 2011 at 9:06am
How can I get the link for this forum thread?
$Thread = DataObject::get_one('Post', " `Title` LIKE '". $Title ."' ", '`Created` ASC');
-
Re: Get link of forum thread

18 February 2011 at 6:53pm
Good work answering your own thread
Most objects in SilverStripe should have a Link() function defined if they are designed to be viewable. It's kind of a convention so you should be able to call that on quite a few things.
| 527 Views | ||
|
Page:
1
|
Go to Top |


