Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Remove 'X-Cart News' section from vendor admin pages

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-20-2016, 09:37 AM
 
sabinudash sabinudash is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 66
 

Default Remove 'X-Cart News' section from vendor admin pages

Hi,

Anyone kindly please direct me to the template file to remove 'Xcart News' section from vendor admin pages (for multivendor version Xcart 5)?

Thank you in advance.
__________________
X-Cart 5.3.3.4 Multivendor
X-Cart 5.3.3.4 Business (Testing)
Reply With Quote
  #2  
Old 11-20-2016, 09:47 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Remove 'X-Cart News' section from vendor admin pages

There are two widget classes that render the block:
- XLite\View\RSS\RSSLazyLoad
- XLite\View\RSS\RSS

I would try to customize (via a custom module) the isVisible() method for the first one so that it checks if the signed-in user is a vendor and returns "false" in this case.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
sabinudash (11-21-2016)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:46 AM.

   

 
X-Cart forums © 2001-2020