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

Andover Modern Template Support Thread

Views: 145,465

Results 21 to 40 of 790
13 Nov 2010, 2:15 PM
#21
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

I just found a mistake in the tpl_footer_menu.php. Please replace the includes/templates/andover_modern/common/tpl_footer_menu.php with this:

<?php
/* Page Template - tpl_footer_menu.php
*Display the Footer Menu
 * @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: tpl_footer_menu.php 1.0 5/9/2009 Clyde Jones $
*/
?>

<dl>
<?php echo QUICKLINKS; ?>
<?php echo INFORMATION; ?>
<?php echo CUSTOMER_SERVICE; ?>
<?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php echo IMPORTANT; ?>
<?php require($template->get_template_dir('tpl_ezpages_footer_menu.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_footer_menu.php'); ?>
<?php echo IMPORTANT_END; ?>
<?php } ?>

</dl>

<span id="social-media">
<a href="<?php echo TWITTER; ?>"><img src="includes/templates/andover_modern/images/twitter.png" class="twitter-image"  alt="twitter link" /></a>
<a href="<?php echo FACEBOOK; ?>"><img src="includes/templates/andover_modern/images/facebook.png" class="facebook-image"  alt="facebook link" /></a>
</span>

<br class="clearBoth" />
14 Nov 2010, 6:42 PM
#22
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

I love this template.... I have just seen it and quickly installed it as per instructions.

Initially (as expected) my set right columns where showing. I have turne ALL right box's off byt am now left with this blue'ish colum that runs down the right hand side from top to bottom. As if it it is awaiting box's.
All is set to single colum and NO right box's are activated... Any help?

Also just a quick one.... on the home page I see there are 5 large images... can these be edited? Stupid to ask I know but I'm just leaving to go out but want to play :-((

Thanks

Glyn

14 Nov 2010, 7:12 PM
#23
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 love this template.... I have just seen it and quickly installed it as per instructions.

Initially (as expected) my set right columns where showing. I have turne ALL right box's off byt am now left with this blue'ish colum that runs down the right hand side from top to bottom. As if it it is awaiting box's.
All is set to single colum and NO right box's are activated... Any help?

Also just a quick one.... on the home page I see there are 5 large images... can these be edited? Stupid to ask I know but I'm just leaving to go out but want to play :-((

Thanks

Glyn

This information is in the install.txt file. The first is:

===============================
5. Recommended Admin Settings:
===============================
**Please note that this template was designed to look best when the ezpages in header and category tabs in header are turned off** 

To make your site look like the demo:

A.  In your Zen Cart admin:

Go to "Configuration" then "Product Listing"

Copy the values from:

http://www.picaflor-azul.com/free-demos/images/andover_modern/product_listing.png

B. In your Zen Cart admin:

Go to "Configuration" then "Layout Settings"

Copy the values from: 

http://www.picaflor-azul.com/free-demos/images/andover_modern/layout_settings.png

The second is:

=======================================
8. Customizing the home page slideshow:
=======================================

A.  Create your images for the slideshow.  The demo slideshow image dimensions are 700 pixels by 250 pixels.  You can use any size image that you like, but if your images are not 700 x 250, you will have to edit the css file (see instructions below).  It will look best if all images are the same height and width.  The default slide show is set for 5 images, but you can have more or less.  

B.  Upload your images to the /includes/templates/andover_modern/images folder.

C.  Add the images to the slide show.

In your Zen Cart admin:

Go to "Tools" then "Define Pages Editor"

Select define_main_page.php from the drop down menu.  Make sure that the Text Editor drop down is set to "Plain Text".

You will see:

	  define(IMAGE1,'slide1.jpg');// default width 700px height 250px /
	  define(IMAGE2,'slide2.jpg');
	  define(IMAGE3,'slide3.jpg');
	  define(IMAGE4,'slide4.jpg');
	  define(IMAGE5,'slide5.jpg');

Replace slide1.jpg, etc. with the name of your image(s).

----------------------------------------------------------
Instructions for using images that are not 700 x 250pixels. 
-------------------------------

Follow instructions A., B., and C. above.

Go to:

includes/templates/andover_modern/css/stylesheet.css

Find line 218 and change the width and height to your needs.

Line 220 will change the position of the slider buttons if you need to do this.
----------------------------------------------------------

D.  Add the link urls to the images.

 In your Zen Cart admin:

Go to "Tools" then "Define Pages Editor"

