Re: Carousel Featured Products
hi,
install went fine except for admin doesn't show up any options,
i have checked the 1 admin file uploaded
anything else to check
thanks
Bryan
Re: Carousel Featured Products
working now, nice module
bn
Re: Carousel Featured Products
Hi kamelion0927
Great app and I have got it installed and configured fine. I just have one little question: How can I get the Carousel box to display above the main page content on the home page?
Any help is gratefully received. ;)
Re: Carousel Featured Products
Did you want to move just the featured products or all of them (i.e. new products, specials, etc.)?
Re: Carousel Featured Products
Just the featured products box in the center column. I'm not using the other ones.
I just would like to move it so it displays before the main page content.
I have tried with the code offline, but no go. I have basic PHP skills if that helps, but I can follow patterns (monkey see, monkey do).
Re: Carousel Featured Products
hi,
if i understand you properly go to ( example here www.catchagrip.co.uk )
includes/templates/YOUR TEMPLATE/templates/
edit file tpl_index_default.php
move code below
PHP Code:
<?php require($template->get_template_dir('tpl_modules_featured_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_featured_products.php'); ?>
place it directly above
PHP Code:
<div id="indexDefaultMainContent" class="content"><?php require($define_page); ?></div>
hope this helps
bn
Re: Carousel Featured Products
Quote:
Originally Posted by
dharrison
Just the featured products box in the center column. I'm not using the other ones.
I just would like to move it so it displays before the main page content.
I have tried with the code offline, but no go. I have basic PHP skills if that helps, but I can follow patterns (monkey see, monkey do).
I've been doing the same thing for years and it's the only way to learn this stuff in my not so expert opinion.
bn - you're almost there. See the line above the call for the featured products?
PHP Code:
<?php
$show_display_category = $db->Execute(SQL_SHOW_PRODUCT_INFO_MAIN);
while (!$show_display_category->EOF) {
?>
That's what tells the template to check if the featured products needs to be shown. If you only move the call for the featured products, the template won't know to check for it and it won't work. In your case Debbie, it would be easiest to just move the whole block of code (as shown below) to the place on the template that you want it.
PHP Code:
<?php
$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 } ?>
<?php if ($show_display_category->fields['configuration_key'] == 'SHOW_PRODUCT_INFO_MAIN_UPCOMING') { ?>
<?php
/**
* display the Upcoming Products Center Box
*/
?>
<?php include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_UPCOMING_PRODUCTS)); ?><?php } ?>
<?php
$show_display_category->MoveNext();
} // !EOF
?>
I hope that makes sense - I've got a holiday happy kid yapping in my ear nonstop and am finding it difficult to concentrate. :frusty: If it doesn't, please let me know and I'll try to clarify.
Re: Carousel Featured Products
Hi, Just installed
Please note that I had to manually upload the language file from admin, as the folder structure seemed to be incorrect when uploading, but manual upload got it working fine - you may want to fix in future releases.
Zen structure is : admin->includes-->languages-->english-->extra definitiions
Module Structure is admin-->includes-->english-->extra definitions
That might be why some folks are having problems with uploading and seeing the configuation menu in the admin end. :)
Re: Carousel Featured Products
Fantastic way of showing products, however I have an interesting problem. It does not cycle through the products. I have installed this on to two different websites the same way, one works, one does not. I cannot find the differences as to why one works. site of the one that is not working www.edencraftsupplies.co.uk
Re: Carousel Featured Products
I'm also trying to move the featured products as provided by this mod to be above the text content on the home page Really wish there was a way to call it somewhere in between text content on the home page but short of that would like to move it above the text. I've tried both solutions posed here, considering the second solution to probably be more sound. However the first solution breaks the page The second ssolution as I've applied it by putting the code so it is just above: <div id="indexDefaultMainContent"><?php require($define_page); ?></div> then what happens is an endless loop where it is loading dozens and dozens of the featured carousels onto the page.
I'm using zen 1.5.1 and the responsive westminster template which has it built in.