Can anyone help me solve this? This is the IE view of my categories sidebox title, its displays similar in chrome but works fine in firefox. Help appreciated
Can anyone help me solve this? This is the IE view of my categories sidebox title, its displays similar in chrome but works fine in firefox. Help appreciated
What is wrong with it?Can anyone help me solve this? This is the IE view of my categories sidebox title,
Need a link because can not troubleshoot an image
Zen-Venom Get Bitten
sorry- http://beanybags.com/
edit: problem being the x displayed, it should simply say categories like my other sideboxes, thanks
The HTML is trying to display an image for the categories title, and not finding it. Firefox quietly displays the alt text in the applicable font, but IE needs to alert everyone that there is a missing image and put the alt text in small print.<img src="includes/templates/template_default/images/Categories"HTML Code:<div class="leftBoxContainer" id="categories" style="width: 200px"> <div class="sidebox-header-left main-sidebox-header-left"><h3 class="leftBoxHeading main-sidebox-header-right" id="categoriesHeading"><img src="includes/templates/template_default/images/Categories" alt="Categories" title=" Categories " /></h3></div>
Categories is not a filename; somehow the code is not getting the .gif on the end of the filename.
Thanks for the effort but as you can see i'm a new zenner, have you got a solution for me? i dont know where to find the code above, thanks
I also have another problem you might be able to solve for me, my about us, f.a.q. & payment options pages dont display the content i insert in my define pages editor. I have gone through everything i can think of over the past hour but can find nothing. thanks again
Last edited by roryhy; 9 Feb 2010 at 02:57 PM.
Your template is customized in that area, so I don't know exactly what has been done to mess it up. That output code does not exist as such in any file; it is made up from several files working together each time a page is requested by a viewer. It could be /includes/modules/sideboxes/your_template/categories.php, or /includes/templates/your_template/sideboxes/tpl_categories.php, or /includes/templates/your_template/common/tpl_box_default_left.php, or it could be a botched define in (probably) /includes/languages/english/your_template/english.php.
How are you inserting the content? Are you typing it in, or pasting from another program? If the latter, what program?
just typing it in myself.
I'm going through the files you mentioned now to try find the problem. I'll get back to you, thanks.
I can find nothing that stands out as being wrong. I'll post some of the code that might be relevant-
includes/modules/sideboxes/categories.php
$check_categories = $db->Execute("select categories_id from " . TABLE_CATEGORIES . " where categories_status=1 limit 1");
if ($check_categories->RecordCount() > 0) {
$box_categories_array = $main_category_tree->zen_category_tree();
}
require($template->get_template_dir('tpl_categories.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_categories.php');
$title = zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, Categories);
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
?>
includes/templates/pure_orange/common/tpl_box_default_left.php
<!--// bof: <?php echo $box_id; ?> //-->
<div class="leftBoxContainer" id="<?php echo str_replace('_', '-', $box_id ); ?>" style="width: <?php echo $column_width; ?>">
<div class="sidebox-header-left <?php echo $header_left; ?>"><h3 class="leftBoxHeading <?php echo $header_right; ?>" id="<?php echo str_replace('_', '-', $box_id) . 'Heading'; ?>"><?php echo $title; ?></h3></div>
<?php echo $content; ?>
</div>
<!--// eof: <?php echo $box_id; ?> //-->
includes/templates/template_default/templates/tpl_index_categories.php
// categories_image
if ($categories_image = zen_get_categories_image($current_category_id)) {
?>
<div id="categoryImgListing" class="categoryImg"><?php echo zen_image(DIR_WS_IMAGES . $categories_image, '', SUBCATEGORY_IMAGE_TOP_WIDTH, SUBCATEGORY_IMAGE_TOP_HEIGHT); ?></div>
<?php
}
} // categories_image
The particularly strange thing about the define pages editor problem is that it edits the main page fine, its just the more information pages that it doesnt work on
I found the categories heading problem-
located in includes/modules/sideboxes/categories.php
zen_image($template->get_template_dir(BOX_HEADING_CATEGORIES, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . BOX_HEADING_CATEGORIES, Categories);
changed to-
BOX_HEADING_CATEGORIES;
If anyone has any ideas on my other problem, posted above, i'd really appreciate it, im stumped
Bookmarks