Select define_main_page.php from the drop down menu.  Make sure that the Text Editor drop down is set to "Plain Text".

You will see: 

	  define(URL1,'http://www.picaflor-azul.com');
	  define(URL2,'http://www.picaflor-azul.com');
	  define(URL3,'http://www.picaflor-azul.com');
	  define(URL4,'http://www.picaflor-azul.com');
	  define(URL5,'http://www.picaflor-azul.com');

Replace http://www.example.com with your link url.

----------------------------------------------------------
Instructions for using more or less than 5 images
--------------------------
In your Zen Cart admin:

Go to "Tools" then "Define Pages Editor"

Select define_main_page.php from the drop down menu.  Make sure that the Text Editor drop down is set to "Plain Text".

You will see: 

<div id="slider">
	<ul>				
		<li><a href="<?php echo URL1 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>"   alt="first slide image" /></a></li>
		<li><a href="<?php echo URL2 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE2 ?>"   alt="second slide image" /></a></li>
		<li><a href="<?php echo URL3 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE3 ?>"   alt="third slide image" /></a></li> 
		<li><a href="<?php echo URL4 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE4 ?>"   alt="fourth slide image" /></a></li>
		<li><a href="<?php echo URL5 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE5 ?>"   alt="fifth slide image" /></a></li>
       	</ul>
</div>	

For less images, remove code from <li> to </li>.  You want the number of <li> to equal the number of images you have.  So if you have 3 images, you will remove 2 <li> to </li>.

For more images, add on a new <li> using the next number in sequence, for example image 6 would be:

 		<li><a href="<?php echo URL6 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE6 ?>"   alt="sixth slide image" /></a></li>

Then add a line to define code above:
define(IMAGE6,'slide6.jpg');

and:

define(URL6,'http://www.picaflor-azul.com');

Do this for each additional image you want.

Then go to:

includes/templates/andover_modern/css/stylesheet.css

line 220 and adjust the width so that all of the ol's show on one line. 

---------------------------------------------------------- 
15 Nov 2010, 8:00 AM
#24
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

I am trying to install Tabbed products pro, but it not working, when i merge the html.headers i get a blank page, when i dont nothing changes on the product_info page. any ideas?

15 Nov 2010, 3:46 PM
#26
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

If you are getting a blank page then install and follow the instructions for this mod:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=860

thanks, found it, it was my lightbox mod causing the issue.

new problem is the slide on the main page, not showing, and i cant seem to locate the tpl.main_page file either

15 Nov 2010, 4:00 PM
#27
rizla avatar

rizla

Zen Follower

Join Date:
Sep 2010
Posts:
449
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

Thanks for the reply to my impatient post... Played all do and now have it up running (locally) on a shiny new h version of Zen.

One problem: my search does not work... ie I get no results!

I have connected into my original DB once the template was installed sucesfully and everything is working but the search.

Just a minor thing... On your site I see the "Previous" "Listing" "Next" you have a gap between them.. I dont... the are nested against each other (not overlapping)

Thanks

15 Nov 2010, 5:07 PM
#28
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

new problem is the slide on the main page, not showing, and i cant seem to locate the tpl.main_page file either

If you post a link to your site I will take a look.

I did not change the tpl_main_page.php to there is no override for it. It is in the template_default directory. See this article:

https://www.zen-cart.com/tutorials/index.php?article=36

15 Nov 2010, 5:12 PM
#29
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

Thanks for the reply to my impatient post... Played all do and now have it up running (locally) on a shiny new h version of Zen.

One problem: my search does not work... ie I get no results!

I have connected into my original DB once the template was installed sucesfully and everything is working but the search.

This may not work until the site is live. This is definitely not a template problem, see the live demo:

http://www.picaflor-azul.com/free-demos/index.php?main_page=index&template_switch_id=andover_modern

Just a minor thing... On your site I see the "Previous" "Listing" "Next" you have a gap between them.. I dont... the are nested against each other (not overlapping)

This is a ie bug. Create an ie specific stylesheet for the version of ie that you are using and add in a style override. Ie6 and ie7 stylesheets are already included.

15 Nov 2010, 5:41 PM
#30
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

If you post a link to your site I will take a look.

I did not change the tpl_main_page.php to there is no override for it. It is in the template_default directory. See this article:

https://www.zen-cart.com/tutorials/index.php?article=36

link to test site: http://www.dealport.net/wholesale/

had it on my live and got the same issue

15 Nov 2010, 6:16 PM
#31
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

