Standard Blogs theme components
Theme templates
Although the templates that make up a theme can vary, each theme contains some required templates (we 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:
Template Description weblog Required. Main page of the blog. Specifies blog components such as a links to entries, feed links, a calendar, and paging controls. _day Required. Defines how each day's worth of blog entries is displayed on the main page of the blog. _css The CSS used by the blog. Controls fonts and spacing. _header Variables for text and background color, and image placement. _footer Controls items that display in the footer of a blog, such as links to other web pages. _options Enable applications such as the inclusion of Bookmarks. This template should not be edited. _myfavorites Look of the My Recommendations page. allblogs Look of the Blogs Listing view. mynotificationreceived Look of the Notifications Received list on the My Updates page. mynotificationsent Look of the Notifications Sent list on the My Updates page. myupdates 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/profiles/profile_name/installedApps/cell_name/Blogs.ear/blogs.war/WEB-INF/velocity/weblog.vm
We 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 directory as well:
WAS HOME/profiles/profile_name/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.
Parent topic:
Customize a blog theme