Zen Cart Logo
Forums / Addon Templates / Andover Modern Template Support Thread

Andover Modern Template Support Thread

Views: 145,467

Results 141 to 160 of 790
31 Dec 2010, 12:33 AM
#141
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Andover Modern Template Support Thread

Also, if I wanted to keep it in the same spot as the pic below but center the text how would I do that???

One way to do it without adding any xhtml is to add this to your stylesheet.css:

#disclaimer {margin-left:80px; margin-bottom:30px;}

Thanks,

Anne

31 Dec 2010, 9:20 AM
#142
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

im having trouble with there being a large gap above my header sometime when the page loads. i cant seem to find what i need to change to correct this. Also how do the facebook, "LIKE" buttons hook up to your facebook?

thank you

31 Dec 2010, 3:26 PM
#143
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

im having trouble with there being a large gap above my header sometime when the page loads. i cant seem to find what i need to change to correct this.

I will need a link to your site to see what you are referring to.

Also how do the facebook, "LIKE" buttons hook up to your facebook?

Instructions for this are in the install.txt file.

Thanks,

Anne

31 Dec 2010, 5:05 PM
#144
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

https://www.notoriousarc.com
and it happens only occationaly, there will be a big gap above the header.

also how do i edit the items in the footer menu? Example: remove gift certificates from information.

thank you very much

31 Dec 2010, 6:53 PM
#145
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

https://www.notoriousarc.com
and it happens only occationaly, there will be a big gap above the header.

thank you very much

I don't see a gap.

also how do i edit the items in the footer menu? Example: remove gift certificates from information.

thank you very much

Try editing includes/languages/english/extra_definitions/andover_modern/footer_menu_defines.php

1 Jan 2011, 10:22 PM
#146
helpmesell avatar

helpmesell

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

One way to do it without adding any xhtml is to add this to your stylesheet.css:

#disclaimer {margin-left:80px; margin-bottom:30px;}

>  
> Thanks,
>  
> Anne
 
 
Hi Anne,

Thanks for the help, got that all sorted out.  :hug: (Never knew that I could do that in the stylesheet.) 
 
I just have another slight problem though;
I been trying to get CS/JS Loader to work but I when i merge the 2 html_header.php files with winmerge the template doesn't function right.  I am not exactly sure how to go about this, here is the html_header.php file from the CS/JS Loader 
I really appreciate your help!
 
<?php /** * Common Template * * outputs the html header. i,e, everything that comes before the \</head\> tag <br /> * * @package templateSystem * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: html_header.php 6948 2007-09-02 23:30:49Z drbyte $ */ /** * load the module for generating page meta-tags */ require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php')); /** * output main page HEAD tag and related headers/meta-tags, etc */ ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?>> <head> <title><?php echo META_TAG_TITLE; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" /> <meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" /> <meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="author" content="The Zen Cart™ Team and others" /> <meta name="generator" content="shopping cart program by Zen Cart™, http://www.zen-cart.com eCommerce" /> <?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?> <meta name="robots" content="noindex, nofollow" /> <?php } ?> <?php if (defined('FAVICON')) { ?> <link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" /> <link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" /> <?php } //endif FAVICON ?> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /> <?php /** * load the loader files */ if($RI_CJLoader->get('status')){ $directory_array = $template->get_template_part(DIR_WS_TEMPLATE.'auto_loaders', '/^loader_/', '.php');

