Quote Originally Posted by mc12345678 View Post
The three files restored (because it would seem that there were other edits made to try to get this same thing to work in a different manner needed to be undone), were from the Responsive Sheffield Blue (RSB) version 2.0 fileset that can be downloaded from the responsive templates area of the ZC plugins.

With regards to the section IDs, if you open each of those three files, you will see towards the top that there is an html tag beginning with <section... If you take note of the code that was provided at the related post, you will see that specials lined up with section-3, featured lined up with section-2 and whats new lined up with section-1. Well, what is shown there is the "original code" from the tpl_index_default.php file. If you look at each of the three files, the section ids in the same "file order" are: 3, 1, 2. (instead of 3, 2, 1 as shown in the tpl_index_default.php file)

Therefore, to have the information line up together, it appears that they modified the section information in 2 of the 3 individual template files so that basically tpl_modules_featured_products.php had <section id="section-1"> and tpl_modules_whats_new.php had <section id="section-2">.

I made the first changes to includes\templates\responsive_sheffield_blue\templates\tpl_index_default.php (See below code that I changed) I changed the tpl_modules_featured_products.php file to have a value of <section id="section-2"> and I changed file tpl_modules_whats_new to have a <section id="section-1">

See my screen print below. Now everything is gone except for what is in column 1. Even the footer area is gone.


Below is the change I made to tpl_index_default.php

Made this change at the very top of the code:

* Modified by Anne (Picaflor-Azul.com) Responsive Sheffield Blue v1.0 v2.0
*/
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_NEW_PRODUCTS));// added jpda
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_FEATURED_PRODUCTS_MODULE)); // added jpda
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_SPECIALS_INDEX));// added jpda
*/
?>

while (!$show_display_nav->EOF) {
switch ($show_display_nav->fields['configuration_key']) {
case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
if ($zc_show_featured) echo '<li><a href="section-2" class="icon-shop"><span>' . BOX_HEADING_FEATURED_PRODUCTS . '</span></a></li>'. "\n";
break;
case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
if ($zc_show_specials) echo '<li><a href="section-3" class="icon-cup"><span>' . BOX_HEADING_SPECIALS . '</span></a></li>'. "\n";
break;
case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
if ($zc_show_new_products) echo '<li><a href="section-1" class="icon-food"><span>' . BOX_HEADING_WHATS_NEW . '</span></a></li>'. "\n";
break;
}
$show_display_nav->MoveNext();
}


What it looks like now:

Click image for larger version. 

Name:	column 2 & 3 dispeared.jpg 
Views:	313 
Size:	20.9 KB 
ID:	16496