1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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