Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.
Is there a way to display images in FrontForum's summary field?
Basically, I'm trying to create a news blog-roll for the frontpage, but I would like to show a thumbnail for each news item. %%summary%% removes any markup… Is there any other way to achieve this?
Is there another module, other than FrontForum that may help me achieve this?
How about being able to trim forum-post content to a certain point? Like %%content(300)%% to trim it to 300 chars?
Thanks!
-Broxen
broxen - Do you want the mustache on or off?… too bad.
I don't think there is a way to do this with the FrontForum module because of the way it is constructed. However there are better ways to do this anyway.
I always like to give a real-world example to highlight what I am explaining, so if you have a look at my page at http://www.strathpeffervillage.org.uk you will see in the middle of the homepage about half way down news entries with an image. If you look at the left hand side you will see events listings also with an image.
The best way to do this is not to worry about the FrontForum at all. What I have forthe news is a news category which is autonumbered (for the eventws it is an event category). The entries are added via a dataform which requires a live template. So the following code is added to the news:_template page:
There's a lot there you won't really need as it is related to the design of my site and displays certain elements to me only. The result of that page after saving can be seen at http://www.strathpeffervillage.org.uk/news:1
The main point to remember is that the below the four ==== you have your dataform structure, and above the four ==== is the way the dataform should look on the page after it's saved.
Now, to list the news entries you want to use a listpages module. The code on my homepage is as follows:
This code lists the most recent 4 news entries from the news category. It displays the image that was uploaded to the news page (you can use :snippets:image instead of my image-box:image). It then displays the title and other fields from the dataform and it then clears the left float before the next image. If you had a summary of your blog as one of the dataform fields you could display that, that is what I have done with the events on the left of the page. If you click onj the image or the page title (%%title_linked%%) it will take you to the news item.
There's a lot to take in here and it won't all be obvious. So do come back with any (and lots of) questions.
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
Wow, thank you for your detailed response!!
Yes, lots of questions… but let me review everything first and play around with it and then I'll get back to you.
However, off the top of my head:
What, in your opinion, are the benefits of this over using the forums to handle news content?
Can I still use comments by utilizing the comments module?
I'm guessing there's no way to convert existing comments over to this alternative system, correct?
I'll be back with more, once I have time to play around with everything.
broxen - Do you want the mustache on or off?… too bad.
Flexibility, ease of use and the results are the reasons that come to mind. Once you have your dataform set up it is quick and easy just to create a new page in your news category. Also it gives you the ability to tag news items more easily so you can separate your news items easily with the ListPages module.
Yes you can. It goes above the four ====. Alternatively you can have a button to automatically create childpages (one for each comment) which are then displayed under the main news item.
Not that I am aware of.
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
Hi Rob,
I've been swamped with work, but I wanted to let you know that I keep this tab open in my browser and think about trying this all the time. hahaha.
Once I finally get to it, I'll get back to you with any questions I have… though it seems like it might work for my needs, I'm just afraid about losing the existing comments.
Thank you for your suggestion, I'll get around to trying it soon.
broxen - Do you want the mustache on or off?… too bad.