Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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.
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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.
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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
Re: Responsive Sheffield Blue
Quote:
Originally Posted by
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: