2 Replies - 3357 Views - Last Post: 03 December 2008 - 09:04 AM Rate Topic: -----

#1 richiebee  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 259
  • Joined: 27-November 08

the image search button not inline looking at the php file

Posted 28 November 2008 - 11:21 AM

the image search button not inline looking at the php file
mod_serch.php which i think is the same...

where do I put the fix;

Quote:
Find the style rule your search module uses and add:


Code:
vertical-align: middle;



Code:
<?php
/**
* @version $Id: mod_search.php 10855 2008-08-29 22:47:34Z willebil $
* @package Joomla
* @copyright Copyright © 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once( dirname(__FILE__).DS.'helper.php' );

$button = $params->get('button', '');
$imagebutton = $params->get('imagebutton', '');
$button_pos = $params->get('button_pos', '');
$button_text = $params->get('button_text', JText::_('Search'));
$width = intval($params->get('width', 20));
$maxlength = $width > 20 ? $width : 20;
$text = $params->get('text', JText::_('search...'));
$set_Itemid = intval($params->get('set_itemid', 0));
$moduleclass_sfx = $params->get('moduleclass_sfx', '');

if ($imagebutton) {
$img = modSearchHelper::getSearchImage( $button_text );
}
require(JModuleHelper::getLayoutPath('mod_search'));

Is This A Good Question/Topic? 0
  • +

Replies To: the image search button not inline looking at the php file

#2 ellisgl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 9
  • View blog
  • Posts: 161
  • Joined: 10-November 07

Re: the image search button not inline looking at the php file

Posted 29 November 2008 - 03:02 PM

You might want to hit up the Joomla forums for this.
Was This Post Helpful? 0
  • +
  • -

#3 richiebee  Icon User is offline

  • D.I.C Regular

Reputation: 4
  • View blog
  • Posts: 259
  • Joined: 27-November 08

Re: the image search button not inline looking at the php file

Posted 03 December 2008 - 09:04 AM

View Postellisgl, on 29 Nov, 2008 - 02:02 PM, said:

You might want to hit up the Joomla forums for this.

thanks :^:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1