Kooboo Forum
»
Kooboo CMS
»
Content management
»
Get a List of Related "Categories"
|
Rank: Newbie Groups: Registered
Joined: 2/1/2012(UTC) Posts: 2 Location: UK
|
I'm new to KooBoo so am just trying to do some simple tests of functionality.
The (XML) database content has 2 folders News and Section. The news is related to a one (or more) sections. I've setup some content items and that works fine. In a view I can see how to get the a list of all news articles but I need to be able to list the sections. Eg
TITLE NEWSBODY SECTIONS
I was expecting to enumerate something like @Viewbag.Item.Sections, but without any class documentation I'm at a loss.
Anyone any ideas?
Thanks Mark
|
|
|
|
|
|
|
Rank: Administration Groups: Administrators, Registered
Joined: 9/3/2009(UTC) Posts: 1,555 Location: Xiamen China
|
Please see the document: http://forum.kooboo.com/...PI-samples.aspx#post3944Regards, Jifeng Huang
Kooboo Team
Microsoft ASP.NET MVP
|
|
|
|
|
|
|
Rank: Newbie Groups: Registered
Joined: 2/1/2012(UTC) Posts: 2 Location: UK
|
Many thanks
I had tried something similar but had written "Sections" and not Section and I'd managed to create the content folder in the plural. Editing templates using VS2010 gives intellisense which has helped work out the various properties and methods.
|
|
|
|
|
|
Kooboo Forum
»
Kooboo CMS
»
Content management
»
Get a List of Related "Categories"
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.