If this is your first visit, check our documentation. To post, register or login.
Forums / Addon Templates / Responsive Sheffield Blue v1.0

Responsive Sheffield Blue v1.0

Started by picaflor_azul on 14 Sep 2013, 9:04 PM · Views: 221,046

Results 181 to 200 of 1,160
20 Oct 2013, 5:09 PM
#181
hany avatar

hany

New Zenner

Join Date:
Sep 2013
Location:
Cairo, Egypt
Posts:
21
Plugin Contributions:
0

Responsive Sheffield Blue v1.0

DML73:

Can you point me to exactly what code in tpl_main_page.php is making the call for the slider on the index page? Im having a real hard time finding this.

Commented at top of page, header loads slider....Enjoy

20 Oct 2013, 6:05 PM
#182
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

Hany:

Commented at top of page, header loads slider....Enjoy

Thanks, so what you mentioned in post 75:
"You will need to change the width of the slide show and then remove the call for it in the tpl_main_page.php file and add it to the define_main_page.php".
is not correct?

From /includes/templates/responsive_sheffield_blue/common/tpl_header.php I moved:

<?php if ($this_is_home_page) { ?> <?php if (RSB_SLIDES_STATUS == 'true') { ?>
  <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
		. '/tpl_home_slider.php');?>
<?php } ?> <?php } ?>

to:

includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php

but still the slider does not show up in the center colum between the left and right colums. What am I doing wrong? :dontgetit

20 Oct 2013, 6:41 PM
#183
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

DML73:

Can you point me to exactly what code in tpl_main_page.php is making the call for the slider on the index page? Im having a real hard time finding this.

The call for the slide show is at the bottom of the tpl_header.php file.

Thanks,

Anne

20 Oct 2013, 6:43 PM
#184
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

DML73:

Thanks, so what you mentioned in post 75:
"You will need to change the width of the slide show and then remove the call for it in the tpl_main_page.php file and add it to the define_main_page.php".
is not correct?

From /includes/templates/responsive_sheffield_blue/common/tpl_header.php I moved:

<?php if ($this_is_home_page) { ?> <?php if (RSB_SLIDES_STATUS == 'true') { ?>
<?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
  	. '/tpl_home_slider.php');?>
<?php } ?> <?php } ?>

to:

includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php

but still the slider does not show up in the center colum between the left and right colums. What am I doing wrong? :dontgetit

Do you have any errors in your logs folder? If you post a link to your site I can take a look.

Thanks,

Anne

20 Oct 2013, 7:22 PM
#185
hany avatar

hany

New Zenner

Join Date:
Sep 2013
Location:
Cairo, Egypt
Posts:
21
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

In fact, what I meant is, you need to start by reading tpl_main_page.php form header comment to understand how template blocks are rendered, header, left column, center, right & footer....but for the slider, I think you will need to cut the code from tpl_header and paste somewhere after calculating center column width in tpl_main_page.....so you will enjoy life :D

20 Oct 2013, 9:02 PM
#186
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

picaflor-azul:

Do you have any errors in your logs folder? If you post a link to your site I can take a look.

Thanks,

Anne

I did have a few errors in the logs folder because I forgot a "}" at the end in define_main_page.php; I have noew corrected that but still the slider does not show up in the center column. The link is www.u s c o n v e r t e r s .com/aab
Thanks a lot for your help.

20 Oct 2013, 9:21 PM
#187
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

DML73:

I did have a few errors in the logs folder because I forgot a "}" at the end in define_main_page.php; I have noew corrected that but still the slider does not show up in the center column. The link is www.u s c o n v e r t e r s .com/aab
Thanks a lot for your help.

I am not seeing the slide show code in the center column when I view the source. You should remove the call for the slider code from the tpl_header.php file and then add it to the define_main_page.php.

Thanks,

Anne

20 Oct 2013, 9:25 PM
#188
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

picaflor-azul:

I am not seeing the slide show code in the center column when I view the source. You should remove the call for the slider code from the tpl_header.php file and then add it to the define_main_page.php.

Thanks,

Anne

Ok, I actually had the code in both files. I have now removed it from tpl_header.php, and it is still in define_main_page.php, but still not in the center column.

20 Oct 2013, 9:44 PM
#189
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

DML73:

Ok, I actually had the code in both files. I have now removed it from tpl_header.php, and it is still in define_main_page.php, but still not in the center column.

I just don't see the slider code. My guess is that you did not add it to the override file. includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php

Thanks,

Anne

20 Oct 2013, 10:49 PM
#190
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

picaflor-azul:

I just don't see the slider code. My guess is that you did not add it to the override file. includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php

Thanks,

Anne

I did add it correctly to includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php, and I also tried saving it under Define Pages Editor in Admin. It saves it fine both places; and when I make changes to the text it shows up on the index page without problems. Only the slider does not show up. Very strange... :blink:

20 Oct 2013, 10:54 PM
#191
hany avatar

hany

New Zenner

Join Date:
Sep 2013
Location:
Cairo, Egypt
Posts:
21
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

DML73:

I did have a few errors in the logs folder because I forgot a "}" at the end in define_main_page.php; I have noew corrected that but still the slider does not show up in the center column. The link is www.u s c o n v e r t e r s .com/aab
Thanks a lot for your help.
DML, I just visited your site using an android phone, you have something wrong...in module menu new product image overlaps the details bitmap....I faced this problem in rtl direction only but I can't remember now how did I solve it...it was something in responsive.css

20 Oct 2013, 11:08 PM
#192
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

picaflor-azul:

I just don't see the slider code. My guess is that you did not add it to the override file. includes/languages/english/html_includes/responsive_sheffield_blue/define_main_page.php

