Zen Cart Logo
Forums / Addon Templates / Ocean Front Template Support Thread

Ocean Front Template Support Thread

Views: 56,641

Results 101 to 120 of 270
23 Dec 2008, 04:15
#101
jessica2000 avatar

jessica2000

New Zenner

Join Date:
Dec 2008
Posts:
7
Plugin Contributions:
0

Ocean Front Template Support Thread

clydejones:

Have you edited/modified tpl_product_info_display.php in any way?

No, I have not. I'm using the latest version of ZenCart v1.3.8a

23 Dec 2008, 05:17
#102
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

Jessica2000:

No, I have not. I'm using the latest version of ZenCart v1.3.8a

Try uploading a fresh copy of tpl_product_info_display.php and see if that helps.

23 Dec 2008, 10:57
#103
jessica2000 avatar

jessica2000

New Zenner

Join Date:
Dec 2008
Posts:
7
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

clydejones:

Try uploading a fresh copy of tpl_product_info_display.php and see if that helps.

Unfortunately, the problem is still there.

23 Dec 2008, 17:32
#104
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

Jessica2000:

Unfortunately, the problem is still there.

try turning off the "tell a firend" sidebox.

23 Dec 2008, 19:25
#105
jessica2000 avatar

jessica2000

New Zenner

Join Date:
Dec 2008
Posts:
7
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

clydejones:

try turning off the "tell a firend" sidebox.

Awesome! That worked. Is there a way that I can keep the "tell a friend" on and still have it work?

23 Dec 2008, 20:18
#106
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

Jessica2000:

Awesome! That worked. Is there a way that I can keep the "tell a friend" on and still have it work?

This fix contains a smaller button.
Just upload the button to:

includes/templates/ocean_front/buttons/english/

You should now be able to turn on the sidebox.

[Attachment no longer available]

29 Dec 2008, 15:38
#107
jessica2000 avatar

jessica2000

New Zenner

Join Date:
Dec 2008
Posts:
7
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

clydejones:

This fix contains a smaller button.
Just upload the button to:

includes/templates/ocean_front/buttons/english/

You should now be able to turn on the sidebox.

[Attachment no longer available]

Thanks. Really appreciate your help!

06 Jan 2009, 23:39
#108
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

How would I add an SSL trust logo gif to the top right of my header above the View Cart tab? Specifically, where in the code in what file? And how would I add it so that I don't get a mixed content warning on a secure page?

Thanks. Any help is appreciated.

meowhead.com

07 Jan 2009, 00:06
#109
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

How would I add an SSL trust logo gif to the top right of my header above the View Cart tab? Specifically, where in the code in what file? And how would I add it so that I don't get a mixed content warning on a secure page?

Thanks. Any help is appreciated.

meowhead.com

What is the size of the trust logo?

What is the URL the logo will link to?

You'd need to make edits to includes/templates/ocean_front/common/tpl_header.php

and
includes/templates/ocean_front/css/stylesheet.css

07 Jan 2009, 00:09
#110
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

Thanks for the reply. I love your template.

The logo is 98x98 and I would like to see the logo on the top right of the header above the View Cart tab of each page of the site, if possible, rather than on just the home page.

07 Jan 2009, 00:56
#111
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

Thanks for the reply. I love your template.

The logo is 98x98 and I would like to see the logo on the top right of the header above the View Cart tab of each page of the site, if possible, rather than on just the home page.

first:

open
includes/templates/ocean_front/css/stylesheet.css

add/make the highlighted changes:

#logoWrapper{
	position: relative;
	top: 0;
	left: 28px;
	/*background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #ffffff;*/
	height:100px;
	width:790px;
	}

.sslSeal {
position: absolute;
top: 0;
right: 0;
background: url(../images/THE_NAME_OF_IMAGE.gif) no-repeat
}

save the file and upload to your server

second:
save the image to includes/templates/ocean_front/images

third:

open includes/templates/ocean_front/common/tpl_header.php

Find the following section of code and make the highlighted changes:

<div id="logoWrapper">
<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<div class="sslSeal"> </div>

save the file and upload to your server

07 Jan 2009, 01:07
#112
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

That's exactly the info I needed.

Thanks, Clyde.

07 Jan 2009, 01:10
#113
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

That's exactly the info I needed.

Thanks, Clyde.

glad to help.

07 Jan 2009, 02:36
#114
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

Clyde,

I must have done something wrong because I can't get the logo to appear.

Any ideas?

07 Jan 2009, 03:05
#115
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

Clyde,

I must have done something wrong because I can't get the logo to appear.

Any ideas?

try making the highlighted changes in the stylesheet.css:

Also make sure you've uploaded Trust_logo.gif to includes/templates.ocean_front/images.

.sslSeal {
position: absolute;
top: 0;
right: 0;
background: url(../images/Trust_Logo.gif) no-repeat;
height:98px;

}

07 Jan 2009, 03:44
#116
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

Well, I made sure the image was uploaded to includes/templates/ocean_front/images and I've copied and pasted the code (plus some surrounding code) from the stylesheet.css and the tpl_header.php below...

from includes/templates/ocean_front/css/stylesheet.css

headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: 0em;
padding: 0em;
}

#logoWrapper{
position: relative;
top: 0;
left: 28px;
/background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
/
height:100px;
width:790px;
}

.sslSeal {
position: absolute;
top: 0;
right: 0;
background: url(../images/Trust_Logo.gif) no-repeat;
height:98px;
}
#logoWrapper a:hover {
background: transparent;
}

from includes/templates/ocean_front/common/tpl_header.php

<div id="headerWrapper"> <!--bof-branding display--> <div id="logoWrapper"> <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> <div class="sslSeal"> </div> <div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div> <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?> <div id="taglineWrapper"> <?php

See anything that shouldn't be? I know it's late. If you're tired, don't worry, go to bed. Take your time. I just want to do it right.

Forever grateful,

Will

07 Jan 2009, 04:08
#117
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

Clyde,

By the way, when I look at the site with IE7 I don't see the logo at all.

However, when I look at the site with Firefox I see the logo peeking out from the right edge.

Does this info help?

07 Jan 2009, 04:20
#118
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

Clyde,

By the way, when I look at the site with IE7 I don't see the logo at all.

However, when I look at the site with Firefox I see the logo peeking out from the right edge.

Does this info help?

Lets try one more thing:

make the highlighted change in the stylesheet.css

.sslSeal {
position: absolute;
top: 0;
right: 0;
background: url(../images/Trust_Logo.gif) no-repeat;
height:98px;
width:98px;
}

also try clearing the browser cache and then refresh the page.

07 Jan 2009, 04:53
#119
meowhead avatar

meowhead

New Zenner

Join Date:
Nov 2008
Location:
Los Angeles, CA
Posts:
26
Plugin Contributions:
0

Re: Ocean Front Template Support Thread

Success! With Firefox, anyway.

It shows with Firefox but not with IE7. Is there any fix for this?

07 Jan 2009, 05:36
#120
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Ocean Front Template Support Thread

meowhead:

Success! With Firefox, anyway.

It shows with Firefox but not with IE7. Is there any fix for this?

only thing I can think of is to change the height declaration in this declaration as indicated by the highlight.

#logoWrapper{
position: relative;
top: 0;
left: 28px;
/background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
/
height:100px;
width:790px;
}