If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Templates / Dover Fine Responsive Template

Dover Fine Responsive Template

Started by picaflor_azul on 31 May 2014, 8:40 PM · Views: 136,987

Results 181 to 200 of 496
2 Nov 2014, 2:31 PM
#181
vice avatar

vice

New Zenner

Join Date:
Nov 2014
Posts:
2
Plugin Contributions:
0

Dover Fine Responsive Template

Hello.
I've installed zencart and also with portuguese language pack. Could I install Dover Fine without loose the portuguese language or must I do anything else?
Thank you.

2 Nov 2014, 3:53 PM
#182
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

vice:

Hello.
I've installed zencart and also with portuguese language pack. Could I install Dover Fine without loose the portuguese language or must I do anything else?
Thank you.

As with any template package, if you want to use the template in a language other than english you need to copy the files in the template languages directory to your new language and then translate them.

Thanks,

Anne

2 Nov 2014, 7:19 PM
#183
vice avatar

vice

New Zenner

Join Date:
Nov 2014
Posts:
2
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

As with any template package, if you want to use the template in a language other than english you need to copy the files in the template languages directory to your new language and then translate them.

Thanks,

Anne

Hello Anne.
Thank you for your help. I dont really know if I can, but I will try to do it.
Many thanks and sorry to take your time.
Regards.
Vice
https://www.mvice.net

PS. Just a little (big) thing, your templates are wonderfull.

3 Nov 2014, 12:20 AM
#184
batracy avatar

batracy

New Zenner

Join Date:
Jun 2012
Posts:
57
Plugin Contributions:
1

Re: Dover Fine Responsive Template

simon1066:

Hi, would you mind sharing how you did this. I'm about to start a new site with this template and this would be useful.

There are several files involved in the change to make this work. The first is in the supersized.3.2.7.min.js script which is more than I can show here. Best to PM me with an email address and I can send you the updated script.

The second file that needs changed is the /includes/templates/your_template_name/common/tpl_main_page.php

find where the supersized script is being loaded (about line 100) and change the code that follows to match the following:

