PDA

View Full Version : How to remove "Hide" for status Plugin



rosegarden
September 9, 2012, 12:41 AM
Can you advise how to remove the hide status on the tpl for Status Plugin?

Vladimir
September 10, 2012, 11:29 AM
Hello,

Do you mean Inactive status of plugin?

rosegarden
September 10, 2012, 03:39 PM
Hi there
I mean when you go the "My-Listing" page

You can change the status of the listing to Available, Sold or Hide with this plugin.

I want to remove "Hide" completely so it is only Available or Sold

Vladimir
September 11, 2012, 03:39 AM
You can try resolve this problem the following way:

- open file: your_plugins/listing_status/rlListingStatus.class.php
- go to the method getStatus();
- disable the following line:



$status[] = Array('Key'=>'invisible','Type'=>'all', 'name'=> $GLOBALS['lang']['ls_invisible']);

rosegarden
September 12, 2012, 01:47 AM
Hi there
Thank you :)