Zen Cart Logo

Template Fluorspar

Views: 135,986

Results 61 to 80 of 298
11 Nov 2020, 3:01 AM
#61
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Template Fluorspar

DrByte:

I'm pretty sure the file was saved incorrectly when it was created.
Language files need to be saved "Without BOM" ("Byte Order Mark").
Most text editors operate in "without BOM" mode, but sometimes when non-english-speaking people create files they have BOM mode enabled in their editors, and that sets a special character at the beginning of the file ... which PHP treats as text. Outputting that to the browser is treated as sending page-headers ... and when that happens too early in the execution process you get the symptoms you've been posting about: headers-already-sent-on-line-1.
Saving the file "without BOM" (or "not With BOM") usually solves the problem. But if you don't know how to change the "save mode", typing out the file's contents by hand into a new file will probably suffice, especially since you're in Texas, even if you do speak 'merican ... at least it's a derivative of English. :D

but retyping the file clean in Notepad++ did not fix it...

11 Nov 2020, 3:04 AM
#62
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

g2ktcf:

but retyping the file clean in Notepad++ did not fix it...

I think I found it.

The file was opened in Notepad++ with the encoding UTF-8-BOM instead of UTF-8.

Could that be it?

11 Nov 2020, 3:09 AM
#63
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

My copy of Notepad++ uses BOM by default even when the file is saved without it. After fixing that file and adding it back to the orginal site, it still works fine.

11 Nov 2020, 3:26 AM
#64
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

and here it is...

Steps
Download Notepad++.
To check if BOM character exists, open the file in Notepad++ and look at the bottom right corner. If it says UTF-8-BOM then the file contains BOM character.
To remove BOM character, go to Encoding and select Encode in UTF-8.
Save the file and re-try the import.
11 Nov 2020, 10:33 AM
#65
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

Okay, supposedly fixing the file removed all my blank page issues but did NOT stop all the Debug logs. I had about 5k more warnings this morning so I deleted the file again. Also, I have another set of code looking for images that doe not exists apparently. I cannot see where I missed copying the files over. Anyone have a clue?

[11-Nov-2020 10:27:39 UTC] Request URI: /WLC_Artistry_Design/index.php?main_page=product_info&cPath=21&products_id=28, IP address: 142.202.95.92
#1 getimagesize() called at [/includes/templates/fluorspar/templates/tpl_modules_main_product_image.php:19]
#2 require(/includes/templates/fluorspar/templates/tpl_modules_main_product_image.php) called at [/includes/templates/fluorspar/templates/tpl_product_info_display.php:51]
#3 require(/includes/templates/fluorspar/templates/tpl_product_info_display.php) called at [/includes/modules/pages/product_info/main_template_vars.php:153]
#4 require(/includes/modules/pages/product_info/main_template_vars.php) called at [/includes/templates/fluorspar/common/tpl_main_page.php:158]
#5 require(/includes/templates/fluorspar/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: getimagesize(images/large/gift_certificates/gv_5_LRG.gif): failed to open stream: No such file or directory in /includes/templates/fluorspar/templates/tpl_modules_main_product_image.php on line 19.

[11-Nov-2020 10:27:39 UTC] Request URI: /WLC_Artistry_Design/index.php?main_page=product_info&cPath=21&products_id=28, IP address: 142.202.95.92
#1 getimagesize() called at [/includes/templates/fluorspar/templates/tpl_modules_main_product_image.php:23]
#2 require(/includes/templates/fluorspar/templates/tpl_modules_main_product_image.php) called at [/includes/templates/fluorspar/templates/tpl_product_info_display.php:51]
#3 require(/includes/templates/fluorspar/templates/tpl_product_info_display.php) called at [/includes/modules/pages/product_info/main_template_vars.php:153]
#4 require(/includes/modules/pages/product_info/main_template_vars.php) called at [/includes/templates/fluorspar/common/tpl_main_page.php:158]
#5 require(/includes/templates/fluorspar/common/tpl_main_page.php) called at [/index.php:94]
--> PHP Warning: getimagesize(images/medium/gift_certificates/gv_5_MED.gif): failed to open stream: No such file or directory in /includes/templates/fluorspar/templates/tpl_modules_main_product_image.php on line 23.
11 Nov 2020, 11:22 AM
#66
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

