Results 1 to 10 of 1686

Threaded View

  1. #11
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    829
    Plugin Contributions
    0

    Default Re: ZCA Bootstrap 4 Template [Support Thread]

    Hi All,

    I have located the two files that I need to edit I think which are including code:
    public_html/includes/templates/bootstrap/sideboxes/tpl_search_header.php
    <?php
    /**
    * Side Box Template: Searchbox for column header
    *
    * BOOTSTRAP v3.7.0
    *
    * @copyright Copyright 2003-2020 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: DrByte 2020 May 16 Modified in v1.5.7 $
    */
    $content = '<span id="callus">CALL US : 02-8003-5915</span>';
    /*
    $content .=
    zen_draw_form('quick_find_header', zen_href_link(FILENAME_SEARCH_RESULT, '', $request_type, false), 'get', 'class="form-inline"') .
    zen_draw_hidden_field('main_page', FILENAME_SEARCH_RESULT) .
    zen_draw_hidden_field('search_in_description', '1') .
    zen_hide_session_id() .
    '<div class="input-group">' .
    zen_draw_input_field('keyword', '', 'placeholder="' . HEADER_SEARCH_DEFAULT_TEXT . '" aria-label="' . HEADER_SEARCH_DEFAULT_TEXT . '" ') .
    '<div class="input-group-append">' .
    zen_image_submit(BUTTON_IMAGE_SEARCH, HEADER_SEARCH_BUTTON) .
    '</div>' .
    '</div>' .
    '</form>';
    */

    I want to disable the search function in the header bar(top) and keep the wording CALL US : 02-8003-5915 .Not knowing how to code it out I need assistance on what I need to do

    The other file is:

    public_html/includes/templates/bootstrap/sideboxes/tpl_ajax_search_header.php

    <?php
    // -----
    // Part of the Bootstrap template for Zen Cart. Renders the AJAX version
    // of the search-header.
    //
    // Bootstrap v3.6.0
    //
    $content = '<ul class="navbar-nav ml-auto">' . PHP_EOL;
    $content .= ' <li class="nav-item"><a href="javascript:void(0);" role="button" id="search-icon" class="nav-link" aria-label="' . BUTTON_SEARCH_ALT . '"><i class="fas fa-2x fa-search"></i></a></li>' . PHP_EOL;
    $content .= '</ul>' . PHP_EOL;

    Any help would be appreciated
    Last edited by Bruce1952; 25 Oct 2025 at 06:16 AM.
    Outdoorking
    Live Site www.outdoorking.com.au

 

 

Similar Threads

  1. v155 Clone a Template [Support Thread]
    By lat9 in forum Addon Admin Tools
    Replies: 107
    Last Post: 11 Nov 2024, 08:28 PM
  2. v150 aBagon Template Support Thread
    By VJef in forum Addon Templates
    Replies: 54
    Last Post: 5 Sep 2020, 08:44 PM
  3. v155 ZCA Bootstrap Template 1.0 (BETA)
    By rbarbour in forum Addon Templates
    Replies: 74
    Last Post: 25 Apr 2018, 07:05 PM
  4. TB Sempre Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 48
    Last Post: 19 Mar 2015, 06:33 PM
  5. Wallet Template - Support Thread
    By zami in forum Addon Templates
    Replies: 45
    Last Post: 25 Mar 2010, 10:15 PM

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