View Single Post
  #32  
Old 05-06-2014, 05:09 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: X-Cart 5.0.13 (DevKit, Olark, Disqus, EMS) and 5.1.0 Beta (Responsive, Bootstrap)

Quote:
Originally Posted by totaltec
Max,
I have a quick question. Can you point me to where module hierarchy is explained? I need to override \XLite\View\Menu\Customer\Top but when I extend it my changes get overwritten by CDev SimpleCMS. It is because CDev comes after Baby. If I name my Folder Dady it works because it comes after. I think Tony already explained this to me, but I am having trouble with this subject.

Thanks,
-Mike

You can see the example of how you can put your code after somebody else's module here:
https://docs.google.com/a/x-cart.com/document/d/1ZCwbHyqkklU1zNylERQnuD9U0JOlVPAwWarK9awU8yA/edit#heading=h.855e54cxh4l5

This is a doc of the second webinar.

Search for "How can you replace the menu added by SimpleCMS with your own menu?" paragraph.
Reply With Quote