Home

 

Standard Blogs theme components

A Blogs theme is made up of a collection of templates, graphics, and macros that you can modify. This topics describes some of the basic theme components.

 

Theme templates

Although the templates that make up a theme can vary, each theme contains some required templates (you cannot change the template name or delete the template from the theme) and some standard templates. Your theme may contain some or all of the following:


Common theme template files

Template Description
Weblog A required template that defines the main page of your blog. The Weblog template specifies blog components such as a links to entries, feed links, a calendar, and paging controls,
_day A required template that defines how each day's worth of blog entries is displayed on the main page of your blog.
_css The cascading style sheet (CSS) used by the blog. The CSS controls the fonts and spacing that structure the blog pages.
_header Controls variables such as text and background color, and image placement.
_footer Controls items that display along the bottom of a blog, such as links to other Web pages.
_options Used to enable features such as the inclusion of Bookmarks. This template should not be edited.
_recentactivity Available only for the Blogs site-wide home page. Controls how "My Recent Items" looks on the home page.
_myfavorites defines the look of the My Recommendations page.
allblogs Defines the look of the All Blogs view.
mynotificationreceived Defines the look of the Notifications received list on the My Updates page.
mynotificationsent Defines the look of the Notifications sent list on the My Updates page.
myupdates Defines the look of the My updates page.

 

Theme macros

Some theme content, for example the comment form and paging controls, is not customizable via the theme templates. This content is specified in a site-wide macro file: <WAS HOME>/installedApps/<Cell Name>/Blogs.ear/blogs.war/WEB-INF/velocity/weblog.vm. You can customize these macros, but be aware that changes made to the macros affect all Blogs themes.

 

Theme graphics

Most image files are found in the common, core images directory: WAS_HOME/profiles/profile_name/installedApps/cell_name/Blogs.ear/blogs.war/nav/common/styles/images.

Connections Blogs include an images as well: <WAS HOME>/installedApps/<Cell Name>/Blogs.ear/blogs.war/roller-ui/images. Changes to these images will affect all Blog and Homepage themes, although additional images can be added and referenced without affecting other themes.


Customizing a blog theme


+

Search Tips   |   Advanced Search