Posted by gerdami on 1189711392|%e %b %Y|agohover, last edited by Ed Johnson on 1297828962|%e %b %Y at %H:%M |agohover
| This HowTo has been placed in the archives because it has been considered old, out-dated or contains unhelpful material |
Wikidot has currently no perfect blogging feature, i.d. a collection of pages ordered descending by creation date, with backlinks and comments modules in the bottom. However, before the release of version wikidot 2.0, it is possible to simulate a blog.
The technique below uses includes, templates, and categories, as usual. It also uses a footer and a right-column which can be reused for anything besides the blog: category.
Setup
The set of pages described below is necessary to run this type of blog:
Includes
I always store my included pages inside the include: category
inc:add-page
[!-- usage: [[include inc:add-page type=flickr]] or blog ... --]
[[=]]
Add one {$type} page
[[module NewPage category="{$type}" template="template:{$type}" size="10" button="Add" ]]
[[/=]]
inc:footer
----
+ Backlinks
[[module Backlinks]]
----
[[module Comments]]
inc:right-column
[!-- usage: [[include inc:right-column type=flickr]] or blog ... --]
[[div style="float:right; width:20%; padding:1%; border:1px solid #000;"]]
[[=]]
[[[Start {$type}]]]
----
[[include inc:add-page type={$type}]]
----
**Tags**
[[include inc:tagcloud type={$type}]]
[[/=]]
[[/div]]
inc:tagcloud
[[module TagCloud minFontSize="80%" maxFontSize="200%" maxColor="8,8,64" minColor="100,100,128" limit="100" category="{$type}" target="system2:page-tags-{$type}"]]
Only blog tags should appear…
System2
If system: category is locked… then system2 !
system2:page-tags-blog
[[div style="float:left; width:75%; padding:1%;"]]
[[==]]
[[module PagesByTag]]
[[/==]]
[[/div]]
[[include inc:right-column type=blog]]
This page tags will also have the right-column of blog type…
Templates
template:blog
[[div style="float:left; width:75%; padding:1%;"]]
[[==]]
**[[size 90%]] EnterDateHere - [[*user EnterUserName]] [[/size]]**
----
EnterYourTextHere
[[/==]]
[[include inc:footer]]
[[/div]]
[[include inc:right-column type=blog]]
This template is called by the include:add-page…
The main page
Start Blog
[[div style="float:left; width:75%; padding:1%;"]]
[[==]]
[[module Pages category="blog" order="dateCreatedDesc" preview="true" limit="100" ]]
[[/==]]
[[/div]]
[[include inc:right-column type=blog]]
Tips
Copy this stuff
To create all this stuff, copy this howto:create-a-blog to your wiki.
Missing pages are greyed, copy the code below the link, click the link, create the page and paste the code. At the end of this process, Start Blog should work, … I hope.
Examples of one wikidot site using section categories (as derived from above code):
- "Glossary" definitive-socionics.info/start-glossary;
- "Articles" definitive-socionics.info/start-articles;
- "Blog" definitive-socionics.info/start-blog;
- And so on… for any purpose you need…
Other blogs based on category blog:
Author
gerdami. Please visit his/her userPage.
Credits: similar technique was previously published at http://snippets.wikidot.com/code:glossary
Other(!) HowTos posted by gerdami
- Autonumber headings and ordered lists
- A Wikidot Page Explained
- Add a QR code to your page
- Replace bullets of a list by pdf icons
- Include Variables with Special Characters
- Create an Automatic Navigation without parent-childs
- Autonumber headings and paragraphs
- Redirect a complete category
- Subscribe To Community Sites And Forum Changes Via Feedblitz
- Go Mobile
- Apply a Wikipedia-like "article - discussion" tabs to existing pages
- Add a Custom Google Search Engine
- Change Tagcloud Colors
- Hide forum signatures
- Import Simple Excel Tables Into Wikidot
- Play Music
- Apply your first live _template to your pages
- Autoparenting
- Chart with ListPages
- Track Site And Forum Changes In One Page
- Google Maps - different methods





