Creating Listed Entries
Posted on the 18 November, 2004. Vote: + 8 - 5
Using Pivot to create a list of entries on a page.
Author: Cissi
Email: netizenette@gmail.com
Website: don't squeeze my world.Have you seen sites that have a list of entries on a page, and would like something similar? All you need is a little code, and you can create a list of entries similar to the one on this site.
Step 1 - Creating the new template.
The first step is creating a new template where the entries will appear. Click on "create template" and write your code. An easy way is to copy and paste from one of existing templates. The code on this site was based on the code from the frontpage_html template.
Step 2 - Adding new subweblogs.
Replace the default [ [subweblog:standard] ] tag with a name of your liking. If you want multiple lists to appear on your site, simply add more [ [subweblog:___] ] tags.
Step 3 - Creating a new _sub_entry template.
Create a new _sub_entry template, and use the following code [remove the spaces in the square brackets; they are used in this article so Pivot will intepret the code as text]:
[ [ singlepermalink:%title%:Click to read '%title%']] - [ [introduction]] [ [diffdate]]
The "singlepermalink:%title%" section informs Pivot how it should display the entry. By using this code, you are telling Pivot to create a link to your entry using its title.
Step 4 - Using the code.
Create a new weblog using Adminstration > Weblog > New Weblog. At the bottom of the first page where you are asked about the template for the front page, choose the template you created at step one of this tutorial.
On the second page, specify the _sub_entry template you had created at step three when asked about the short entry template.
Optional: If you want your entries to display the dates in a similar style to MyPivot, use the following for the date settings:
Full date format: %day% %monthname%, %year%.
Entry date: [%day%/%month%/%year%]
Diff date: [%day%/%month%/%year%]
Click the 'finish' button, rebuild, and you are done.
Doesn’t seem to work here ? Can’t find the connection between the created new defaukt tag (allent in my case) and all the default articeles ?
Jan - 23 January, 2005.
I am trying this, although i am running into problems allready hehe.
First it is showing all posts from all the weblogs, i want that to be sorted with their own headers, and only the titles. What i got so far is this http://weblog.spliffcanvas.net/lijst.php
Obviously that is not how it should be i guess. So the question is, how would i do this right. I like to have the 10 latest titles of each subweblog on the list page. Please help me ;)
Mannie (email) (link) - 16 October, 2007.
Got it, although when i enter a break after the difdate it adds the break after each entry to for some reason
Mannie (email) (link) - 18 October, 2007.