Michelle, I am having issues with the Container titles not showing up in the forum. I have a description for a couple of the containers and those descriptions show up fine, just none of the Titles for the containers. This is a custom theme I had made for this site I'm working on. I thought it might be something as simple as changing the font color for containers but I'm not sure. I guess I need to know whether it is that or if it is something in my custom theme causing it. I am attaching the template.php file from my theme, I dont know if this will help or not. The site is www.northamericahunters.com for others who go and view please dont register or mess with the forum the site is still being worked on and is not a production site yet. You can tell that they are there because when you run your mouse over them the cursor changes and you can click on it. Also it does this on the naked theme, naked_stacked, boxy & boxy_stacked. Containers show up just fine with blue_lagoon & blue_lagoon_stacked its just the blue doesnt go with the site at all. I am currently using the naked_stacked theme.
// $Id: template.php,v 1.16 2007/10/11 09:51:29 goba Exp $
/**
* Sets the body-tag class attribute.
*
* Adds 'sidebar-left', 'sidebar-right' or 'sidebars' classes as needed.
*/
function phptemplate_body_class($left, $right) {
if ($left != '' && $right != '') {
$class = 'sidebars';
}
else {
if ($left != '') {
$class = 'sidebar-left';
}
if ($right != '') {
$class = 'sidebar-right';
}
}
if (isset($class)) {
print ' class="'. $class .'"';
}
}
/**
* Return a themed breadcrumb trail.
*
* @param $breadcrumb
* An array containing the breadcrumb links.
* @return a string containing the breadcrumb output.
*/
function phptemplate_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb">'. implode(' › ', $breadcrumb) .'</div>';
}
}
/**
* Allow themable wrapping of all comments.
*/
function phptemplate_comment_wrapper($content, $node) {
if (!$content || $node->type == 'forum') {
return '<div id="comments">'. $content .'</div>';
}
else {
return '<div id="comments"><h2 class="comments">'. t('Comments') .'</h2>'. $content .'</div>';
}
}
/**
* Override or insert PHPTemplate variables into the templates.
*/
function phptemplate_preprocess_page(&$vars) {
$vars['tabs2'] = menu_secondary_local_tasks();
// Hook into color.module
/* if (module_exists('color')) {
_color_page_alter($vars);
}*/
}
/**
* Returns the rendered local tasks. The default implementation renders
* them as tabs. Overridden to split the secondary tasks.
*
* @ingroup themeable
*/
function phptemplate_menu_local_tasks() {
return menu_primary_local_tasks();
}
function phptemplate_comment_submitted($comment) {
return t('!datetime — !username',
array(
'!username' => theme('username', $comment),
'!datetime' => format_date($comment->timestamp)
));
}
function phptemplate_node_submitted($node) {
return t('!datetime — !username',
array(
'!username' => theme('username', $node),
'!datetime' => format_date($node->created),
));
}
/**
* Generates IE CSS links for LTR and RTL languages.
*/
function phptemplate_get_ie_styles() {
global $language;
$iecss = '<link type="text/css" rel="stylesheet" media="all" href="'. base_path() . path_to_theme() .'/fix-ie.css" />';
if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) {
$iecss .= '<style type="text/css" media="all">@import "'. base_path() . path_to_theme() .'/fix-ie-rtl.css";</style>';
}
return $iecss;
}
function menu_lower_secondary_links() {
return menu_navigation_links('menu-lower-secondary-links');
}
Comments
Comment #1
michelleYou have this in your style.css:
Line 26
a {
color:#1E2618;
}
Line 376
td.region, td.module, td.container, td.category {
background-color:#1E2618;
}
One of these needs to change. This is basic CSS and nothing to do with AF. I answered because it took < 5 mins with Firebug but if you need further CSS help, please ask in the forums.
Michelle
Comment #2
Mathews_1 commentedThank You Michelle, I'm sorry I am still learning. I asked the one who built the theme for me several times to look into this because I wasn't for sure what needed to be done and I never got a response from him so that is why I posted. Again you are very kind to assist me with my problem. I knew it wasn't an issue with AF because I have a family forum that has no issues but I thought it was ok to post my question here for help.
Comment #3
michelleIt's ok. But if you run into more CSS problems, the forums get a lot more eyes on them than my issue queue. :)
Michelle