TemplateCreation
This information pertains only to folderblog 2.02. See folderblog 3 tags here.Folderblog templates are plain HTML, with special tags embedded in them to call up folderblog features. To create the look of the main page of your blog you should edit template_main.php file by opening it in a text editing program such as notepad.
The following folderblog tags are supported on the listed pages:
template_main.php
<#fbthis#>name of this image, without the extension
<#fbimage#>the entire image tag for the image, including any link
<#fbdate#>first line of the corresponding captions file; must be placed within the main post form tag
<#fbcaption#>the rest of the captions file; must be placed within the main post form tag
<#fbprev#>previous link
<#fbnext#>next link
<#fbnumber#>image number
<#fbtotal#>total number of images
<#fbmenu#>url portion of the image link; <a href="<#fbmenu#>">menu</a>
<#fbthumbs#>all the thumbnails, one after the other
<#fbrand#>the random thumbnails, one after the other
<#fbcomcount#>the number of comments
<#fbcomlink#>the comments link
<#fbbuttons#>password entry and update buttons, appearing only on the post page; must be placed within the main post form tag
<#fbcat#>the current category name or subtitle
<#fbcatlist#>the category list
template_comments.php
<#fbcomthumb#>the comments page thumbnail
<#fbcomments#>all the comments, one after the other; must appear within the comment form tag
<#fbcomcount#>the number of comments
<#fbpostcom#>the action of the comments form; <form method="post" action="<#fbpostcom#>">
<#fbchecked#>is the cookie checkbox checked?; <input type="checkbox" name="cookie" value="1" <#fbchecked#> />
<#fbnameval#>value of the name box; <input type="text" name="name" value="<#fbnameval#>" />
<#fburlval#>value of the url box; <input type="text" name="url" value="<#fburlval#>" />
<#fbcomcount#>the number of comments
<#fbcombuttons#>password entry and delete button, appearing only on the admin page; must appear within the comment form tag
template_menu.php
<#fbcells#>the rows and cells containing the thumbnails; <table><#fbcells#></table>
<#fbpages#>a linked list of the page numbers
<#fbprev#>previous page link
<#fbnext#>next page link
<#fbrange#>range of images on this page; i.e. 25-50
<#fbtotal#>total number of images
template_settings.php
$previous_link, $next_link
<#fblink#>the url portion of the link
$com_link
<#fblink#>the url portion of the comments link
<#fbcomcount#>the number of comments
$comment_format
<#fbcheckbox#>a checkbox that will appear on your admin page to delete the comment
<#fbcomment#>the comment
<#fbauthor#>the author of the comment
<#fbdate#>the date and time the comment was posted
$thumb_format, et al.
<#fblink#>the url portion of the thumbnail link
<#fbimage#>the thumbnail itself
<#fbcomcount#>the number of comments
<#fbdate#>the first line of the captions file
<#fbcaption#>the caption
Last edited February 23, 2008 at 10:51pm.(edit this entry)