View Single Post
  #2  
Old 12-21-2015, 12:54 PM
 
codegrunt codegrunt is offline
 

Member
  
Join Date: Dec 2015
Posts: 10
 

Default Re: extending / overriding product search

Hoping a bump spikes someone's interest. . .

=)

I am feeling pretty stumped here as I can't seem to sort out how to get my module's search view to load.

If I want to override this view:

Code:
classes/XLite/View/ItemsList/Product/Customer/Search.php

and have a dev called "MyDev" and a module called "MyModule", where should the overridden class go?

I have tried placing it here:

Code:
classes/XLite/Module/MyDev/MyModule/View/ItemsList/Product/Customer/Search.php

But it does not get loaded.

Any help appreciated. I've looked through the docs but did not see any examples specific to search results that seemed to apply.

Do you have to create a "A[object name].php" stub at every branch of the tree for lower level files to be loaded?
__________________
multiple versions (4 and 5)
Reply With Quote