discuss.answer
Well, I would presume that like any other schema-defined objects, you would use getObject('objectName') then use the the object's getWhatever() functions (getOne, getMany, etc) to get the various child objects down to get() functions to get specific field values.
-
- 24,544 Posts
More info here:
http://bobsguides.com/revolution-objects.html
And a quick reference to the object fields here:
http://bobsguides.com/modx-object-quick-reference.html
BTW, all the resource fields of the current resource are available just by using a tag:
E.g.,
[[*pagetitle]]
[[*createdon]]
I suspect that Discuss has a number of its own objects.
-
- 1,154 Posts
Ok! Thanks for everything, I have all the info I need, more than I can probably use at this time. Now I will go and finalize this solution, and then post it. I really appreciate the support. I do have two people helping me, and we are all learning modx together.
I will put a lot of useful info here in the forums as soon as I get the darn website open, and will keep doing that for awhile. I want to document everything so the next person can just pick this up and get it running perfectly with just a few steps.
Thanks again!
-
- 24,544 Posts
Quote from: sottwell at Jun 23, 2014, 07:20 AMI suspect that Discuss has a number of its own objects.
It does -- quite a bunch of them.