Thanks,

Anne

I got it working! The problem was that in define_main_page.php I entered the full code:

<?php if ($this_is_home_page) { ?> <?php if (RAB_SLIDES_STATUS == 'true') { ?>
  <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
	    . '/tpl_home_slider.php');?>
<?php } ?> <?php } ?>

which apparently does not work, but it works when I only enter the code:

  <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
	    . '/tpl_home_slider.php');?>

So now the next question: what is the correct way to make the slider narrower?

20 Oct 2013, 11:10 PM
#193
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
416
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

Hany:

DML, I just visited your site using an android phone, you have something wrong...in module menu new product image overlaps the details bitmap....I faced this problem in rtl direction only but I can't remember now how did I solve it...it was something in responsive.css

Thank you for telling me Hany, ...I will look into it when I get my hands on an android phone.

21 Oct 2013, 4:05 AM
#194
palafirst avatar

palafirst

New Zenner

Join Date:
Oct 2011
Posts:
29
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

I've tested it in both Firefox 24 and Chrome 30 and it looks the same in both browsers.

picaflor-azul:

What browser are you using?

Thanks,

Anne

21 Oct 2013, 2:01 PM
#195
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

DML73:

I got it working! The problem was that in define_main_page.php I entered the full code:

<?php if ($this_is_home_page) { ?> <?php if (RAB_SLIDES_STATUS == 'true') { ?>
  <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
      . '/tpl_home_slider.php');?>
<?php } ?> <?php } ?>

which apparently does not work, but it works when I only enter the code:

  <?php require($template->get_template_dir('tpl_home_slider.php',DIR_WS_TEMPLATE, $current_page_base,'common')
      . '/tpl_home_slider.php');?>

So now the next question: what is the correct way to make the slider narrower?

I am happy that you figured out the problem ;)

Edit the includes/templates/responsive_sheffield_blue/common/tpl_home_slider.php

Thanks,

Anne

21 Oct 2013, 2:04 PM
#196
picaflor_azul avatar

picaflor_azul

Totally Zenned

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

Re: Responsive Sheffield Blue v1.0

palafirst:

I've tested it in both Firefox 24 and Chrome 30 and it looks the same in both browsers.

I'll need to see your live site. I do not see the problem on the demo site using firefox or chrome. What size and what device are you viewing on?

Thanks,

Anne

26 Oct 2013, 10:38 AM
#197
hany avatar

hany

New Zenner

Join Date:
Sep 2013
Location:
Cairo, Egypt
Posts:
21
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

Hi Anne

Would you please change :
$content .= 'Currencies:  ' . zen_draw_pull_down_menu('currency', $currencies_array, $_SESSION['currency'], 'onchange="this.form.submit();" class="header"') . $hidden_get_variables . zen_hide_session_id();
to:
$content .= BOX_HEADING_CURRENCIES . ':  ' . zen_draw_pull_down_menu('currency', $currencies_array, $_SESSION['currency'], 'onchange="this.form.submit();" class="header"') . $hidden_get_variables . zen_hide_session_id();
In file:
/includes/templates/responsive_sheffield_blue/sideboxes/tpl_currencies_header.php

Thanks
Hany

28 Oct 2013, 3:02 AM
#198
ozzyizzy avatar

ozzyizzy

New Zenner

Join Date:
May 2012
Location:
Australia
Posts:
16
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

Hi. I have recently implemented the Responsive Sheffield Blue Template for my site www.knicknacs.com.au.(work in progress) I think the Template is great ( Thank you Picaflor Azul) is great, but I have found a couple of problems. The first one is the product info. It displays fine after selecting the item from a category,(example (http://knicknacs.com.au/murano-jewelry/murano-perfume-vials) but after clicking the item to expand the description the product info is not there(example http://knicknacs.com.au/murano-jewelry/murano-perfume-vials/murano-glass-perfume-vial-red-flower) . My site also includes general document items, and they display the info just fine. (example http://knicknacs.com.au/mobile-phones/android-3.5-inch-phone-dex-1ghz-cpu-dual-sim-red) . My second problem is that I currently open my index page with categories as when I set it to open without them, I only get a bar with New, Specials and Featured. How do I configure it that I don't have to "click" on the "New" Tab for it to display the "new items opened? ie I want some of the photos to show on the index page. I use zen version 1.51. Thanks in advance.

28 Oct 2013, 1:51 PM
#199
hairydog avatar

hairydog

Zen Follower

Join Date:
Sep 2006
Posts:
165
Plugin Contributions:
0

Re: Responsive Sheffield Blue v1.0

I'm really pleased with this template, not least because it is almost exactly matches the "blue sky" sketch we drew for the site I've used it on.

However, there is one thing that I'm not really happy about. When you click a product image in a desktop browser to show the large image, it opens the pop-up window really quite small. If you resize the popup it scales the large image up as far as its full size, so it is working correctly, but the initial opening size ought to be about 85% of the screen size, not 20%.

Where is this set, and how can I fix it?

28 Oct 2013, 5:09 PM
#200
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Responsive Sheffield Blue v1.0

hairydog:

I'm really pleased with this template, not least because it is almost exactly matches the "blue sky" sketch we drew for the site I've used it on.

However, there is one thing that I'm not really happy about. When you click a product image in a desktop browser to show the large image, it opens the pop-up window really quite small. If you resize the popup it scales the large image up as far as its full size, so it is working correctly, but the initial opening size ought to be about 85% of the screen size, not 20%.

Where is this set, and how can I fix it?

This is a bug in the responsive code, it will be upgraded in the newest version. Anne I will forward this fix to you.