<script type="text/javascript" src="includes/templates/dover_fine/jscript/jquery.easing.min.js"></script>
		<script type="text/javascript" src="includes/templates/dover_fine/jscript/supersized.3.2.7.min.js"></script>
		<script type="text/javascript" src="includes/templates/dover_fine/jscript/supersized.shutter.min.js"></script>
		
		<script type="text/javascript">
			jQuery(function($){
			$.supersized({
	
					// Functionality
					slide_interval          :   7000,		// Length between transitions
					transition              :   1, 		// 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
					transition_speed		:	1000,		// Speed of transition
					vertical_center: 0,
					new_window: 0,
			      autoplay:1,
					// Components							
					slide_links: 'blank',	// Individual links for each slide (Options: false, 'num', 'name', 'blank')
					slides 	:  	[// Slideshow Images
										
<?php
                $banner = $db->Execute("SELECT banners_id, banners_title, banners_image, banners_html_text, banners_open_new_windows, banners_url FROM " . TABLE_BANNERS . " WHERE status = 1 AND banners_group = 'homepageslide' order by rand()");
                
                if ($banner->RecordCount() > 0) {

 while (!$banner->EOF) {
	$newwindow = ($banner->fields['banners_open_new_windows']) ? "', nwin : '1" : '';
	$bannerurl = ($banner->fields['banners_url']) ? "', url : '" . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) : '';
echo "{image : '" . HTTP_SERVER . DIR_WS_CATALOG . 'images/' . $banner->fields['banners_image'] . $bannerurl . $newwindow . "'},";

zen_update_banner_display_count($banner->fields['banners_id']);
                                $banner->MoveNext();

}

It's important to add the parameter 'new_window: 0,' to the script options. This is what tells the script to not open a new window. You will notice in the code above in the loop that sets up the slides a new parameter that is being passed to the script called 'nwin'. This is being set by looking at the setting of the banner for open in a new window. This parameter then overrides the script setting to either open in a new window, or open in the same window based on the setting in the banner.

Hope that makes sense. If not, let me know.

3 Nov 2014, 12:25 AM
#185
batracy avatar

batracy

New Zenner

Join Date:
Jun 2012
Posts:
57
Plugin Contributions:
1

Re: Dover Fine Responsive Template

Hmph, seems I found another problem. When trying to navigate on my iPhone 5 the screen behaves badly - as in instead of scrolling to allow selection of menu items, it just clears and goes back to the home page at the moment when the browser bar at the top and the browser options bar at the bottom clear.

I tested this on the simulator and it worked fine - just does it on the actual phone. Any ideas?

3 Nov 2014, 12:39 PM
#186
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

What specifically are you trying to change?

Thanks,

Anne

There are a few stylesheets in the css folder. This is why using the web developer tools is a must. They will tell you the exact line of the file that needs to be edited. Most will be in the stylesheet.css file, but since there are a few stylesheets used in the template it is safer to use the web developer tools to find exactly what needs to be changed ;)

Thanks,

Anne
I think that what you want to do is lessen or remove the padding-top and padding-bottom on the various elements in the left hand column. I would recommend using firefox or chrome and the web developer tools to isolate the exact lines of the files that need to be changes.

Thanks,

Anne

I am using chrome's 'Inspect element' but I have no idea how to find the padding element to change and how to find the script it is in.

andy

Learning Fast.
Eden Craft Supplies

3 Nov 2014, 3:12 PM
#187
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

adb34:

I am using chrome's 'Inspect element' but I have no idea how to find the padding element to change and how to find the script it is in.

andy

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

Thanks,

Anne

3 Nov 2014, 3:35 PM
#188
batracy avatar

batracy

New Zenner

Join Date:
Jun 2012
Posts:
57
Plugin Contributions:
1

Re: Dover Fine Responsive Template

batracy:

Hmph, seems I found another problem. When trying to navigate on my iPhone 5 the screen behaves badly - as in instead of scrolling to allow selection of menu items, it just clears and goes back to the home page at the moment when the browser bar at the top and the browser options bar at the bottom clear.

I tested this on the simulator and it worked fine - just does it on the actual phone. Any ideas?

Anne, anybody? Could really use some help on this one. Thanks.

3 Nov 2014, 3:38 PM
#189
adb34 avatar

adb34

Totally Zenned

Join Date:
Mar 2008
Location:
Brampton, Cumbria, United Kingdom, United Kingdom
Posts:
825
Plugin Contributions:
0

Re: Dover Fine Responsive Template

picaflor-azul:

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

Thanks,

Anne

I have found a video on you-tube that explains how to use 'inspect element'. All I need to do now is work out which css the tool kit is showing me and I should be there. Fingers crossed

andy

Learning Fast.
Eden Craft Supplies

3 Nov 2014, 9:04 PM
#190
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Dover Fine Responsive Template

I have problems with the banners when loaded in smaller screen devices they look squished and squashed, depending on the way you render them, for example the width with min-width set to auto, they still look bad, I know if the images don't have a width and height will be naturally flowed by the browser. I also know the Admin controls size and in the code, it will pass width and height for the banners, so do you know any solution other than rewriting the core, to display those images nicely in all devices, in css you can exchange images based on media queries but I don't know if Zen Cart allows you to do that, my images are loaded directly into the database, and I have a CRON job that uploads and updates everything, twice a day, except for the banners that are on the proper subdirectory ... But I am not sure if adding different versions can be called in Zen Cart ... You can take a look at my site on my signature is a live store ...

4 Nov 2014, 7:55 PM
#191
potterpoole avatar

potterpoole

New Zenner

Join Date:
Feb 2009
Posts:
13
Plugin Contributions:
0

Re: Dover Fine Responsive Template

I am having trouble with display of ezpages table of contents. The prev and next buttons aren't working properly. the table of contents only lists one page but there are two and the prev continue and next buttons overlap the table of contents box.

http://s a n d s t o n e h i l l s p o t t e r y.com/products_shpw/index.php?main_page=page&id=1&chapter=1

6 Nov 2014, 3:43 PM
#192
andyjordaan avatar

andyjordaan

New Zenner

Join Date:
Mar 2012
Location:
South Africa- Krugersdorp
Posts:
29
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Hi Anne,

I have a 1.5.3 Zencart and have customised the Dover fine a reasonable amount, as in, I have switched off the slideshow (need to put text onto the homepage) and fiddled with the css to get what I need.

I noticed that my bounce rate was a bit high and finally tracked it down to my product images showing above the Flyout menu during navigation, this is not the case with the sub and sub-sub categories who all behave fine.

I have image handler 4 installed

I am reasonably sure that I have to adjust the " z-index " to marry with image handler but I am not having much success here . . .:unsure::unsure::unsure:

Do you have any of your magic advice to throw my way ?

Andy

7 Nov 2014, 3:22 PM
#193
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

AndyJordaan:

Hi Anne,

I have a 1.5.3 Zencart and have customised the Dover fine a reasonable amount, as in, I have switched off the slideshow (need to put text onto the homepage) and fiddled with the css to get what I need.

I noticed that my bounce rate was a bit high and finally tracked it down to my product images showing above the Flyout menu during navigation, this is not the case with the sub and sub-sub categories who all behave fine.

I have image handler 4 installed

I am reasonably sure that I have to adjust the " z-index " to marry with image handler but I am not having much success here . . .:unsure::unsure::unsure:

Do you have any of your magic advice to throw my way ?

Andy

If you post a link to the page with the problem I can take a look.

Thanks,

Anne

7 Nov 2014, 5:49 PM
#194
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Dover Fine Responsive Template

batracy:

There are several files involved in the change to make this work. The first is in the supersized.3.2.7.min.js script which is more than I can show here. Best to PM me with an email address and I can send you the updated script.

The second file that needs changed is the /includes/templates/your_template_name/common/tpl_main_page.php

find where the supersized script is being loaded (about line 100) and change the code that follows to match the following:

<script type="text/javascript" src="includes/templates/dover_fine/jscript/jquery.easing.min.js"></script>
	<script type="text/javascript" src="includes/templates/dover_fine/jscript/supersized.3.2.7.min.js"></script>
	<script type="text/javascript" src="includes/templates/dover_fine/jscript/supersized.shutter.min.js"></script>
	
	<script type="text/javascript">
		jQuery(function($){
		$.supersized({

				// Functionality
				slide_interval          :   7000,		// Length between transitions
				transition              :   1, 		// 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
				transition_speed		:	1000,		// Speed of transition
				vertical_center: 0,
				new_window: 0,
		      autoplay:1,
				// Components							
				slide_links: 'blank',	// Individual links for each slide (Options: false, 'num', 'name', 'blank')
				slides 	:  	[// Slideshow Images
<?php $banner = $db->Execute("SELECT banners_id, banners_title, banners_image, banners_html_text, banners_open_new_windows, banners_url FROM " . TABLE_BANNERS . " WHERE status = 1 AND banners_group = 'homepageslide' order by rand()"); if ($banner->RecordCount() > 0) { while (!$banner->EOF) { $newwindow = ($banner->fields['banners_open_new_windows']) ? "', nwin : '1" : ''; $bannerurl = ($banner->fields['banners_url']) ? "', url : '" . zen_href_link(FILENAME_REDIRECT, 'action=banner&goto=' . $banner->fields['banners_id']) : ''; echo "{image : '" . HTTP_SERVER . DIR_WS_CATALOG . 'images/' . $banner->fields['banners_image'] . $bannerurl . $newwindow . "'},"; zen_update_banner_display_count($banner->fields['banners_id']); $banner->MoveNext(); } ``` > > It's important to add the parameter 'new_window: 0,' to the script options. This is what tells the script to not open a new window. You will notice in the code above in the loop that sets up the slides a new parameter that is being passed to the script called 'nwin'. This is being set by looking at the setting of the banner for open in a new window. This parameter then overrides the script setting to either open in a new window, or open in the same window based on the setting in the banner. > > Hope that makes sense. If not, let me know. Thank you for this, who knew a seemingly small thing could be so tricky. I'll PM you.

Simon

8 Nov 2014, 1:01 PM
#195
andyjordaan avatar

andyjordaan

New Zenner

Join Date:
Mar 2012
Location:
South Africa- Krugersdorp
Posts:
29
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Hi Anne,
Thanks for the offer,it was most appreciated however I think that the problem was not related to dover _fine.

That said its was fixed using the hints drawn from this thread. .:laugh:

I added the z-index here . . . ( about line 215 on the stylesheet css )
#categories .sideBoxContent ul li ul li {display:none;min-width:150px;position:relative;z-index:100;}

Again thanks for all your help

Andy :hug:

11 Nov 2014, 12:26 PM
#196
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Dover Fine Responsive Template

I'm having difficulty in isolating the cause of this home page layout issue on the demo site for this template.

Using the link http://www.zenlyzen.com/dover/index.php?main_page=index&display_mode=isTablet between about 820px to 910px in portrait aspect on a desktop pc, the top of the home page layout is a bit screwy, best shown in this screenshot

Attachment 14686

I get this in Safari, FF, IE and Chrome. Additionally, from the screenshot you can see the distorted logo, only in Safari, that I also need help with.

Simon

11 Nov 2014, 4:17 PM
#197
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Dover Fine Responsive Template

simon1066:

from the screenshot you can see the distorted logo, only in Safari, that I also need help with.

I've narrowed this down to possibly the stylesheet occurences of

#logo img{width:60%;height:60%;}

Although I don't know why Safari doesn't like it.

Simon

11 Nov 2014, 4:28 PM
#198
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Changing it to

#logo img{width:60%;height:auto;}

Seems to work

Simon

11 Nov 2014, 6:25 PM
#199
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Dover Fine Responsive Template

simon1066:

I'm having difficulty in isolating the cause of this home page layout issue on the demo site for this template.

Using the link http://www.zenlyzen.com/dover/index.php?main_page=index&display_mode=isTablet between about 820px to 910px in portrait aspect on a desktop pc, the top of the home page layout is a bit screwy, best shown in this screenshot

Attachment 14686

I get this in Safari, FF, IE and Chrome. Additionally, from the screenshot you can see the distorted logo, only in Safari, that I also need help with.

This is not a bug or a problem in the template. When you use the isTablet url on a desktop you are seeing what will be shown to tablet users. Use this url in an emulator like that at mobiletest.me using a tablet to see how the template will render on portrait and landscape tablets. You can not use the isTablet url on a desktop and then just make your browser larger and smaller. If you do this you will see a lot of "in between" screen resolutions that do not apply to any device.

Thanks,

Anne

12 Nov 2014, 8:46 AM
#200
simon1066 avatar

simon1066

Totally Zenned

Join Date:
Feb 2009
Location:
UK
Posts:
1,326
Plugin Contributions:
0

Re: Dover Fine Responsive Template

Now I think a bit more on it, of course you're right. I find it so easy to get caught out by layout issues when designing on a desktop and juggling the mobile, tablet and default stylesheets. I'll try to bear this in mind.

Simon