Zen Cart Logo
Forums / Addon Templates / Acadame - Another Professional Template

Acadame - Another Professional Template

Locked

Views: 146,120

Results 561 to 580 of 672
This thread is locked. New replies are disabled.
26 Feb 2008, 1:22 AM
#561
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Acadame - Another Professional Template

Please disregard my post regarding the sideboxes.

I have one important question though, if possible, how could I make the shopping cart image on the "top bar" be an image link? I want it to link to the cart page.

Thx

26 Feb 2008, 3:39 AM
#562
5hmedia avatar

5hmedia

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Berserker:

Please disregard my post regarding the sideboxes.

I have one important question though, if possible, how could I make the shopping cart image on the "top bar" be an image link? I want it to link to the cart page.

Thx
not sure how to link the actual image, but you can link the items/dollar amount line. post is http://www.zen-cart.com/forum/showpost.php?p=508712&postcount=513. basically, you are adding the following line of code:

<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">

so, it would look like this:

<div id="cart_header" class="topBox">Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>

instead of this:

<div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div>

file (tpl_header.php) is located at Includes > Templates > YOUR TEMPLATE > Common

26 Feb 2008, 3:49 AM
#563
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

5hmedia:

not sure how to link the actual image, but you can link the items/dollar amount line. post is http://www.zen-cart.com/forum/showpost.php?p=508712&postcount=513. basically, you are adding the following line of code:

<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>">

so, it would look like this:

<div id="cart_header" class="topBox">Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>

instead of this:

<div id="cart_header" class="topBox">Shopping Cart<br /><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></div>

file (tpl_header.php) is located at Includes > Templates > YOUR TEMPLATE > Common

Try this to link the image and the contents text:

<div id="cart_header" class="topBox"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"></a><aShopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>

Add this to your stylesheet:

#cart_header a:link, #cart_header a:visited{
display:block;
height:30px;
width:50px;
margin-right:.4em;
}

You'll possible need to adjust #cart_header in your stylesheet as well.

If this doesn't link the image, don't give up, search for the link in the header and apply the proper styles to the link. The link is in the code, invisible to your eyes so like I said you may have to search for it.

Maybe 5h can give it a shot on NothingButTennis.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

26 Feb 2008, 3:53 AM
#564
5hmedia avatar

5hmedia

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Acadame - Another Professional Template

testuser:

Maybe 5h can give it a shot on NothingButTennis.
that's too far over my head! i'll stick with just the items/dollar amount linked :D

testuser, did you get my email??

26 Feb 2008, 4:49 AM
#565
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

testuser:

Try this to link the image and the contents text:

<div id="cart_header" class="topBox"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"></a><aShopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>

Add this to your stylesheet:

#cart_header a:link, #cart_header a:visited{
display:block;
height:30px;
width:50px;
margin-right:.4em;
}

You'll possible need to adjust #cart_header in your stylesheet as well.

If this doesn't link the image, don't give up, search for the link in the header and apply the proper styles to the link. The link is in the code, invisible to your eyes so like I said you may have to search for it.

Maybe 5h can give it a shot on NothingButTennis.

I don't know what I was thinking when I posted this ... but it should be:

Try this to link the image and the contents text:

 <div id="cart_header" class="topBox"><a id="carth_link" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"></a>Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>
 

Add this to your stylesheet:

#carth_link{
display:block;
height:30px;
width:50px;
margin-right:.4em;
}

You'll possibly need to adjust #cart_header in your stylesheet as well. If that's the case, deplete the padding within #cart_header, then apply some right margin to the #carth_link style you just right. I've touched it with a simple margin already.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

26 Feb 2008, 4:58 AM
#566
fireolg avatar

fireolg

New Zenner

Join Date:
Feb 2008
Posts:
28
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Berserker:

Hi,

Can someone please tell me why my sideboxes are overlapping to the center content even when padding has been specified in Firefox but not in IE. It only happens with this template as I have tried it with my previous template and it was fine with that.

Thx

Sorry All, I've same problem with sidebox if I use opera browser, the same as Berserker's problem in firefox. I think it would be more excelent if these theme can give nice view in every browser that users used.

how to fix this problem???

I attached a sidebox's image that used in opera.

Regards
fireolg

26 Feb 2008, 4:58 AM
#567
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

fireolg:

Sorry All, I've same problem with sidebox if I use opera browser, the same as Berserker's problem in firefox. I think it would be more excelent if these theme can give nice view in every browser that users used.

how to fix this problem???

I attached a sidebox's image that used in opera.

Regards
fireolg

There's a fix for this in the thread.

http://www.zen-cart.com/forum/showpost.php?p=490155&postcount=441

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

26 Feb 2008, 7:07 AM
#569
5hmedia avatar

5hmedia

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Acadame - Another Professional Template

can someone tell me why there are spacing issues when using bullets in the product description? without bullets, the text lines up fine. with bullets, the bullets end up overlapping the product image. see attachment.

26 Feb 2008, 8:45 AM
#570
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

5hmedia:

can someone tell me why there are spacing issues when using bullets in the product description? without bullets, the text lines up fine. with bullets, the bullets end up overlapping the product image. see attachment.

