Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • metroarea Friend
    #130442

    The search results page seems to be inconsistent in how it displays content from the modules surrounding it. For example, some content from topsl (slide show) is reflected in the search results page, but other content is not. I notice that the same thing happens for some of the content placed in the right column.

    How do I make sure that my desired content appears in the modules that surround search results.

    Thanks,

    George

    Sherlock Friend
    #257913

    Hi
    Can you send URL, and make some images ?

    metroarea Friend
    #257949

    The URL is FileStoreShred.com. Please compare slideshow module on homepage to search results after you type “Ohio” for example.

    Thanks.

    David Porré Friend
    #331439

    Hi there,

    I have the same problem I think…

    On the search results page, I loose all the template’s modules set to “variables”.

    Did you fix it ?
    Anyone any idea to fix this ?

    Hoping for answers,
    Best regards,
    David aka Shapes

    Anonymous Moderator
    #331660

    Hi guys

    I think you are using an old version of joomla

    In joomla 1.5.15, joomla have fixed this issue.

    Please open modules/mod_search/tmpl/default.php and compare with my default.php file:

    <?php // no direct access
    defined('_JEXEC') or die('Restricted access'); ?>
    <form action="index.php" method="post">
    <div class="search<?php echo $params->get('moduleclass_sfx') ?>">
    <?php
    $output = '<input name="searchword" id="mod_search_searchword" maxlength="'.$maxlength.'" alt="'.$button_text.'" class="inputbox'.$moduleclass_sfx.'" type="text" size="'.$width.'" value="'.$text.'" onblur="if(this.value=='') this.value=''.$text.'';" onfocus="if(this.value==''.$text.'') this.value='';" />';

    if ($button) :
    if ($imagebutton) :
    $button = '<input type="image" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" src="'.$img.'" onclick="this.form.searchword.focus();"/>';
    else :
    $button = '<input type="submit" value="'.$button_text.'" class="button'.$moduleclass_sfx.'" onclick="this.form.searchword.focus();"/>';
    endif;
    endif;

    switch ($button_pos) :
    case 'top' :
    $button = $button.'<br />';
    $output = $button.$output;
    break;

    case 'bottom' :
    $button = '<br />'.$button;
    $output = $output.$button;
    break;

    case 'right' :
    $output = $output.$button;
    break;

    case 'left' :
    default :
    $output = $button.$output;
    break;
    endswitch;

    echo $output;
    ?>
    </div>
    <input type="hidden" name="task" value="search" />
    <input type="hidden" name="option" value="com_search" />
    <input type="hidden" name="Itemid" value=<?php echo $mitemid; ?> />
    </form>

    David Porré Friend
    #331681

    Hi,
    Yes, it solved the problem, thanks !!!
    Best regards,
    David aka Shapes

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  David Porré 14 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum