Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Trademark in the Navigation Bar

    This is the support thread for the mod that adds the company name to the Navigation Bar on the desktop, mobile, and tablet views. It allows a site to have the legal name prominently displayed at the top of every page the customer visits.

    It applies to versions 1.5.7, 1.5.8, and the current 2.0.0 beta.

    When approved, this mod will be available at https://www.zen-cart.com/downloads.php?do=file&id=2378

    The current github locastion for the mod is https://github.com/dbltoe/Trademark

    If you find this mod helpful, donate to the Zen Cart Project
    Last edited by dbltoe; 9 Oct 2023 at 05:46 PM.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Trademark in the Navigation Bar

    For ZC 2.1.0., this can be done a lot easier by using the existing store name and eliminating the need for language files.

    For bootstrap template, add the following line as a new line in includes/templates/YOUR_TEMPLATE/common/tpl_header.php after
    Code:
    <nav class="navbar fixed-top mx-3 navbar-expand-lg rounded-bottom" aria-label="<?= TEXT_HEADER_ARIA_LABEL_NAVBAR ?>"><nav class="navbar fixed-top mx-3 navbar-expand-lg rounded-bottom" aria-label="<?= TEXT_HEADER_ARIA_LABEL_NAVBAR ?>">
    Code:
    <?php echo STORE_NAME; ?></p>
    in responsive_classic, search for the following:
    Code:
    <?php if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) {
    echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a></div>';
     } else if ( $detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){
    echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a></div>';
    } else {
    Replace that with:
    Code:
    <?php if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) {
    echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a><?php echo STORE_NAME; ?></p></div>';
     } else if ( $detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){
    echo '<div class="header Fixed"><a href="#menu" title="Menu"><i class="fa-solid fa-bars"></i></a><?php echo STORE_NAME; ?></p></div>';
    } else {
    For your CSS:

    In bootstrap, add the following to your site_specific_styles.php:
    Code:
    `.tradeMark {float:left;
    margin:0;
    padding:0;
    color: #FFFFFF;  (or the code for .leftBoxHeading)
    font-size: 1em;
    font-weight:normal;
    }
    If you are using responsive_classic or a clone thereof, I suggest you should have an override css stylesheet like includes/templates/YOUR_TEMPLATE/stylesheet_zcustom.css add the above rule to that file.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,754
    Plugin Contributions
    30

    Default Re: Trademark in the Navigation Bar

    What jurisdiction is demanding this? And how do they define "prominently"?

    The normally-nitpicky EU is ok with a link in the footer to the legal contact details of the shop owner.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: Trademark in the Navigation Bar

    A US trademark lawyer in New Hampshire was the driving force behind this for topkayakerDOTcom.

    It was require to issue a trademark.

    The trademark name had to be somewhere in the text of every page.

    All I know is the attorney said just having the URL matching did not suffice, but doing it as we did complied with the law as was interpreted by the lawyer.

    I thought it odd that not R, TM or C was required, but was told it was not.

    To me, it seemed like a good idea regardless. It keeps your name in front of the customer.

 

 

Similar Threads

  1. moving the navigation bar to just below the header_bg image?
    By silver500 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Nov 2011, 12:26 AM
  2. Login on the Navigation Bar
    By BobJBC in forum General Questions
    Replies: 5
    Last Post: 20 Apr 2009, 02:10 PM
  3. I want to change the placement of the Home - Login navigation bar.
    By tracey_lee in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Mar 2009, 08:49 PM
  4. Editing the Navigation Bar
    By hunkyhorse in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Oct 2008, 05:33 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR