If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / Addon Templates / Hampshire Cammie Template Support Thread

Hampshire Cammie Template Support Thread

Started by picaflor_azul on 18 Jul 2012, 8:13 PM · Views: 13,663

Results 21 to 40 of 119
3 Oct 2012, 10:55 PM
#21
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Hampshire Cammie Template Support Thread

betterprice4u:

hiya Anne i tried a clean install with just this module installed.. but had the same problem when i easy populated the site with products..
However i came across this solution using open graph in the html header file
http://www.zen-cart.com/showthread.php?192836-Facebook-Shares-bringing-up-the-wrong-image-from-a-product

seems like facebook are happy now ;-)

Ok, I am happy that you figured out your problem ;-)

Thanks,

Anne

4 Oct 2012, 8:08 PM
#22
rsprinkel avatar

rsprinkel

New Zenner

Join Date:
Feb 2007
Posts:
73
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

Hello Anne,

Very nice template and suites my needs for the products I will be selling. Thank you for this great template.

Anyways I am having a slight little issue in the header area, not really an issue but something that is bothering me.

When I removed the Language and currency boxes from the header via the Admin/Tools/Box Layouts it seems that the Home, Login and Cart links at the very top right shifted all the way to the top of the header in the black area. Is there a way I can lower it to where it should be when the other 2 boxes enabled (which I don't want enabled) or put it in the camo area where the name of the site is? I have looked at the stylesheet.css file and made a few changes in it but nothing seemed to work so I reset the .css file back to default. I have checked this in both IE9 as well as Chrome and same thing shows.

Here is the link to my site - www.keystoneairsoft.com

Thank you for your time and help much in advance. And again thank you for this great template.

RSprinkel

5 Oct 2012, 5:57 PM
#23
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

RSprinkel:

Hello Anne,

Very nice template and suites my needs for the products I will be selling. Thank you for this great template.

Anyways I am having a slight little issue in the header area, not really an issue but something that is bothering me.

When I removed the Language and currency boxes from the header via the Admin/Tools/Box Layouts it seems that the Home, Login and Cart links at the very top right shifted all the way to the top of the header in the black area. Is there a way I can lower it to where it should be when the other 2 boxes enabled (which I don't want enabled) or put it in the camo area where the name of the site is? I have looked at the stylesheet.css file and made a few changes in it but nothing seemed to work so I reset the .css file back to default. I have checked this in both IE9 as well as Chrome and same thing shows.

Here is the link to my site - www.keystoneairsoft.com

Thank you for your time and help much in advance. And again thank you for this great template.

In the stylesheet.css file change this:

#navMain ul li {display: inline;position:relative;top:-68px;}

to this:

#navMain ul li {display: inline;}

Thanks,

Anne

5 Oct 2012, 6:07 PM
#24
rsprinkel avatar

rsprinkel

New Zenner

Join Date:
Feb 2007
Posts:
73
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

Anne,

Thank you very much for your help, worked like a charm. So much appreciated.

RSprinkel

8 Oct 2012, 12:54 AM
#26
mr_pea avatar

mr_pea

Zen Follower

Join Date:
Jan 2005
Posts:
125
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

Thank you so much!

16 Oct 2012, 12:33 AM
#28
hliang avatar

hliang

New Zenner

Join Date:
Jan 2010
Posts:
16
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

I 1) created some custom EZ Pages uploaded to server 2) added them to tools -> ez-pages , 3) enabled EZ Page status at config -> ez page settings -> ez page headerbar. I have also 4) turned on sideboxes/hampshire_cammie/ezpages_drop_menu.php at config -> tools -> layout box controller.

These EZ pages can be shown on left / right columns, but does not show up on header drop down menu. Does someone have a fix for that?

16 Oct 2012, 3:31 PM
#29
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

hliang:

I 1) created some custom EZ Pages uploaded to server 2) added them to tools -> ez-pages , 3) enabled EZ Page status at config -> ez page settings -> ez page headerbar. I have also 4) turned on sideboxes/hampshire_cammie/ezpages_drop_menu.php at config -> tools -> layout box controller.

These EZ pages can be shown on left / right columns, but does not show up on header drop down menu. Does someone have a fix for that?

If you read the readme.html file included in the template package you will see instructions for turning on the layout box, etc. for adding your ezpages to the header menu.

Thanks,

Anne

17 Oct 2012, 2:36 PM
#30
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

This is only the second day I have worked with Zen Cart, and my first experience with installing a theme. Hope this isn't a stupid question.

Don't know if this would cause the problems but I am running Zen Cart on an XAMPP local server on my office computer. However, I have not had any other problems running Zen Cart locally. I am using the most recent version of Zen Cart (downloaded and installed yesterday). I had only set up the store with the basic information for my client, and had not added any products to the store yet.

I followed the theme installation instructions exactly, as far as I know, but I at the top of the store screen under where it says Home and Log IN, to the right of the cart is an apparent line of code that starts out: count_contents(); I have attached a screen shot. Attachment 11322

Also, when I uploaded my clients logo, and changed the header text for his company in the header.php file, the company name and tagline (header alt text) did not appear. The Logo and sales text under it did appear. I have worked with Wordpress and have edited other PHP files so I am confident I did the editing properly.

Thanks for your help and the great theme.

17 Oct 2012, 3:13 PM
#31
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

As a clarification, I did not take this screen shot after I had edited the header alt text. I reinstalled the original header.php file in order to determine if the problem with the code next to the shopping cart icon related to my edits to the header alt text. (it didn't)

17 Oct 2012, 4:46 PM
#32
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

AlanMason:

This is only the second day I have worked with Zen Cart, and my first experience with installing a theme. Hope this isn't a stupid question.

Don't know if this would cause the problems but I am running Zen Cart on an XAMPP local server on my office computer. However, I have not had any other problems running Zen Cart locally. I am using the most recent version of Zen Cart (downloaded and installed yesterday). I had only set up the store with the basic information for my client, and had not added any products to the store yet.

I followed the theme installation instructions exactly, as far as I know, but I at the top of the store screen under where it says Home and Log IN, to the right of the cart is an apparent line of code that starts out: count_contents(); I have attached a screen shot. Attachment 11322

Also, when I uploaded my clients logo, and changed the header text for his company in the header.php file, the company name and tagline (header alt text) did not appear. The Logo and sales text under it did appear. I have worked with Wordpress and have edited other PHP files so I am confident I did the editing properly.

Thanks for your help and the great theme.

See this post for your first question:

http://www.zen-cart.com/showthread.php?198367-Shopping-cart-issue&p=1141102#post1141102

Please read the readme.html file included with the template package for instructions on how to customize the logo.

Thanks,

Anne

17 Oct 2012, 11:25 PM
#33
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

picaflor-azul:

See this post for your first question:

http://www.zen-cart.com/showthread.php?198367-Shopping-cart-issue&p=1141102#post1141102

Please read the readme.html file included with the template package for instructions on how to customize the logo.

Thanks,

Anne

Anne, thanks much for that. The missing ?php tag was the problem in the first case. And the (alleged) logo problem was lack of attention on the part of the installer. The "alt_text" part should have clued me in. Duh....

I do have another issue that has cropped up, tho. Whenever I fly over the 'Brands' button at the top, instead of a submenu dropping down, or nothing happening as with the Shop Button, a bunch of code drops down that starts like this:

"Execute($manufacturer_sidebox_query); if ($manufacturer_sidebox->RecordCount()>0) { $number_of_rows = $manufacturer_sidebox->RecordCount()+1; // Display a list $manufacturer_sidebox_array = array(); // kuroi: commented out to avoid starting list with text scrolling list entries such as "reset" and "please select" // if (!isset($_GET['manufacturers_id']) || $_GET['manufacturers_id'] == '' ) { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_ALL); // } else { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_MANUFACTURERS); // } while (!$manufacturer_sidebox->EOF) { $manufacturer_sidebox_name = ((strlen($manufacturer_sidebox->fields['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturer_sidebox-....

I did a search in the Zen Cart folder for a php command like this, but found nothing so I assume it is something in my php install itself that is not getting fed the correct information. I am using php v 5.4.7. Went through the Zen Cart configuration options and didn't find anything that would turn this button off. And went through the theme install instructions again and made sure I had set everything correctly. So any thoughts on what this is about?

Is Zen Cart like Wordpress in that if I just upload all the Zen Cart files/folders, and import the SQL database from my local server installation to my client's website it will work correctly, or do some variables have to be adjusted in the database, as with Wordpress where the Home and Site URLs have to be changed in the wordpress_options table?

Last question, and this is more rhetorical than anything. I am very used to installing Wordpress plugins and having all the "dirty work" done for me. Is the amount of tweaking required for your theme typical of Zen Cart themes? Is the issue that so many variables have to be adjusted for themes, or is this meant to prevent Zen Cart variables from being changed by the theme installation when the user may not want to change them due to prior customization?

Thanks again for your help.

18 Oct 2012, 2:10 PM
#34
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

I uploaded the zen cart files and database to my client's site online and it works ok there, so forget the question about if I can do that. Also, the problem with the Brand button does not occur online, so apparently that is a problem relating to installing on my local server.

18 Oct 2012, 4:34 PM
#35
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

AlanMason:

I uploaded the zen cart files and database to my client's site online and it works ok there, so forget the question about if I can do that. Also, the problem with the Brand button does not occur online, so apparently that is a problem relating to installing on my local server.

I am happy that you figured it all out ;-)

