Articles

+ 28 - 4 | IcyBlue template for Pivot

Posted at 12:40 on Mar 28, 2005 in default
Hi! Terve! Hej! Ciao! Hola!
The template used for making this page is an adaptation of the IcyBlue template for creating weblogs with the Pivot publishing system.
Do you like it? Well, the templates are released under a Creative Commons License so you are free to use them for your personal blog.
What you have to do is just:
Have a nice weblogging!

Installation instructions of the IcyBlue template for Pivot

IcyBlue 1.0 beta 2

Contents

  1. Requirements
  2. Installation
  3. Legal Notice
  4. Version History and Bug Tracking
  5. Troubleshooting

1. Requirements


These templates have been succesfully tested on Pivot 1.20 Beta 3. They will not work on previous versions of Pivot since they use several features that have been added in that version. So in case you have a previous version, please upgrade to the latest one from the Pivot website.

This template uses Monthly archives. Please make sure this option is selected in the configuration of your Pivot.

N.B.: Please follow carefully the instructions below. Should you find any problem after the installation, please have a look at the known issues in section 4.

2. Installation


a)
Copy the template files in the template subfolder of your Pivot installation (usually it is pivot/templates).
Warning
: the template files will overwrite the existing ones, so be aware that you might like to back them up (if they are the default ones you can always download them from http://www.mypivot.net/pivot_default_templates.htm ).
The template files for the IcyBlue template are:
_aux_link_list.html
_aux_template_onlybody.html
_aux_template_onlycomments.html
_sub_commentform.html
_sub_entry_standard.html
_sub_entry_standard_archive.html
archivepage_template.html
entrypage_template.html
extrapage_template.html
feed_atom_template.xml
feed_rss_template.xml
frontpage_template.html
pivot_template.css
As you might notice, the only additional template to the ones provided by the default version of Pivot is
_sub_entry_standard_archive.html
which is used to show only the excerpt of the entries in the archives.
N.B.: This set of templates doesn't use the "linkdump" category provided by default in Pivot. You can either remove the
_sub_entry_linkdump.html
file from the template directory, or just remember not to select the "linkdump" category in the following steps.

b) In order to introduce Trackbacks and to show the excerpt in the archives, you have to add the following file in the extensions folder (info about the extension folder):
snippets.php

If you already have that file, just edit the one provided with the templates and cut and paste the php functions in your one.

c) Login to your Pivot installation as the administration user. In Administration --> Configuration choose:
  • In Extension Directory Path check that your extension directory is shown (usually it is extensions/)
  • In Default Text Processing:Convert linebreaks to <br />
Save settings.

d)
In Administration --> Weblogs select to edit your weblog. If the weblog does not exist, create a new one from the same page.
Among the changes you might like to do, you MUST do the following:
  • Section "Entry Settings"  (

    Screenshot

    )
    - For 'Live Entries' select 'no' (optional)
    - In case you chose no, I recommend you to put in Filename
    %title%.php
    - In 'Read More' Text replace the existing text with the following:
    Continue reading "IcyBlue template for Pivot"
  • Section "Archive Settings"  (

    Screenshot

    )
    - In 'Archive List format' replace the existing text with:
    <a href="%url%"> %st_monthname% %st_year%</a><br />
    - In 'Archive Order' select 'Descending (newest first)'.
  • Section "Templates"
    For 'Extra Template' choose:
    extrapage_template.html
  • Section "standard" (

    Screenshot

    )
    - As 'Shortentry Template' choose _sub_entry_standard.html
    - In 'Publish these categories' choose all the categories you have
    except the "linkdump" which will not be used by these templates.

  • Section "standard_archive" (

    Screenshot

    )
    - As 'Shortentry Template' choose _sub_entry_standard_archive.html
    - Important: set Number of Entries to '0' and Offset to a high number (say 100000). We don't want to have the   standard archive to be shown in the main page
    - In 'Publish these categories' choose all the categories you have
    except the "linkdump" which will not be used by these templates.

  • Section "Various Settings" (

    Screenshot

    )
    In 'Target Blank' select 'No'.

  • Section "Date display settings" (

    Screenshot

    )
    In 'Full date format' replace the existing text with the following:
    %day% %monthname% %year% - %hour24%:%minute%
  • Section "Commenting Settings" (

    Screenshot

    )
    - In label for 'no comments' replace the existing text with the following:
    0 Comments
    - In label for 'one comment' replace the existing text with the following:
    %n% Comment
    - In label for 'X comments' replace the existing text with the following:
    %n% Comments
    - For 'Comment Popup' choose 'No'
    - In 'Format of Comments' replace the existing text with the following:
    %comment%
    <p class="posted">Posted by %url-to-name% on %date%</p>
  • Press 'Finish', rebuild the Frontpage and the Index.
You're done!

3. Legal Notice


This template is licenced under the Creative Commons Attribution-NonCommercial License. The code is a development of an original work done by Neil Turner. You are free to modify the templates to your heart's content. You can release any changes under any license you like (although I'd prefer you to use a Creative Commons license, you are not forced to do so) as long as you do not remove any credits (a link back to http://www.littlecamels.com/icyblue/ will suffice).

4. Version History and Bug Tracking


These installation instructions have been updated to the newest version of the templates listed below:
  • Version 1.0 beta 2 - 2004-11-23
    * Update for Pivot 1.20 beta 3
  • Version 1.0 beta - 2004-10-15
    * Initial Release
Here follows the list of bugs and known issues (related to the latest version).

New features/Fixed bugs:
  • No hacks needed anymore to introduce the Trackbacks and for making the templates XHTML 1.0 Strict compatible.
  • Bug fix: The search page showed the current month as title (Icyblue 1.0 beta 2)
  • The excerpt of the entries in the archives is now implemented as a snippet in the extensions folder (Icyblue 1.0 beta 2)
  • The trackback tags have been slightly modified and moved as a snippet to the extensions folder (as suggested by TDavid in the Pivot forum) (Icyblue 1.0 beta 2)
Known Issues/Bugs:
  • In comments, if no email is given, the name is not shown (Pivot bug related to the %url-to-name% tag). This is a knwon Pivot bug and there is a solution here. You have to replace, in module_parser.php, line 832 (for 1.20 b3) with the following: 
    $urltoname = sprintf("%s", $temp_row['name']);
  • When rebuilding all files, the following error pops up: Fatal error: Cannot redeclare new_user() [...]. This is a know Pivot bug for which there is a hard solution and a more professional one
  • The search box is surrounded by the accessibility mask. This is a known issue of 1.20 beta 3 and it'll be fixed in future versions of Pivot. A temporary solution was suggested in the forum by general dogsbody. All you have to do is to locate "function snippet_search()" in module_parser.php and look for the line that reads:
    $output  = '< form method="post" action="'.$Paths['pivot_url'].
    'search.php">'."\n" ;
    Change it to:
    // 2004/11/13 =*=*= JM - add class for search box
    $output  = '<form method="post" action="'.$Paths['pivot_url'].
    'search.php" class="pivot-search">'."\n" ;
  • In the archives, there are errors in the use of the links "previous month", "previous archive", etc.
  • The archive list changes from ascending to descending with apparently no reason. This is a Pivot bug. Try to rebuild the frontpage and see if the list gets in the right way.
Future plans:
  • Make use of the archive_dynamic.php and the [livearchive_list] tag in order to implement the category archives and have a proper archive index page (listing months and categories)
  • In the monthly archives: collapse in separate lists the entries submitted each day

5. Troubleshooting


You might find a solution to your problems by following some advices:
Thanks again for downloading my templates!

Comments

Search

Legal

Creative Commons License
This work is licensed under a Creative Commons License.

Ads