Search Field

Hey,

The Fashira theme has quite a strange location for the search fields. I’m trying to relocate it towards the top-right corner and have it visible on every page -- but in what file should I be to edit this? template\page seems logical, but I can’t seem to find where the form.mini.phtml is called.

Any suggestions?

3 answers

Profile photo of chavan 100.00 $tone September 24, 2011
Public

Please post the file template\page\html\header.phtml

I will provide the solution for you

Note: If you Find my Post useful please click on the Thanks Icon

#1
Profile photo of Rafael Ravelo 0.00 $tone September 26, 2011
Public

template\page\html\header.phtml is unmodified, contents are pasted below. I am however not looking for a fish, I’d like to learn fishing. Can you maybe tell me what code is used to call the search form?

app\design\frontend\default\jm_fashiratemplate\pa ge\html

PHP Code:

<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to [email protected] so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   design_default
 * @package    Mage
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
 
global $tmpTools
?>
  <h1 id="logo"><a href="<?php echo $this->getUrl(''?>">JM 1ST APPROACH</a></h1>
  <p class="no-display"><a href="#main"><strong><?php echo $this->__('Skip to Main Content'?> &raquo;</strong></a></p>
  <div class="quick-access">
        <p><?php echo $this->getWelcome() ?></p>
      <div class="shop-access">
            <?php echo $this->getChildHtml('topLinks'?>
      </div>
  </div>
  <div class="clear"></div>
  <!-- BEGIN: MAIN NAVIGATION -->
<div id="ja-mainnav">
        <?php echo $this->getChildHtml('topMenu'?>
</div>
    <!-- END: MAIN NAVIGATION -->

#2
Profile photo of chavan 100.00 $tone September 27, 2011
Public

Add this code Next to this line
PHP Code:

<p><?php echo $this->getWelcome() ?></p>


in this file template\page\html\header.phtml

Code:

<?php echo $this->getChildHtml('topSearch') ?>

Note: If you Find my Post useful please click on the Thanks Icon

#3

Please login or Register to Submit Answer

Written By

Comments