Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
high2K
You could add this to your css:
#categoryImgListing {float:left;}
#productListHeading {float:left;padding:.5em;}
#indexProductListCatDescription {clear:both;}
And then you'd need to open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php to make the image show up before the heading.
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
They can be anywhere, but my guess is there is an issue with that. Give me an example of a folder you have them in, then show me the corresponding link to the image.
Here is where I have the image.
/includes/languages/english/html_includes/apple_zen/define_main_page.php
And here is the coorsponding link.
<img src="../../../../../images/image.jpg" alt="" />
Thanks for your help.:smile:
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
I don't know what you mean by "continue the white spacer bar".
If you look at the site www.ausableflyrods.com where the nagivation bar is at the top, you'll see |categories|information|etc... the line just prior to CATEGORIES is only 1/2 there. Its not he full length like between the other words.
Thanks for the other information, I'll check it out.
Julie
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
nrg77
Here is where I have the image.
/includes/languages/english/html_includes/apple_zen/define_main_page.php
And here is the coorsponding link.
<img src="../../../../../images/image.jpg" alt="" />
Thanks for your help.:smile:
Hmmm... by location, I mean, which folder have you uploaded the image to?
It looks like you have too many "../" One way to figure it out would be try one less ../ until it works. :laugh:
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jewelsbyjewls
If you look at the site
www.ausableflyrods.com where the nagivation bar is at the top, you'll see |categories|information|etc... the line just prior to CATEGORIES is only 1/2 there. Its not he full length like between the other words.
Thanks for the other information, I'll check it out.
Julie
You need to add HOME back to the language file.
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
Hmmm... by location, I mean, which folder have you uploaded the image to?
It looks like you have too many "../" One way to figure it out would be try one less ../ until it works. :laugh:
Hmmm, after further review, it seems nothing works.....!! I've even created an image folder with the image inside in the same place as the define_main_page.php but it still shows the image as an "X" mark. What can I possibly edit that will make this happen? I can't think of one answer for that. I am also certain that the path is correct since it is auto generated in Dreamweaver when you add images.
If you or anyone knows of this problem, please inform me as this will stop me from launching the site.
Thanks.
Re: Apple Zen Template Support Thread
Nevermind.......I found out the reason......
Thanks...
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
jettrue
And then you'd need to open up includes/templates/YOUR_TEMPLATE/templates/tpl_index_product_list.php to make the image show up before the heading.
I already have it set like this:-
Code:
// 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, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
<?php
}
} // categories_image
?>
<?php
// categories_description
if ($current_categories_description != '') {
?>
<div id="indexProductListCatDescription" class="content"><?php echo $current_categories_description; ?></div>
<?php } // categories_description ?>
Isn't this the image before the description? I'm thinking I don't need to change anything here?
Re: Apple Zen Template Support Thread
Quote:
Originally Posted by
high2K
I already have it set like this:-
Isn't this the image before the description? I'm thinking I don't need to change anything here?
Yes, the image is before the category description... but you need the image before the heading, right? So you need to flip:
Code:
<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>
and
Code:
<?php
if (PRODUCT_LIST_CATEGORIES_IMAGE_STATUS == 'true') {
// 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, '', CATEGORY_ICON_IMAGE_WIDTH, CATEGORY_ICON_IMAGE_HEIGHT); ?></div>
<?php
}
} // categories_image
?>
Re: Apple Zen Template Support Thread
Hi Jettrue,
You are fab! Thanks for that.
After promising that I would stop bothering you, I keep coming back with more. I'm really sorry.
The client now says that they want the image on the home page - inserted into define_main_page.php to stretch right across the area horizontally - ie. 100% width between the grey shadowed borders that go up the sides.
I cannot see where this is defined. I was looking for margins that I could set to 0 but I can't find it anywhere. Can you help??