Apply some margin to #productMainImage. May have to add it to your stylesheet.

You'll need to margin it right.

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

26 Feb 2008, 1:24 PM
#571
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Acadame - Another Professional Template

testuser:

I don't know what I was thinking when I posted this ... but it should be:

Try this to link the image and the contents text:

<div id="cart_header" class="topBox"><a id="carth_link" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"></a>Shopping Cart<br /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a></div>
> Add this to your stylesheet:
> 
> ```
#carth_link{
display:block;
height:30px;
width:50px;
margin-right:.4em;
}

You'll possibly need to adjust #cart_header in your stylesheet as well. If that's the case, deplete the padding within #cart_header, then apply some right margin to the #carth_link style you just right. I've touched it with a simple margin already.

Thanks for the reply 5hmedia and testuser.

Testuser, I went for your advice as I wanted the image to be a link as well, but for some reason, the only thing that became a link is the "items/price" and not the image?

26 Feb 2008, 2:08 PM
#572
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Berserker:

Thanks for the reply 5hmedia and testuser.

Testuser, I went for your advice as I wanted the image to be a link as well, but for some reason, the only thing that became a link is the "items/price" and not the image?

The link is there, but the styling may not be right. Do you have a link to the page where you inserted the code I gave you?

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

26 Feb 2008, 6:18 PM
#573
5hmedia avatar

5hmedia

New Zenner

Join Date:
Nov 2006
Posts:
22
Plugin Contributions:
0

Re: Acadame - Another Professional Template

perfecto. mod in the stylesheet. thanks yet again!

27 Feb 2008, 4:21 AM
#574
fireolg avatar

fireolg

New Zenner

Join Date:
Feb 2008
Posts:
28
Plugin Contributions:
0

Re: Acadame - Another Professional Template

testuser:

You caught me in the middle of something ...

Anyways, it'd go something along these lines.

In your main stylesheet, stylesheet.css you'd add:

#headerBanner{
height:80px;
width:100%;
background:url(../images/homepagebanner.gif) top left no-repeat;
}

> 
> Where you'd place the banner is up to you, but this is the code for it:
> 
> ```
<div id="#headerBanner"></div>

Now if you wanted to change it by category, simply create a stylesheet that corresponds to the category id you wish to change it for.

For example, for category 13 the stylesheet would be c_13.css

In that file would go:

#headerBanner {
background:url(../images/cat_13_banner.gif) top left no-repeat;
}

> 
> Use the magic of Zen.

I've tried your solutions, and I've added

#headerBanner{
height:80px;
width:100%;
background:url(../images/homepagebanner.gif) top left no-repeat;
}

to this file : includes\templates\iC_AcadameV1.2\css\stylesheet.css
and i've added
<div id="#headerBanner"></div> ``` to this file : includes\templates\iC_AcadameV1.2\common\tpl_header.php

but the banner still doesn't show up, am I wrong??

I've tried to disable the previous default 750x100 banner from zencart admin, but it still doesn't show up.

Please help testuser.. I'm sory for disturbing you, but I believe you are a nice person :smile:

29 Feb 2008, 4:02 AM
#575
fireolg avatar

fireolg

New Zenner

Join Date:
Feb 2008
Posts:
28
Plugin Contributions:
0

Re: Acadame - Another Professional Template

:lamo::cry:

29 Feb 2008, 11:06 AM
#576
fireolg avatar

fireolg

New Zenner

Join Date:
Feb 2008
Posts:
28
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Ok, never mind if you guys busy, so you don't answer my previous question. but thanks anyway.

I've make another way about this theme, as you can see in an attached file.
I'm using banner 3 as main banner, but the problem is that banner 3 can't show up in every pages, it only show in home (first page)... and i want make it fluid, any idea?? please share with me.

thank you in advance

Regards
Fireolg

1 Mar 2008, 7:37 AM
#577
testuser avatar

testuser

Inactive

Join Date:
Oct 2004
Location:
Houston, TX
Posts:
792
Plugin Contributions:
0

Re: Acadame - Another Professional Template

fireolg:

Ok, never mind if you guys busy, so you don't answer my previous question. but thanks anyway.

I've make another way about this theme, as you can see in an attached file.
I'm using banner 3 as main banner, but the problem is that banner 3 can't show up in every pages, it only show in home (first page)... and i want make it fluid, any idea?? please share with me.

thank you in advance

Regards
Fireolg

To make the banner appear on everypage remove the if statement from tpl_main_page.php.

Looks like this:

if($this_is_home_page){
balh ablah blah ....
}

Colin @ iChoze Internet Solutions
Zen Cart Stuff powered by Zen Cart
http://zen-cart-templates.ichoze.net

2 Mar 2008, 5:14 PM
#578
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Hello,

How can I turn the right column back on?

Thx

2 Mar 2008, 5:22 PM
#579
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Forgot to add, I have modified the tpl_main_page

2 Mar 2008, 5:51 PM
#580
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: Acadame - Another Professional Template

Ignore my question, I managed to do it by following the steps given on page 1 of this thread :)