Page 1 of 2 12 LastLast
Results 1 to 10 of 297

Hybrid View

  1. #1
    Join Date
    Aug 2018
    Location
    Cardiff
    Posts
    23
    Plugin Contributions
    1

    Default Re: Template Fluorspar

    Quote Originally Posted by pixelpadre View Post
    Couple of things before I make those changes.

    First: My file is different than yours..(and I might be the reason)

    <!--<li class="manufacturers-li"><a class="drop" href="#"><?php echo HEADER_TITLE_MANUFACTURERS; ?></a><!--bof shop by brand -->
    <div class="dropdown_1column">
    <div class="col_1 firstcolumn">
    <ul >-->

    Second: You added } to the last line when it wasnt there before.
    It looks like you have already edited the file so that the manufacturers item does not display but you have left the rest of the code to execute.

    All I am saying is to delete ALL THE CODE that refers to the manufacturers menu item.

    Another way to explain is to delete everthing BETWEEN these two lines :-
    Code:
    </li><!-- eof quick links -->
    
    DELETE EVERTHING BETWEEN THESE TWO LINES !!!!!!!!!!!!!!!
    
    <li class="information-li fullwidth"><a class="drop" href="#"><?php echo HEADER_TITLE_INFORMATION; ?></a><!-- bof information -->
    No need to replace it with the new code if you NEVER want to display manufacturers.

    However if you do replace it with the new code, the manufacturers menu item will only display if you have at least one manufacturer on the database.

    Lost the will to live!

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

  2. #2
    Join Date
    Sep 2020
    Location
    Poole, Dorset
    Posts
    2
    Plugin Contributions
    0

    Default Re: Template Fluorspar

    Hi, I am a noob to zen cart, in fact to e-commerce. I have set up a small store for a UK registered charity and have a few things I'd like to change on this template if possible.

    I have zen v1.5.7.

    I would like to know if it is possible to remove the 'Brands' tab from the Mega Menu display, and if so, how do I do it.

    Thanks in advance, Jim.

  3. #3
    Join Date
    Aug 2018
    Location
    Cardiff
    Posts
    23
    Plugin Contributions
    1

    Default Re: Template Fluorspar

    Quote Originally Posted by Rescue Hog View Post
    Hi, I am a noob to zen cart, in fact to e-commerce. I have set up a small store for a UK registered charity and have a few things I'd like to change on this template if possible.

    I have zen v1.5.7.

    I would like to know if it is possible to remove the 'Brands' tab from the Mega Menu display, and if so, how do I do it.

    Thanks in advance, Jim.
    Hi Jim,

    if you scroll up you will see an explanation of how to remove the brands menu item from the mega menu.

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

    then remove the code that refers to manufacturers.

    I have fixed this issue in Fluorspar version 1.5 so that it only displays this item when you have at least on manufacturer on the database.

    I hope to submit version 1.5 soon.

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

  4. #4
    Join Date
    Sep 2020
    Location
    Poole, Dorset
    Posts
    2
    Plugin Contributions
    0

    Default Re: Template Fluorspar

    Thanks @peejay I will have a look.

  5. #5
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Template Fluorspar

    Good Morning! I am getting a warning in my log files for Fluorspar. PHP 7.4.11, ZC 15.7a, IH5.

    Code:
    [07-Nov-2020 13:15:25 UTC] Request URI: /WLC_Artistry_Design/index.php?main_page=product_info&cPath=22&products_id=34, IP address: 168.235.167.202
    #1  header() called at [/home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php:16]
    #2  require(/home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php) called at [/home/radianv2/public_html/WLC_Artistry_Design/index.php:42]
    --> PHP Warning: Cannot modify header information - headers already sent by (output started at /home/radianv2/public_html/WLC_Artistry_Design/includes/languages/english/extra_definitions/fluorspar/extras.php:1) in /home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php on line 16.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,873
    Plugin Contributions
    96

    Default Re: Template Fluorspar

    Quote Originally Posted by g2ktcf View Post
    Good Morning! I am getting a warning in my log files for Fluorspar. PHP 7.4.11, ZC 15.7a, IH5.

    Code:
    [07-Nov-2020 13:15:25 UTC] Request URI: /WLC_Artistry_Design/index.php?main_page=product_info&cPath=22&products_id=34, IP address: 168.235.167.202
    #1  header() called at [/home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php:16]
    #2  require(/home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php) called at [/home/radianv2/public_html/WLC_Artistry_Design/index.php:42]
    --> PHP Warning: Cannot modify header information - headers already sent by (output started at /home/radianv2/public_html/WLC_Artistry_Design/includes/languages/english/extra_definitions/fluorspar/extras.php:1) in /home/radianv2/public_html/WLC_Artistry_Design/includes/templates/fluorspar/common/html_header.php on line 16.
    Based on that log, check the file /includes/languages/english/extra_definitions/fluorspar/extras.php.

    I'm guessing that the file has a ?> at the end, followed by a blank line. If that's the case, just remove that ?>, leaving the ending blank line.

    Related:
    https://docs.zen-cart.com/user/troub..._already_sent/
    https://docs.zen-cart.com/user/misce...ing_close_php/

  7. #7
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Template Fluorspar

    that's not it. There is a php line with a comment inside it at the end of the file. I went ahead and dropped the ?> but it made no difference.

  8. #8
    Join Date
    Mar 2004
    Posts
    210
    Plugin Contributions
    0

    Default 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
    Last edited by noppie; 20 Dec 2020 at 07:11 AM.
    My Multi_Site Zen Carts
    http://herasonlinemarket.com

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Template Fluorspar

    No, you're misreading the error message.
    It says the problem is on line 1 of the file.

    Quote Originally Posted by g2ktcf View Post
    PHP Warning: Cannot modify header information - headers already sent by (output started at .../includes/languages/english/extra_definitions/fluorspar/extras.php:1) ...
    Perhaps your text editor has added a blank line at the top, or has set an invalid BOM (Byte Order Mark).

    Might be easiest to just recreate the file. Not by a complete copy-paste of the original, but by recreating its contents.
    You could even start by just deleting the file, although I'm sure it contains definitions that the template depends upon, so you will need to recreate what is needed.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Template Fluorspar

    Quote Originally Posted by DrByte View Post
    No, you're misreading the error message.
    It says the problem is on line 1 of the file.

    Quote Originally Posted by g2ktcf View Post
    PHP Warning: Cannot modify header information - headers already sent by (output started at .../includes/languages/english/extra_definitions/fluorspar/extras.php:1) ...
    Perhaps your text editor has added a blank line at the top, or has set an invalid BOM (Byte Order Mark).

    Might be easiest to just recreate the file. Not by a complete copy-paste of the original, but by recreating its contents.
    You could even start by just deleting the file, although I'm sure it contains definitions that the template depends upon, so you will need to recreate what is needed.
    Dr Byte, you comment about "recreating" may be a bit over my head. These are all standard ZC 1.5.7a files with the Flourspar template loaded. PHP 7.4.11. I have not created any of the subject files. Please forgive my ignorance.

    To add to this, I have found another blank page issue...I happens at the end of creating an account, logging in or logging out. The actions do go through as I can refresh and the account was created, then I was logged in and back and forth. This sounds like the ?> issue but I am not sure what file it would be in.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. theme277 from template monster and replacing with new template
    By DarkAngel in forum General Questions
    Replies: 0
    Last Post: 8 Nov 2012, 07:17 AM
  2. Can't seem to get template on the admin/tools/template selection
    By avmejias in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 19 Aug 2012, 07:39 AM
  3. Replies: 8
    Last Post: 29 Apr 2011, 07:53 PM
  4. Template selection page not viewable after uploading custom template
    By mek113 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Apr 2011, 05:16 PM
  5. open_basedir restriction in effect - trying to use tm001 template monster template
    By prantiC in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Aug 2007, 10:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg