Hi,
Sorry in advance for the newbie questions, but I just can’t seem to figure this out. I want to have a blog with different categories. Let’s say I want posts to be filed under some combination of "Baby" "Garden" and "Website". I know like nothing about modx, so here’s what I did:
1) I installed Ditto as per the installation.txt instructions.
Didn’t seem to be any trouble here.
2) I made a new Template Variable
I logged into the manager and went to Resources->Manage Resources->Template Variables and made a new one called BlogCategory.
Variable Name: BlogCategory
Caption: [*BlogCategory*]
Description: Category of the blog post
Input Type: Checkbox
Input Option Values: Baby||Garden||Website
Default Value: Baby
Widget: (nothing selected)
Sort Order: 0
Template Access: both Default Template and Minimal Template are checked, and they’re the only ones I have
Access Permissions: All Document Groups
3) I made a blog with some posts
I created a new folder called News, ID 86.
I created a document in that folder called Bloggy Uno. When I was editing this document in the manager, I saw the expected BlogCategory checkboxes, and I selected Baby and Garden.
I created another document in that folder called Bloggy Number Two. I selected only the Baby checkbox.
4) I made a page to list all of the blog posts.
The full contents of the page is:
Ditto says:
[[Ditto? &startID=`86`]]
It doesn’t look pretty at all (I suspect this is because I don’t know where to put the appropriate css .. help?), but it does list all both of the blog posts, so that’s good.
5) I made a page that should list only the posts with the category Baby or Garden.
The full contents of the page is:
Ditto says:
[[Ditto? &startID=`86` &tagData=`tvBlogCategory` &tagDelimiter=`,` &tagMode=`onlyTags` &tags=`Baby,Garden`]]
When I look at this page, it says "No entries found"
Can somebody please tell me what I’m doing wrong? I’m quite willing to provide whatever additional details you’d like!
Thanks,
-michael