How can i let PHPSHOP_NO_SEARCH_RESULT in virtuemart load an other html page

Discussion in 'PHP' started by seoroyal, Apr 13, 2012.

  1. #1
    Hello all,


    I have a question about the message you get when searching something in a virtuemart shop in joomla.

    When a product is not found it goes to PHPSHOP_NO_SEARCH_RESULT ...how can i instead of that page let an other html page load in that frame.
    What i want do do is when people dont see a search result make a own html page with email function and other options.

    [/FONT][/COLOR][COLOR=#000000][FONT=courier new]if ($num_rows == 0 && (!empty($keyword)||!empty($keyword1))) {[/FONT][/COLOR]
    [COLOR=#000000][FONT=courier new]	[/FONT][/COLOR]
    [COLOR=#000000][FONT=courier new]        echo $VM_LANG->_('PHPSHOP_NO_SEARCH_RESULT');[/FONT][/COLOR][COLOR=#000000][FONT=courier new]	[/FONT][/COLOR]
    [COLOR=#000000][FONT=courier new]}[/FONT][/COLOR][COLOR=#000000][FONT=Verdana]
    Code (markup):
     
    seoroyal, Apr 13, 2012 IP