As a quick fix, I copied the images/gift_certificates folder over into the images/large and images/medium folders. I then added _LRG and _MED as appropriate. This seems to fix the errors but I consider this a bandaid. Should there not be some error checking in those files?

11 Nov 2020, 11:41 AM
#67
g2ktcf avatar

g2ktcf

Totally Zenned

Join Date:
Feb 2011
Location:
Lumberton, TX
Posts:
636
Plugin Contributions:
0

Re: Template Fluorspar

g2ktcf:

As a quick fix, I copied the images/gift_certificates folder over into the images/large and images/medium folders. I then added _LRG and _MED as appropriate. This seems to fix the errors but I consider this a bandaid. Should there not be some error checking in those files?

I have not run this modified code. It should check for the existance of the actual file and call getimagesize() only if the file exists. Now I do not know what happens to the values in list() and how that affects the site overall. Thoughts?

<?php
/**
 * Module Template
*
* @package templateSystem
* @copyright Copyright 2003-2011 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_main_product_image.php 18698 2011-05-04 14:50:06Z wilt $
*/
?>
<?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>

<figure id="productMainImage" class="product-main-image" itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">

<?php
$largewidth = "1000";
$largeheight = "1000";
if (file_exists($products_image_large) {
    list($largewidth, $largeheight, $type, $attr) = getimagesize($products_image_large);
}

$smallwidth = "200";
$smallheight = "200";
if (file_exists($products_image_medium) {
    list($smallwidth, $smallheight, $type, $attr) = getimagesize($products_image_medium);
}

 echo '<a href="'.$products_image_large.'" itemprop="contentUrl" data-size="'.$largewidth.'x'.$largeheight.'" data-index="0">'. "\n";
 echo '<img src="'.$products_image_medium.'" alt="'.$products_name.'" title="'.$products_name.'" width="'.$smallwidth.'" height="'.$smallheight.'" itemprop="thumbnail" class="img-responsive" /></a>'. "\n";

?>
</figure>
28 Nov 2020, 2:56 AM
#68
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Template Fluorspar

My zencart says "(You are presently using: v1.5.6c)""

and i added this fluorspar on this cart. and i got this on debug. and i done a lot of research but do not know how to fix it..

i also have Image Handler5

[28-Nov-2020 00:50:41 UTC] Request URI: /theshop/MYADMIN/template_select.php?page=1&tID=1, IP address: 24.113.181.201
#1 constant() called at [.../theshop/MYADMIN/includes/functions/admin_access.php:854]
#2 zen_get_menu_titles() called at [.../theshop/MYADMIN/includes/header_navigation.php:12]
#3 require(.../theshop/MYADMIN/includes/header_navigation.php) called at [.../theshop/MYADMIN/includes/header.php:218]
#4 require(.../theshop/MYADMIN/includes/header.php) called at [.../theshop/MYADMIN/template_select.php:95]
--> PHP Warning: constant(): Couldn't find constant BOX_HEADING_UP in .../theshop/MYADMIN/includes/functions/admin_access.php on line 854.

28 Nov 2020, 5:19 AM
#69
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Template Fluorspar

noppie:

[28-Nov-2020 00:50:41 UTC]PHP Warning: constant(): Couldn't find constant BOX_HEADING_UP

Most likely you've installed something that added a menu entry to the Admin menu system but there's no matching language define for the specified constant.

Likely you're missing a define for BOX_HEADING_UP (granted that seems like a strange one to use for a menu entry).

Missing language defines can be common if your store is using multiple languages and you don't take the time to make sure everything is defined in all languages.

28 Nov 2020, 5:40 AM
#70
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Template Fluorspar

thank you dr Byte
i will look into this..

i only use english.

30 Nov 2020, 2:00 AM
#71
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Template Fluorspar

i am back again.
i have this template running.. and i am using zen cart 156c
the fluorspar template 1.6. '
I have ceom for rewriting urls
inmage handler 5

and muit site
and hopefully added the correct files.. in admin to work

so I have 3 templates for my store..
heras
kandi
tshirt
ok i am writing this because i am getting this debug error and have no idea how to fix it.
these errors all seem template related. they seem to be about the social media buttoms.
thank you in advance to your help.

30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_1 - assumed 'MEDIA_1' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 62.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_1_ICON - assumed 'MEDIA_1_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 62.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_2 - assumed 'MEDIA_2' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 63.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_2_ICON - assumed 'MEDIA_2_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 63.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_4 - assumed 'MEDIA_4' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 64.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_4_ICON - assumed 'MEDIA_4_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 64.

3 Dec 2020, 4:23 PM
#72
peejay avatar

peejay

New Zenner

Join Date:
Aug 2018
Location:
Cardiff
Posts:
23
Plugin Contributions:
0

Re: Template Fluorspar

noppie:

i am back again.
i have this template running.. and i am using zen cart 156c
the fluorspar template 1.6. '
I have ceom for rewriting urls
inmage handler 5

and muit site
and hopefully added the correct files.. in admin to work

so I have 3 templates for my store..
heras
kandi
tshirt
ok i am writing this because i am getting this debug error and have no idea how to fix it.
these errors all seem template related. they seem to be about the social media buttoms.
thank you in advance to your help.

30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_1 - assumed 'MEDIA_1' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 62.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_1_ICON - assumed 'MEDIA_1_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 62.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_2 - assumed 'MEDIA_2' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 63.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_2_ICON - assumed 'MEDIA_2_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 63.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_4 - assumed 'MEDIA_4' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 64.

[30-Nov-2020 01:49:49 UTC] Request URI: /shop/index.php?main_page=page_not_found&pid=527, IP address: 185.191.171.41
#1 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php:32]
#2 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer.php) called at [/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php:203]
#3 require(/home/herasonl/public_html/shop/includes/templates/heras/common/tpl_main_page.php) called at [/home/herasonl/public_html/shop/index.php:97]
--> PHP Warning: Use of undefined constant MEDIA_4_ICON - assumed 'MEDIA_4_ICON' (this will throw an Error in a future version of PHP) in /home/herasonl/public_html/shop/includes/templates/heras/common/tpl_footer_menu.php on line 64.

Try reading the readme.html file that is shipped with the template. It explains how to edit the social media links at the bottom of the page.

20 Dec 2020, 6:08 AM
#73
noppie avatar

noppie

Zen Follower

Join Date:
Mar 2004
Posts:
210
Plugin Contributions:
0

Re: Template Fluorspar

did you ever get this.. there is a . on line 1 before the<?php a dot on the line one the very first character.

in the includes/languages/english/extra_definitions/fluorspar/extra.php

18 Jan 2021, 6:21 AM
#74
pegasuspublishing avatar

pegasuspublishing

New Zenner

Join Date:
Dec 2019
Location:
Trenton, TX
Posts:
25
Plugin Contributions:
0

Re: Template Fluorspar

With Fluorspar, how do I edit the tabs on the home page. I want New to be the default.

Thanks.

19 Jan 2021, 10:43 AM
#75
peejay avatar

peejay

New Zenner

Join Date:
Aug 2018
Location:
Cardiff
Posts:
23
Plugin Contributions:
0

Re: Template Fluorspar

pegasuspublishing:

With Fluorspar, how do I edit the tabs on the home page. I want New to be the default.

Thanks.

Open file :- includes/templates/fluorspar/templates/tpl_modules_tab_menu.php

Replace this code :-

case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
    echo '<button type="button" class="tablinks buttonFeatured" onclick="openTab(event, \'featuredProducts\')" id="defaultOpen">'.MODULE_TABS_FEATURED.'</button>';
  break;
case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
    echo '<button type="button" class="tablinks buttonSpecials" onclick="openTab(event, \'specialsDefault\')" >'.MODULE_TABS_SPECIALS.'</button>';
  break;
case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
    echo '<button type="button" class="tablinks buttonNew" onclick="openTab(event, \'whatsNew\')" >'.MODULE_TABS_NEW.'</button>';
  break;

with this code :-

  case 'SHOW_PRODUCT_INFO_MAIN_FEATURED_PRODUCTS':
      echo '<button type="button" class="tablinks buttonFeatured" onclick="openTab(event, \'featuredProducts\')" >'.MODULE_TABS_FEATURED.'</button>';
    break;
  case 'SHOW_PRODUCT_INFO_MAIN_SPECIALS_PRODUCTS':
      echo '<button type="button" class="tablinks buttonSpecials" onclick="openTab(event, \'specialsDefault\')" >'.MODULE_TABS_SPECIALS.'</button>';
    break;
  case 'SHOW_PRODUCT_INFO_MAIN_NEW_PRODUCTS':
      echo '<button type="button" class="tablinks buttonNew" onclick="openTab(event, \'whatsNew\') " id="defaultOpen" >'.MODULE_TABS_NEW.'</button>';
    break;

this moves id="defaultOpen" from Featured to New

To change the display order of the tabs, go to your shop admin.
Configuration -> Index Listing
Change the sort order of Show New Products on Main Page etc, to suit your requirements.

Regards,
Peejay
https://www.zenofobe.com

19 Jan 2021, 3:32 PM
#76
pegasuspublishing avatar

pegasuspublishing

New Zenner

Join Date:
Dec 2019
Location:
Trenton, TX
Posts:
25
Plugin Contributions:
0

Re: Template Fluorspar

Thank you very much. Now how do I get rid of the Action DVDs down in the footer?

19 Jan 2021, 4:00 PM
#77
pegasuspublishing avatar

pegasuspublishing

New Zenner

Join Date:
Dec 2019
Location:
Trenton, TX
Posts:
25
Plugin Contributions:
0

Re: Template Fluorspar

Works great one I removed the extra space from 'whatsNew') "

19 Jan 2021, 10:40 PM
#78
pegasuspublishing avatar

pegasuspublishing

New Zenner

Join Date:
Dec 2019
Location:
Trenton, TX
Posts:
25
Plugin Contributions:
0

Re: Template Fluorspar

Never mind turned off ezpages in the footer and it went away.

Any way to display a text list of manufacturers instead of the images?

Appreciate all the help guys.

20 Jan 2021, 12:44 PM
#79
peejay avatar

peejay

New Zenner

Join Date:
Aug 2018
Location:
Cardiff
Posts:
23
Plugin Contributions:
0

Re: Template Fluorspar

pegasuspublishing:

Any way to display a text list of manufacturers instead of the images?

Open file:- includes/templates/fluorspar/common/tpl_mega_menu.php

Find this line :-

define('DISPLAY_MANUFACTURERS_IMAGES',true);

Change true to false :-

define('DISPLAY_MANUFACTURERS_IMAGES',false);

You may also want to change the CSS.

Open file :- includes/templates/fluorspar/css/stylesheet_header_menu.css

Delete this line if you want the text to align left:-
.mega-menu .brands ul li {text-align:center}

Change this line:-
.brands li a:hover {background-color:rgb(215,215,215)!important;}

to this (to make hover background darker) :-
.brands li a:hover {background-color:rgb(133,133,133)!important;}

Regards,
Peejay
https://www.zenofobe.com

21 Jan 2021, 1:46 AM
#80
pegasuspublishing avatar

pegasuspublishing

New Zenner

Join Date:
Dec 2019
Location:
Trenton, TX
Posts:
25
Plugin Contributions:
0

Re: Template Fluorspar

Thank you very much.