Thanks,

Anne

21 Oct 2012, 6:43 PM
#36
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

Guess you missed my more important question:

I do have another issue that has cropped up, tho. Whenever I fly over the 'Brands' button at the top, instead of a submenu dropping down, or nothing happening as with the Shop Button, a bunch of code drops down that starts like this:

"Execute($manufacturer_sidebox_query); if ($manufacturer_sidebox->RecordCount()>0) { $number_of_rows = $manufacturer_sidebox->RecordCount()+1; // Display a list $manufacturer_sidebox_array = array(); // kuroi: commented out to avoid starting list with text scrolling list entries such as "reset" and "please select" // if (!isset($_GET['manufacturers_id']) || $_GET['manufacturers_id'] == '' ) { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_ALL); // } else { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_MANUFACTURERS); // } while (!$manufacturer_sidebox->EOF) { $manufacturer_sidebox_name = ((strlen($manufacturer_sidebox->fields['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturer_sidebox-....

I did a search in the Zen Cart folder for a php command like this, but found nothing so I assume it is something in my php install itself that is not getting fed the correct information. I am using php v 5.4.7. Went through the Zen Cart configuration options and didn't find anything that would turn this button off. And went through the theme install instructions again and made sure I had set everything correctly. So any thoughts on what this is about?

21 Oct 2012, 7:45 PM
#37
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

AlanMason:

Guess you missed my more important question:

I do have another issue that has cropped up, tho. Whenever I fly over the 'Brands' button at the top, instead of a submenu dropping down, or nothing happening as with the Shop Button, a bunch of code drops down that starts like this:

"Execute($manufacturer_sidebox_query); if ($manufacturer_sidebox->RecordCount()>0) { $number_of_rows = $manufacturer_sidebox->RecordCount()+1; // Display a list $manufacturer_sidebox_array = array(); // kuroi: commented out to avoid starting list with text scrolling list entries such as "reset" and "please select" // if (!isset($_GET['manufacturers_id']) || $_GET['manufacturers_id'] == '' ) { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_ALL); // } else { // $manufacturer_sidebox_array[] = array('id' => '', 'text' => PULL_DOWN_MANUFACTURERS); // } while (!$manufacturer_sidebox->EOF) { $manufacturer_sidebox_name = ((strlen($manufacturer_sidebox->fields['manufacturers_name']) > MAX_DISPLAY_MANUFACTURER_NAME_LEN) ? substr($manufacturer_sidebox-....

I did a search in the Zen Cart folder for a php command like this, but found nothing so I assume it is something in my php install itself that is not getting fed the correct information. I am using php v 5.4.7. Went through the Zen Cart configuration options and didn't find anything that would turn this button off. And went through the theme install instructions again and made sure I had set everything correctly. So any thoughts on what this is about?

What web host are your on?

Thanks,

Anne

22 Oct 2012, 5:37 PM
#38
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

Knew I left something out. This is on my local server on my office computer, running the most recent version of XAMPP. Does not happen with the install on my client's host account at Hostpapa. Could this be caused by my being on a Windows machine, whereas Hostpapa uses linux servers?

22 Oct 2012, 6:00 PM
#39
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Hampshire Cammie Template Support Thread

AlanMason:

Knew I left something out. This is on my local server on my office computer, running the most recent version of XAMPP. Does not happen with the install on my client's host account at Hostpapa. Could this be caused by my being on a Windows machine, whereas Hostpapa uses linux servers?

I am not a system admin and not knowlegeable about these issues. If you do a search on the forum I have see threads where it is explained by others who know ;-)

Thanks,

Anne

22 Oct 2012, 9:42 PM
#40
alanmason avatar

alanmason

New Zenner

Join Date:
Oct 2012
Posts:
12
Plugin Contributions:
0

Re: Hampshire Cammie Template Support Thread

picaflor-azul:

I am not a system admin and not knowlegeable about these issues. If you do a search on the forum I have see threads where it is explained by others who know ;-)

Thanks,

Anne

I tried searching for similar problems in the forums and did not find any. However, I did find where the code that is displaying is coming from. It is lines 107 - 140 of tpl_mega_menu.php in the zen_cart/includes/templates/hampshire_cammie/common folder. I am wondering if it might not be a similar problem with php open and close tags like it was in the link you previously shared with me: http://www.zen-cart.com/showthread.php?198367-Shopping-cart-issue&p=1141102#post1141102

HostPapa (where my client's site is hosted) is using php version 5.3.15. My install of xampp is using version 5.4.7. Also, while I am still a novice at PHP, there appears to be a php close tag (?>) on line 141 without a corresponding open tag (<?php) for it. Perhaps php v 5.3.x is tolerant of this while 5.4.x is not, or there is another syntax problem somewhere in this area?

Thanks again for your help.