dealman876--I do not see the slider code on your home page so that is why it is not showing. You need to be sure to upload all of the template files especially the includes/languages/english/ html_includes/andover_modern/define_main_page.php

15 Nov 2010, 6:23 PM
#32
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

dealman876--I do not see the slider code on your home page so that is why it is not showing. You need to be sure to upload all of the template files especially the includes/languages/english/ html_includes/andover_modern/define_main_page.php

i checked, and it is there. all files were uploaded, did it twice, dont know what is causing this.

15 Nov 2010, 6:37 PM
#33
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 checked, and it is there. all files were uploaded, did it twice, dont know what is causing this.

When I viewed the source code of your site I did not see the code for the slider. Make sure that the files are in the correct directories.

15 Nov 2010, 7:05 PM
#34
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

When I viewed the source code of your site I did not see the code for the slider. Make sure that the files are in the correct directories.

alright, i have added my own flash script through the admin panel to define main page, but it is not showing either. is there something stopping that?

15 Nov 2010, 7:27 PM
#35
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

alright, i have added my own flash script through the admin panel to define main page, but it is not showing either. is there something stopping that?

This is not a problem with the template. I would recommend contacting the author of the script for support.

15 Nov 2010, 10:02 PM
#36
dealman876 avatar

dealman876

New Zenner

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

Re: Andover Modern Template Support Thread

picaflor-azul:

This is not a problem with the template. I would recommend contacting the author of the script for support.

i uploaded it to another server and it worked fine, when using other template the main_page, but for some reason it don't when im using any of yours. thanks for all your help.

16 Nov 2010, 1:39 AM
#37
authentic01 avatar

authentic01

New Zenner

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

Re: Andover Modern Template Support Thread

dealman876:

i uploaded it to another server and it worked fine, when using other template the main_page, but for some reason it don't when im using any of yours. thanks for all your help.

This was a problem for many of us. The main_page was incorrect. Copy and paste this is the new code. I guess when they find mistakes they don't make a new upload you have to search on the forum. I know it can suck if it's a lot of post.

<?php define(IMAGE1,'slide1.jpg');// default width 700px height 250px / define(IMAGE2,'slide2.jpg'); define(IMAGE3,'slide3.jpg'); define(IMAGE4,'slide4.jpg'); define(IMAGE5,'slide5.jpg'); define(URL1,'http://www.picaflor-azul.com'); define(URL2,'http://www.picaflor-azul.com'); define(URL3,'http://www.picaflor-azul.com'); define(URL4,'http://www.picaflor-azul.com'); define(URL5,'http://www.picaflor-azul.com'); ?>
<script type="text/javascript" src="includes/templates/andover_modern/jscript/jscript_easySlider.js"></script>

<script type="text/javascript">
	$(document).ready(function(){	
	    
		$("#slider").easySlider({
			auto: true, 
			continuous: true,
			numeric: true
		});
		
	});	
</script>



	<div id="slider">
		<ul>				
			<li><a href="<?php echo URL1 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE1 ?>"   alt="first slide image" /></a></li>
			<li><a href="<?php echo URL2 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE2 ?>"   alt="second slide image" /></a></li>
			<li><a href="<?php echo URL3 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE3 ?>"   alt="third slide image" /></a></li> 
			<li><a href="<?php echo URL4 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE4 ?>"   alt="fourth slide image" /></a></li>
			<li><a href="<?php echo URL5 ?>"><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.IMAGE5 ?>"   alt="fifth slide image" /></a></li>			
		</ul>
	</div>
16 Nov 2010, 1:54 AM
#38
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 guess when they find mistakes they don't make a new upload you have to search on the forum. I know it can suck if it's a lot of post.

I keep a list of any bugs found and do post updates to the template packages. Since this template was just approved, I will wait a while before submiting an update so as to not be so bothersome to the good person in charge of approving the contributions.

16 Nov 2010, 3:17 AM
#39
shawnchr avatar

shawnchr

New Zenner

Join Date:
Jun 2009
Posts:
45
Plugin Contributions:
0

Re: Andover Modern Template Support Thread

I love this template but I do believe I found a slight problem. Its in the packaging. I believe the about-us page is in the \includes\extra_definitions file folder and it should be /includes/extra_datafiles.

16 Nov 2010, 3:29 AM
#40
authentic01 avatar

authentic01

New Zenner

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

Re: Andover Modern Template Support Thread

New Question? How do you center the footer and take out the last vertical line? Since I will not need the extra link it's off center. Thanks!!