Grabbing topic creator?


(Nik Davis) #1

Hey ya’ll. I’m trying to grab the creator of a topic. It looks like I should just be able to do something along the lines of:

a_topic_model.get("creator"), right?

Is there something I’m missing? posters and creator always appear undefined to me.


(Sam Saffron) #2

You are not really meant to use TopicCreator … just PostCreator (it invokes it). When creating a topic you create a row in topics and a row in posts


(Nik Davis) #3

Ah, what I’m looking for is the topic author object in the front end. It looked like creator was a synonym as it grabs the first of topic.posters.


(Sam Saffron) #4

Ahh yeah did not notice you were looking at front end here :slight_smile: