Configuration: General options for half width category boxes

Configuration tutorials for Kinetic

Configuration: General options for half width category boxes

Postby Don Chambers » Sat Jan 10, 2009 1:25 pm

This tutorial will discuss the General options for half width front page content for Kinetic. As with all template options, enter the serendipity admin panel and select "Manage Styles" in the left sidebar. Options are numbered below for tutorial clarity, but are not actually numbered in the Theme/Style options page.

Half width content differs from "full width content" only in that each content box is only half the available content width instead of the full content width. Half width content boxes also truncate entry body to 120 characters by default, rather than display the entire entry body, although truncation can be modified in the options below. These content boxes appear on the front page. One content box contains a single category of entry content. Content may consist of truncated entries, title-only (ie, headlines) entries, or a combination of the two. The quantity of each type is configurable independently for each half width content box.

half-width-options-1.png
half-width-options-1.png (23.68 KiB) Viewed 7280 times


1) Number of half width category boxes. [input]
Provide the quantity of half width category boxes. Each category will be contained within its own half width content box.

2) Truncate all half width section entries after this many characters. Enter 0 to disable truncation. Default: 120 characters. [input]
This option only affects the front page. Content displayed on the front page can be either the entire entry body, or a truncated portion. This option, if specified, will truncate the entry body to the specified character count. If 0, the entire entry body will be shown on the front page. The default is 120 characters.

3a) Show original post timestamp. [select]
Timestamp corresponding to when the entry is first created.

    Always: The timestamp will always be displayed.
    Never: The timestamp will never be displayed
    When not showing updated: The timestamp will only be displayed if the updated timestamp is not displayed.

3b) Original post timestamp format. [select]
The original post format may be dateformatting, such as Thursday, January 1, 2009, or expressed in words as elapsed time, such as "3 days ago" or "10 minutes ago".

    Dateformatting: Always use dateformatting string as specified below.
    Words Always: Always use elapsed time in words
    Words until threshold: Use words until Creation Timestamp Format Threshold is reached, then revert to Dateformatting.

3c) Dateformatting (http://php.net/strftime). [input]
Formats original post time/date according to locale settings. The default is %A, %B %e. %Y which translates to:

  • full weekday name according to the current locale followed by a comma and a space
  • full month name according to the current locale followed by a space
  • day of the month as a decimal number followed by a period and a space
  • year as a decimal number including the century

4a) Show updated timestamp if entry has been updated. [select]
Timestamp corresponding to when the entry was last updated. An entry is not considered updated unless the grace period has been exceeded.

    Always: The updated timestamp will always be displayed.
    Never: The updated timestamp will never be displayed.
    Update Duration Period: The updated timestamp will be displayed until update Duration Period has elapsed.

4b) Updated timestamp format. [select]

    Dateformatting: Always use dateformatting string as specified below.
    Words Always: Always use elapsed time in words
    Words until threshold: Use words until Updated Timestamp Format Threshold is reached, then revert to Dateformatting.

4c) Dateformatting (http://php.net/strftime). [input]
Formats updated time/date according to locale settings. The default is %B %e. %Y - %I:%M %p which translates to:

  • full month name according to the current locale followed by a space
  • day of the month as a decimal number followed by a period and a space
  • year as a decimal number including the century followed by a space, dash and second space
  • hour as a decimal number using a 12-hour clock followed by a colon
  • minute as a decimal number followed by a space
  • Uppercase `am' or `pm' according to the given time value, or the corresponding strings for the current locale.

5) Show author name. [yes/no]
Show author name. Author name is also a link to all entries for the author.

6) Show comment count and link. [yes/no]
Show comment count and link to entry's comments.

7) Show trackbacks count and link. [yes/no]
Show trackback count and link to entry's trackbacks.

8) Show link to all entries in category. Default: yes. [yes/no]
A hyperlink to all entries for each content box will be displayed within the content box.
=Don=
User avatar
Don Chambers
Site Admin
 
Posts: 226
Joined: Mon Jan 05, 2009 9:58 am
Location: Chicago, IL, USA

Return to Template: Kinetic

Who is online

Users browsing this forum: No registered users and 1 guest

cron