peter schotman
Customers
Post Count:31
 |
| 17 Jan 2010 08:21 AM |
|
Hi, I want to structure my groups in a hierarchical structure using categories. Can someone give me an example on how to start? Must I make a custum view? I cant find the token for catagory in the 1.3 template guide, what is it? Thanks, Peter |
|
Peter Schotman http://www.cestuswebsites.nl |
|
|
Steven Webster
Customers
Post Count:1665
 |
| 17 Jan 2010 10:23 AM |
|
Create the categories with parent/child relationships in the control panel first. (Design | Categories | Add Category) Yes, you need to create a custom template for GroupList.ascx (follow the customization instructions on this one)....it's pretty easy Add this token where you want to display those categories in the view [AS:CONTROL:CATEGORIES] The last step is to assign groups to categories using the Group tab in the control panel.
|
|
Steven Webster dnnOsphere.com, An Independent Community for DotNetNuke Users |
|
|
peter schotman
Customers
Post Count:31
 |
| 17 Jan 2010 01:14 PM |
|
Thanks, but how does a template look like?
I can't find an example in the documentation. If I add a custom view in the design mode and use the tokens, e.g.:
< div > Groepen overzicht: < div >[AS:GROUPINFO:GROUPNAME] < br/ > [AS:GROUPINFO:GROUPDESCRIPTION] < /div >< /div >
And apply the view in the settings of the module, these tokens are not processed.
Can anyone point me to an example? Peter |
|
Peter Schotman http://www.cestuswebsites.nl |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 17 Jan 2010 02:55 PM |
|
Or you can just create a custom view with the categories token and add it to the page. This way you don't have to modify any templates. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
peter schotman
Customers
Post Count:31
 |
| 17 Jan 2010 03:31 PM |
|
Currently, my problem is to create a working custom view in the first place, having only tokens in the view does not do anything. As explained here: http://www.activemodules.com/Commun...fault.aspx does not work either. Some clear example, would really help. |
|
Peter Schotman http://www.cestuswebsites.nl |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 17 Jan 2010 04:46 PM |
|
Take a look at this thread: Custom View Examples We will be adding more, but that should give you an idea with groups. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
peter schotman
Customers
Post Count:31
 |
| 18 Jan 2010 06:40 AM |
|
Thanks Will,
I couldn't have figured this out on my own. However, my first impression is that this is a 'tiny' bit more complicated than other 'template' solutions like e.g. Xmod, Ventrian property agent and the announcements module, etc. I don't want sound too harsh, but why must I wrap a simple token like [AS:GROUPINFO:GroupDescription] in a literal control, I would have expected that the engine would solve this for me. Anyway I can manage.
One last question: why do you call your template in the linked thread: "Recently Created Groups"?I don't see any reference to date/time/history
Thanks, Peter
|
|
Peter Schotman http://www.cestuswebsites.nl |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 18 Jan 2010 07:57 AM |
|
Peter, Thanks for the feedback. Our template system is certainly quite different. While it might seem more complicated, it is certainly more powerful and offers more flexibility. It's much more than a template system. You can create your own controls or add other controls directly to the template. One last question: why do you call your template in the linked thread: "Recently Created Groups"?I don't see any reference to date/time/history The default sort for the groups list is to show newest groups first. The template I post simply limits the number of records to 10 and disables paging. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
MHuijbregts
Customers
Post Count:1246
 |
| 18 Jan 2010 08:36 AM |
|
The default sort for the groups list is to show newest groups first. The template I post simply limits the number of records to 10 and disables paging. Will, The template you posted contains "ru nat" instead of "runat". Is this done on purpose? |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social) |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 18 Jan 2010 08:38 AM |
|
Yes. Active Forums filters out server tags. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|