I hope this isn’t challenging.
The Goal:
To have two CenterBoxes on the Main Page. One for Shop Our Sale (was Specials) and one for New Arrivals (was New Products).
I want to separate the two headings, naturally. I’d like Shop Our Sale to be first (as designated in Admin), and have two rows of three images, followed by the heading New Arrivals and two rows of three images. I do not want a third heading. There is a third black heading peeking out and when it is removed, the images width will line up with the heading bar.
To be consistent with other images in Category listings, the product descriptions should be underneath the product image instead of on top.
Most important, Shop Our Sale and New Arrivals have to both remain open at the same time and always be open whenever someone goes to the Main page. If this is not possible, I would eliminate New Arrivals from the Centerbox and just have Shop Our Sale.
Finally, all of my other Category Listings have a border around the image. The border is always the same, only the location differs. The top one is for additional Shop Our Sale items and the second one is for all other Categories.
.specialsListBoxContents>a>img {
border: 3px outset #EEEEEE;
border-radius:5px;
margin-bottom: 0.75em;
box-shadow: 3px 3px 3px 3px #a1a1a1;
padding: 2em;
}
.centerBoxContentsProducts>a>img {
border: 3px outset #EEEEEE;
border-radius:5px;
margin-bottom: 0.75em;
box-shadow: 3px 3px 3px 3px #a1a1a1;
padding: 2em;
}
What would be the CenterBox that controls Shop Our Sale images and New Arrival images?
I successfully changed the names (Specials is now ‘Shop Our Sale’ and New is now ‘New Arrivals’), and now I need to adjust the placement of the black bar headings. I’ve been looking in Firebug, and the red markings represents my heading bars, but I have no clue how to move them or separate them. They are combined. If the heading was smaller it would read Shop Our Sale New Arrivals. One after the other, with a small space between the two.
includes/templates/piccadilly_posh/templates/tpl_index_default.php
echo '<div id="moduleMenu">';
while (!$show_display_nav->EOF) {
switch ($show_display_nav->fields['configuration_key']) {
case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
echo '<span class="navOne moduleSpan"><a href="javascript:void(0)" rel="featuredProducts" class="navOne moduleBox">Featured</a></span>';
break;
case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
echo '<span class="navThree moduleSpan"><a href="javascript:void(0)" rel="specialsDefault" class="navThree moduleBox">Shop Our Sale</a></span>';
break;
case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
echo '<span class="navTwo moduleSpan"><a href="javascript:void(0)" rel="whatsNew" class="navTwo moduleBox">New Arrivals</a></span>';
break;
}
$show_display_nav->MoveNext();
}
//echo '<span id="navFour" class="moduleSpan"><a href="javascript:void(0)" id="navFour" rel="viewAll" class="moduleBox">All</a></span>';
echo '<br class="clearBoth" />';
echo '</div>';
// eof module navigation
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
while (!$show_display_category->EOF) {
?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS') { ?>
<?php
/**
* display the Featured Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS') { ?>
<?php
/**
* display the Special Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_specials_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_specials_default.php'); ?>
<?php } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS') { ?>
<?php
/**
* display the New Products Center Box
*/
?>
<?php require($template->get_template_dir('tpl_modules_whats_new.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_whats_new.php'); ?>
<?php } ?>
I hope there is someone out there that can tackle this. Thank you.
http://designerperfumesnob.authsafe.com/


Reply With Quote

