category image extension v1.1
Posted on the 28/01/2005. Vote: + 5 - 9
Author: MadJo
Email: mdejong@gmail.com
Website: madjo.nlThis extension will show images for each category a post is in.
Prerequisites:
- The category images should be in the images/ folder of Pivot
- The filenames of these category images should be exactly the same as the categorynames (case-sensitive)
How to work with this plugin:
- Upload this file into your extensions/snippets/ folder
- Open your short entry template and/or entrypage template and add the [[catimage]] tag...
- Rebuild your frontpage, and you should see the images
Extension variables:
This extension has two variables: [[catimage:FILTER:NEWLINE]]
- FILTER: if something is filled in here, it will only show the categories associated to the current subweblog.
- NEWLINE: if something is filled in here, the images will be placed below each other. If nothing is filled in, the images will be placed beside each other.
Leave these values empty, if you don't want to use them.
Release history:
1.0—28/01/2005 – First release
1.1—26/03/2005 – Fixed a possible location problem
Explaine it with a text file? i can’t find the sollucion.
Enrico - 20/02/2005.