$loaders_check = $RI_CJLoader->get('loaders');
if($loaders_check == '*' || count($loaders_check) > 0){
while(list ($key, $value) = each($directory_array)) {
/**

  • include content from all site-wide loader_*.php files from includes/templates/YOURTEMPLATE/jscript/auto_loaders, alphabetically.
    /
    if($loaders_check == '
    ' || in_array($value, $loaders_check))
    require(DIR_WS_TEMPLATE.'auto_loaders'. '/' . $value);
    }
    }

$RI_CJLoader->loadCssJsFiles();
$files = $RI_CJLoader->processCssJsFiles();
foreach($files['css'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];

foreach($files['js'] as $file)
if($file['include']) include($file['string']);
else echo $file['string'];
}
//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>

</head> <?php // NOTE: Blank line following is intended: ?> ```
1 Jan 2011, 11:38 PM
#147
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

I just have another slight problem though;
I been trying to get CS/JS Loader to work but I when i merge the 2 html_header.php files with winmerge the template doesn't function right. I am not exactly sure how to go about this, here is the html_header.php file from the CS/JS Loader
I really appreciate your help!

I would recommend using a great file merging program like Beyond Compare and merging the two files. When done correctly the module will work with the template.

Thanks,

Anne

2 Jan 2011, 12:55 AM
#148
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

im getting a large gap above my header image in firefox again. and then when i refresh it goes away. any ideas?

2 Jan 2011, 1:09 AM
#149
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

also how would i get ezpages to show up in a new sidebox? i tried enabling ezpages sidebox and nothing showed up

2 Jan 2011, 1:43 AM
#150
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

im getting a large gap above my header image in firefox again. and then when i refresh it goes away. any ideas?

My guess is that it has something to do with the css or header file. Have you edited these?

also how would i get ezpages to show up in a new sidebox? i tried enabling ezpages sidebox and nothing showed up

Have you specified a sort order for the ez page links in the sidebox?

Thanks,

Anne

2 Jan 2011, 3:55 AM
#151
helpmesell avatar

helpmesell

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

I would recommend using a great file merging program like Beyond Compare and merging the two files. When done correctly the module will work with the template.

Thanks,

Anne

Hi Anne,

I got it to work, turns out the html_header file included with CSS/JS Loader was not for 1.3.9 but searching the forums I found the file.

Using the file below and having CSS/JS Loader 'enabled' works fine? I ended up deleted everything in the html_header.php file and pasting what is below. Is this OK??

<?php
/**
 * Common Template
 *
 * outputs the html header. i,e, everything that comes before the \</head\> tag <br />
 *
 * @package templateSystem
 * @copyright Copyright 2003-2010 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0
 * @version $Id: html_header.php 15761 2010-03-31 19:31:27Z drbyte $
 */
/**
 * load the module for generating page meta-tags
 */
require(DIR_WS_MODULES . zen_get_module_directory('meta_tags.php'));
/**
 * output main page HEAD tag and related headers/meta-tags, etc
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/URL]">
<html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]" <?php echo HTML_PARAMS; ?>>
<head>
<title><?php echo META_TAG_TITLE; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>" />
<meta name="keywords" content="<?php echo META_TAG_KEYWORDS; ?>" />
<meta name="description" content="<?php echo META_TAG_DESCRIPTION; ?>" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="author" content="The Zen Cart™ Team and others" />
<meta name="generator" content="shopping cart program by Zen Cart™, [URL]http://www.zen-cart.com[/URL] eCommerce" />
<?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?>
<meta name="robots" content="noindex, nofollow" />
<?php } ?>
<?php if (defined('FAVICON')) { ?>
<link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" />
<?php } //endif FAVICON ?>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" />
<?php if (isset($canonicalLink) && $canonicalLink != '') { ?>
<link rel="canonical" href="<?php echo $canonicalLink; ?>" />
<?php } ?>
<?php
/**
* load the loader files
 */
     
if($RI_CJLoader->get('status')){
 $directory_array = $template->get_template_part(DIR_WS_TEMPLATE.'auto_loaders', '/^loader_/', '.php');
    
 $loaders_check = $RI_CJLoader->get('loaders');
 if($loaders_check == '*' || count($loaders_check) > 0){
    while(list ($key, $value) = each($directory_array )) {
/**
* include content from all site-wide loader_*.php files from includes/templates/YOURTEMPLATE/jscript/auto_loaders, alphabetically.
 */
   if($loaders_check == '*' || in_array($value, $loaders_check))
    require(DIR_WS_TEMPLATE.'auto_loaders'. '/' . $value);
    }
  }
 $RI_CJLoader->loadCssJsFiles();
 $files = $RI_CJLoader->processCssJsFiles();
  foreach($files['css'] as $file)
   if($file['include']) include($file['string']);
   else echo $file['string'];
  foreach($files['js'] as $file)
   if($file['include']) include($file['string']);
   else echo $file['string'];
}
//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>
</head>
<?php // NOTE: Blank line following is intended: ?>
2 Jan 2011, 2:51 PM
#152
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

Hi Anne,

I got it to work, turns out the html_header file included with CSS/JS Loader was not for 1.3.9 but searching the forums I found the file.

Using the file below and having CSS/JS Loader 'enabled' works fine? I ended up deleted everything in the html_header.php file and pasting what is below. Is this OK??

This will break the cross browser compatibility for ie because you have omitted the calls for the ie stylesheets.

Thanks,

Anne

2 Jan 2011, 4:06 PM
#153
helpmesell avatar

helpmesell

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

This will break the cross browser compatibility for ie because you have omitted the calls for the ie stylesheets.

Thanks,

Anne

So I should change the very bottom of the code to how it's below? :oops:Or do I have to do that somewhere else?

//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';
?>
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/andover_modern/css/ie6.css" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="includes/templates/andover_modern/css/ie7.css" /><![endif]-->
</head>
2 Jan 2011, 4:31 PM
#154
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

So I should change the very bottom of the code to how it's below? Or do I have to do that somewhere else?

Yes, that is it :smile:

Thanks,

Anne

2 Jan 2011, 10:10 PM
#155
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

on my ezpages my color underneath my header doesnt match the background color and i cant find the code to change it. any help would be appreciated, thank you :)

3 Jan 2011, 2:06 AM
#156
fw541c avatar

fw541c

Zen Follower

Join Date:
Aug 2010
Posts:
202
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

I am getting a large gap above my header again. in firefox on my model page. https://www.notoriousarc.com

Ive looked through a lot of the CSS code and i cant see anything that would make it do this.

Please help:frusty:

3 Jan 2011, 7:22 PM
#157
earnest_enterprises avatar

earnest_enterprises

New Zenner

Join Date:
Oct 2009
Location:
Great Northwest
Posts:
80
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

Anne,
Thank you for a beautiful template. I couldn't wait to get it in place after seeing it.

 At this point I have made no changes to the stylesheet.css other than the height of the slider, a simple adjustment.  I use bullets (HTML, <UL><LI><LI></UL>) in my individual product descriptions extensively and am finding that those bullets almost run into the product image on the left (they're very close) in any product info page where bullets are used.  Sometimes they mix with the image.

 How can I adjust the text width of a product description to move it right and away from the product image on the left on the product info page?  I have looked through the stylesheet but am unsure where that adjustment is.  

 Also if a product description is somewhat long the product description text continues and runs down and under the image to the left, offsetting the description text making the text formatting unsightly.  How can the text be adjusted to drop straight down (with a straight left margin) from the beginning of the description to the end and not go left under the image?  Hope I am making myself clear.

Here's a link to my store to a specific product where both of the issues I describe above are happening:

http://earnest-enterprises.com/index.php?main_page=product_info&cPath=108_111&products_id=2883

Thanks for any help and kudos to you for a super template.

Rod

6 Jan 2011, 8:09 PM
#158
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

Where do I look to remove the social networking buttons from the product pages?

The FB Like button just goes into an endless popup loop on this computer and we currently don't have a desire for the tweet and share buttons.

6 Jan 2011, 8:17 PM
#159
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

Where do I look to remove the social networking buttons from the product pages?

The FB Like button just goes into an endless popup loop on this computer and we currently don't have a desire for the tweet and share buttons.

Remove the code in the includes/templates/andover_modern/templates/tpl_product_info_display.php

Thanks,

Anne

6 Jan 2011, 8:21 PM
#160
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Andover Modern Template Support Thread

Anne,
Thank you for a beautiful template. I couldn't wait to get it in place after seeing it.

At this point I have made no changes to the stylesheet.css other than the height of the slider, a simple adjustment. I use bullets (HTML, <UL><LI><LI></UL>) in my individual product descriptions extensively and am finding that those bullets almost run into the product image on the left (they're very close) in any product info page where bullets are used. Sometimes they mix with the image.

How can I adjust the text width of a product description to move it right and away from the product image on the left on the product info page? I have looked through the stylesheet but am unsure where that adjustment is.

Also if a product description is somewhat long the product description text continues and runs down and under the image to the left, offsetting the description text making the text formatting unsightly. How can the text be adjusted to drop straight down (with a straight left margin) from the beginning of the description to the end and not go left under the image? Hope I am making myself clear.

Here's a link to my store to a specific product where both of the issues I describe above are happening:

http://earnest-enterprises.com/index...oducts_id=2883

Thanks for any help and kudos to you for a super template.

Rod

Add:

#productDescription {margin-left:175px;}

to the bottom of your stylesheet.css

Thanks,

Anne