Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
GAM
Hi Anne
...
If you do look and still don't find what you're looking for, please give me some examples for my own testing purposes.
...
I've now seen an example of what I'm looking for and for the life of me I don't know why I'm not seeing the same things. I expect some conflict or other override somewhere or a dependency that doesn't exist as I've now renamed and then copied over the template files in my template_default folder and applicable template override folder. :frusty:
There must be something missing or something existing that shouldn't. Ugh.
Cheers
GAM
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
GAM
I've now seen an example of what I'm looking for and for the life of me I don't know why I'm not seeing the same things. I expect some conflict or other override somewhere or a dependency that doesn't exist as I've now renamed and then copied over the template files in my template_default folder and applicable template override folder. :frusty:
There must be something missing or something existing that shouldn't. Ugh.
Cheers
GAM
Double check this file for I do not see the js script code
/includes/templates/GAM2/templates/tpl_index_default.php
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
rbarbour
Double check this file for I do not see the js script code
/includes/templates/GAM2/templates/tpl_index_default.php
Hi
Thanks for looking. First, to be clear, I have seen an example on another site of what I should be seeing, but not on my site. The correct code and file is present on my server here: /includes/templates/GAM2/templates/tpl_index_default.php
Extract copied from downloaded file:
<script type="text/javascript">
$(document).ready(function() {
$('a.moduleBox').click(function() { // show selected module(s)
// variables
var popID = $(this).attr('rel');
var popNAV = $(this).attr('class');
// hide all wrappers and display the one selected
$('.centerBoxWrapper').hide();
// check if all or single selection
if (popID != 'viewAll') {
$('#' + popID).fadeIn();
} else {
$('.centerBoxWrapper').fadeIn();
}
});
});
</script>
My site is ignoring this template somehow. I must have something hardcoded or overriding the call to this template somewhere else.
Any tips on debugging this scenario?
Cheers
GAM
Re: Tabbed Home Page Modules install issue
Looking through my add-ons the only one that I can identify that comes close to being related is Flexible Product Listing and one of its files; tpl_index_product_list, which does have code for Featured, Special and New Products centre boxes.
Edit; this appears to only affect the sub-category index pages and evidenced somewhat by the different display between my home page and main sub-category pages.
Re: Tabbed Home Page Modules install issue
Hi Anne (and maybe others)
Getting somewhere now... Searching for examples of this mod in use I had not noticed any sites with Categories displayed on the main page. Although the heading formatting is crap at the moment, I have Tabbed Home Page functioning by disabling 'Categories - Always Show on Main Page' i.e.:
Admin | Configuration | Layout Settings...
Categories - Always Show on Main Page = 0 (false)
I hadn't noticed any reference to this scenario being incompatible and still not certain whether this is a result of another conflict, so hopefully you can investigate and advise further.
I want my Categories displayed in conjunction with Tabbed Home Pages, as my customers are accustomed to navigating the store this way and it is appropriate for the nature of my store and product.
Cheers
GAM
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
GAM
Hi Anne (and maybe others)
Getting somewhere now... Searching for examples of this mod in use I had not noticed any sites with Categories displayed on the main page. Although the heading formatting is crap at the moment, I have Tabbed Home Page functioning by disabling 'Categories - Always Show on Main Page' i.e.:
Admin | Configuration | Layout Settings...
Categories - Always Show on Main Page = 0 (false)
I hadn't noticed any reference to this scenario being incompatible and still not certain whether this is a result of another conflict, so hopefully you can investigate and advise further.
I want my Categories displayed in conjunction with Tabbed Home Pages, as my customers are accustomed to navigating the store this way and it is appropriate for the nature of my store and product.
Cheers
GAM
The code for the Tabbed home page module is not included in the plugin for
/includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php
therefore will not work if admin configuration
Categories - Always Show on Main Page = 1 (true)
The code for the center box modules are very different (why, IDK) when categories are enabled for main page.
With some alterations it can work though.
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
rbarbour
The code for the Tabbed home page module is not included in the plugin for
/includes/templates/YOUR_TEMPLATE/templates/tpl_index_categories.php
therefore will not work if admin configuration
Categories - Always Show on Main Page = 1 (true)
The code for the center box modules are very different (why, IDK) when categories are enabled for main page.
With some alterations it can work though.
Yes, this is true. If you want categories on the home page you can copy the code for the module from the tpl_index_default.php file to the tpl_index_categories.php
Thanks,
Anne
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
picaflor-azul
Yes, this is true. If you want categories on the home page you can copy the code for the module from the tpl_index_default.php file to the tpl_index_categories.php
Thanks,
Anne
Remember, doing so will also enable this module on your sub-category pages.
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
rbarbour
Remember, doing so will also enable this module on your sub-category pages.
Not if you wrap the code with conditional code to limit it to the home page..
Re: Tabbed Home Page Modules install issue
Quote:
Originally Posted by
DivaVocals
Not if you wrap the code with conditional code to limit it to the home page..
:smartass:
Why didn't I think of that, maybe a admin configuration.