View Single Post
Old 10-14-2014, 12:29 PM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline

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

Default Re: Make Sidebar Item only show on the home page.

In your QuickLinks class add method isVisible() like this:

PHP Code:
protected function isVisible()
            && \
XLite\Core\Request::getInstance()->target == 'main';

and it should do the trick.

Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote