Pressworm Development

Docs : BlogForDummiesConfig

Blog For Dummies Configuration


The configuration documentation for the project Blog For Dummies


This documentation is current to version 0.5.1

Key:Config Name (Do Not Edit!)Config value (Required unless specified)


Main site settings


Site Details
Config NameConfig value
SITE_NAMEThis is the name of your blog.
SITE_URLThis is the location of your blog. Used in links, permalinks and the RSS.
SITE_DESCRIPTIONThis is a description of your blog. Used in the RSS. Optional!

Display Settings
Config NameConfig value
BLOG_DISPLAY
(display type)
"full" - Will display the entire blog post on the main page for each post listed. DEFAULT
"half" - Will display just part of each post on the main page with a link to view the rest.
"list" - Will display a list of your blog posts (title and date).
SORT_ORDER
(order of posts)
1 - Newest posts first
0 - oldest posts first
POSTS_PER_PAGEThe number of posts to display per page. Must be a number.
DISPLAY_PERMALINKSDo you wish to display permalinks? 1 for yes, 0 for no. If you choose not to display a permalink, the title of the post will link to the post page.
Note: A permalink is a permanent link that will always link to that post.
DISPLAY_PAGINATIONDo you wish to display the pagination? 1 for yes, 0 for no.
Note: Pagination is a list of pages that will display at the bottom of the page.

Header Settings
Config NameConfig value
HEADER_TYPE
(The type of header)
0 - Will display no title text or image in the header.
1 - Will display just the title in the header.
2 - Will display just an image in the header. Defined by "HEADER_IMAGE"
3 - Will display an image and title text in the header. Image defined by "HEADER_IMAGE"
HEADER_IMAGEThe url of an image to display in the header.
For "HEADER_TYPE"s 2 and 3. For type 3, a smaller image will work better.


Additional Settings


Copyright Settings
Config NameConfig value
COPYRIGHT_NOTICEDo you wish to display a copyright notice? 1 for yes, 0 for no.
COPYRIGHT_DATEThe copyright year. Used in the copyright notice and in the RSS.

Personal Information
Config NameConfig value
YOUR_NAMEYour name. Used in the copyright notice and profile.
YOUR_EMAILYour email address. Used in the RSS. Optional!

Links
Config NameConfig value
LINKSDo you wish to display links at the top of the page? 1 for yes, 0 for no.
For each link you'd like to display, write them just like this.
$linkItem['LINK TEXT'] = 'http://www.link-url.com';

Profile Settings
Config NameConfig value
PROFILEDo you wish to include a profile? 1 for yes, 0 for no.
PROFILE_LOCATION
(location of the profile)
"left" - Will put it on the left side of the blog.
"right" - Will put it on the right side of the blog.
"top" - Will put it on the top above the blog.
"bottom" - Will put it on the bottom below the blog.
PROFILE_IMAGEThe url of an image you'd like to display in the profile. Optional!
PROFILE_CONTENTThe content you'd like to be in your profile. You can use bb code.

RSS Settings
Config NameConfig value
RSS_FEEDDo you wish to include an RSS feed? 1 for yes, 0 for no.
CATEGORYThe type of category of your blog. The default is "Blog."
LANGUAGEThe language of your blog. The default is "en-us" which is United States English.
Note: You can find a list of language codes here: Language Codes


Styles


Style Variables
Config NameConfig value
STYLESHEETIf you wish to include your own stylesheet, put the url here. Optional!
Note: A stylesheet will override any of the style variables below as well as any of the default styles.
BACKGROUND_COLORPick your own background color if you wish. You can use a color name (ex. blue) or a hexidecimal color code (ex. #0000ff). Default is white. Optional!
BLOG_WIDTHThe width of your blog in px, em or %. Default is 800px. Optional!
PROFILE_WIDTHThe width of your profile in px, em or %. If you put your profile at the top or bottom, profile width is not needed. Default for left and right is 160px. Optional!
TEXT_COLORThe color of your text. You can use a color name (ex. blue) or a hexidecimal color code (ex. #0000ff). Optional!
LINK_COLORThe color of your links. You can use a color name (ex. blue) or a hexidecimal color code (ex. #0000ff). Optional!
Note: The style variables above will override the default styles.


Category: Blog For Dummies Documentation | Project: Blog For Dummies