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
| Config Name | Config value |
|---|---|
| SITE_NAME | This is the name of your blog. |
| SITE_URL | This is the location of your blog. Used in links, permalinks and the RSS. |
| SITE_DESCRIPTION | This is a description of your blog. Used in the RSS. Optional! |
| Config Name | Config 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_PAGE | The number of posts to display per page. Must be a number. |
| DISPLAY_PERMALINKS | Do 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_PAGINATION | Do 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. | |
| Config Name | Config 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_IMAGE | The 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
| Config Name | Config value |
|---|---|
| COPYRIGHT_NOTICE | Do you wish to display a copyright notice? 1 for yes, 0 for no. |
| COPYRIGHT_DATE | The copyright year. Used in the copyright notice and in the RSS. |
| Config Name | Config value |
|---|---|
| YOUR_NAME | Your name. Used in the copyright notice and profile. |
| YOUR_EMAIL | Your email address. Used in the RSS. Optional! |
| Config Name | Config value |
|---|---|
| LINKS | Do 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'; | |
| Config Name | Config value |
|---|---|
| PROFILE | Do 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_IMAGE | The url of an image you'd like to display in the profile. Optional! |
| PROFILE_CONTENT | The content you'd like to be in your profile. You can use bb code. |
| Config Name | Config value |
|---|---|
| RSS_FEED | Do you wish to include an RSS feed? 1 for yes, 0 for no. |
| CATEGORY | The type of category of your blog. The default is "Blog." |
| LANGUAGE | The 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
| Config Name | Config value |
|---|---|
| STYLESHEET | If 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_COLOR | Pick 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_WIDTH | The width of your blog in px, em or %. Default is 800px. Optional! |
| PROFILE_WIDTH | The 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_COLOR | The color of your text. You can use a color name (ex. blue) or a hexidecimal color code (ex. #0000ff). Optional! |
| LINK_COLOR | The 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