View Single Post
  #1  
Old 08-01-2016, 09:25 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Default Search Module / Tutorial

I originally asked this question a few months ago.
Changing the default search parameter from 'any words' to 'all words'

I see now that this has been added as a module tutorial/walk-through in the developer section.

I followed it along to the best of my understanding but when I redeployed the store, it got hung op on Step 6 of 13.

I am wondering if I did something wrong and if someone can help me out here.

I created a simple module as outlined here:
http://devs.x-cart.com/en/getting_started/step_1_-_creating_simplest_module.html

After creating the module I uploaded it and redeployed the store. The empty module is showing up just fine.

Now, this next series of steps is confusing me:
http://devs.x-cart.com/en/customization_examples/resetting_the_search_parameter_from_any_word_to_al l_words.html

Step 2. Says "In this module, add a new class:"

Do I add this at the bottom of the simple module file (Main.php), just after this chunk of code...
Code:
public static function getDescription() { return 'Resets the search parameter from any word to all words'; } }
?
__________________
X-Cart Business 5.4.1.29
Reply With Quote