MHuijbregts
Customers
Post Count:1246
 |
| 23 Sep 2008 12:18 PM |
|
Hi Will, Could you please explain how I can enable the blog template? Many thanks in advance. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social) |
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 23 Sep 2008 12:36 PM |
|
This is actually pretty easy.
Take a look in the ActiveForums/config/templates directory. You will want BlogsView.txt and BlogView.txt. Go into the Templates section and create new templates for both. Set the type for BlogsView to Topics View. Set the type for BlogView to Topic View. I just noticed that the templates still have my AddThis account specified. Replace that token with [AF:CONTROL:ADDTHIS:0]
Notice in the BlogView template there is a token called [NOPAGING]. This allows for all comments/replies to be displayed.
I'm also working on a new token for the BlogsView so that Topics are always displayed based upon the date created and not the date of the last post. I hope to have this finished soon.


After you create the templates, you will need to go to the forum that you want to use as a blog and specify the new templates.
|
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
MHuijbregts
Customers
Post Count:1246
 |
| 23 Sep 2008 12:51 PM |
|
Hi Will, Thank you for your very thorough explanation on how to set this up. I really like your idea about the token of showing the posts based on the date of creation. Cool!!
|
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social) |
|
|
Lee Sykes
Customers
Post Count:7
 |
| 19 Jan 2009 05:15 AM |
|
Hi Will,
Don't know if I am going crazy, but I can't see a blog template in the templates page.
I have:
Forum View
Topic View
Topics View
Topic Form
Reply Form
Email PostApproved
Email PostDeleted
Email PostMoved
Email PostRejected
Email SubscribedEmail
ModEmail AdminWatchEmail
ModEmail ModAlert
ModEmail PostPending
PostInfo ProfileInfo
Mail Connector AdminNotify
Mail Connector AutoResponse
Mail Connector RejectNotify
Mail Connector SubscriberNotify |
|
|
|
|
Lee Sykes
Customers
Post Count:7
 |
| 21 Jan 2009 02:32 AM |
|
Can anyone give any pointers? where to find the blog template? Thanks,
|
|
|
|
|
MHuijbregts
Customers
Post Count:1246
 |
| 21 Jan 2009 03:39 AM |
|
Hi Lee, I have looked in my desktopmodules\activeforums\config\template directory and there they are (bloglist.txt, blogview.txt, blogsview.txt). You probably need to create the template in the control panel within ActiveForums but the content of the templates can be copied and pasted from the contents of the previous mentioned files. Hope this helps. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks (Incl. Active Forums & Active Social) |
|
|
Lee Sykes
Customers
Post Count:7
 |
| 21 Jan 2009 06:07 AM |
|
Hello,
Many thanks, I missed the first step of going into the folder: desktopmodules/ etc.
I thought I must have missed something obvious!
It's all working now, thanks,
Lee
|
|
|
|
|
Lee Sykes
Customers
Post Count:7
 |
| 26 Jan 2009 03:20 AM |
|
Hello,
I have a question regarding the blog template.
On the summary page for each blog article it strips out all of the HTML such as images and header tags, is there anyway to include images in the summary?
I also want to include the rating stars alongside the title for each blog post summary, but it just displays the token of [POSTREPLYBUTTON]
Is there any way to enable these 2 elements? Thanks,
Lee
|
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 26 Jan 2009 03:39 PM |
|
Lee, You would need to use the BODY token and come up with your own way to display it as a summary. When you use the BODY:XX tag it has to strip all html to get the actual length. If it doesn't it could end up rendering incorrect HTML(broken tags). You could probably do what you want using some Javascript and CSS. Also, we do have a summary option, but that will not be exposed until AF 4.2. You can include the post rating with the following token
[POSTRATINGDISPLAY]
|
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Lee Sykes
Customers
Post Count:7
 |
| 28 Jan 2009 07:20 AM |
|
That's great the token worked well.
I have re-ordered the body content in each of the posts, so the top of a post kind of acts like a summary, could really do with an image in there, but will wait till 4.2
ok, hopefully this is the last question on the blog posts!
In the BlogPosts template I would like to present the blog posts in the order of Rating Display, so a 5* will be the first blog post and a 1* will be the last - is this possible?
Thanks,
|
|
|
|
|
Eric Falsken
Customers
Post Count:23
 |
| 08 Oct 2009 04:21 PM |
|
Has anyone else noticed that it's a year later and this still hasn't been fixed in the latest release? |
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 08 Oct 2009 04:30 PM |
|
Hi Eric, What were we suppose to fix in this topic? |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Eric Falsken
Customers
Post Count:23
 |
| 12 Oct 2009 01:24 PM |
|
The Blog templates that are included in the distribution's templates folder, but aren't automatically included in the "templates" list once the module is installed. |
|
|
|
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7671
 |
| 12 Oct 2009 02:48 PM |
|
Thanks for clarifying, but that really isn't a problem. We don't include the templates in the default list for several reasons. It will remain this way until Active Forums 5. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Eric Falsken
Customers
Post Count:23
 |
| 15 Oct 2009 05:10 PM |
|
I'm having some trouble with the templates. Is this correct? BlogList -> Forum View BlogView -> Topic View BlogsView -> Topics View When I try to use the ForumsView module to display some blog "forums" using the BlogList template I get a big screen full of tokens. Am I trying to do this correctly? I set up a forum group with a few blog forums. I'm using BlogView and BlogsView as the Topic and Topics Display. Then on another page, I added an ActiveForumView module and selected my blog forum group. Is there a way to post a screenshot attachment here? |
|
|
|
|
Eric Falsken
Customers
Post Count:23
 |
| 11 Jan 2010 11:53 AM |
|
I'm not sure where I got the response, but I'll post the solution here.
BlogList -> Topics View BlogView ->Topic View BlogsView -> TopicsView
From my testing:
"BlogsView" is the traditional list of blog entries with summary. "BlogView" uses the same format for showing the topic body, but displays replies as "comments" in a similar stripped-down view, ending with the QuickReply. "BlogList" appears to be identical to the standard TopicsView. A table of Topics.
|
|
|
|
|