Forum

Questions and discussions

how to remove items from dropdown selection

Script's setup and configuration

how to remove items from dropdown selection

Postby xiang » Mon Jun 13, 2011 1:36 am

Hi,

Is there anyway for me to take out "Most Downloaded" and "Random" from search dropdown in the category search/sorting screen?

Thanks
xiang
 
Posts: 3
Joined: Sun Jun 12, 2011 4:26 am

Re: how to remove items from dropdown selection

Postby admin » Mon Jun 13, 2011 7:37 am

You should edit /members/content_list.php file.

Line: 456
admin
Site Admin
 
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm

Sort Result: Remove "Most Downloaded" from dropdown

Postby mj72 » Sat Jan 17, 2015 1:18 am

Sounds great :)

Can't find it. Does anyone have the text string to edit (or the line number for the current version)?
mj72
 
Posts: 90
Joined: Sat Jan 10, 2015 10:55 am

Re: how to remove items from dropdown selection

Postby admin » Wed Jan 21, 2015 4:18 pm

Now it is ins the file:
/members/content_list_vars.php

Code: Select all
$mass_sort["downloaded"]=word_lang("most downloaded");
$mass_sort["popular"]=word_lang("most popular");
$mass_sort["date"]=word_lang("date");
//$mass_sort["title"]=word_lang("title");
$mass_sort["rated"]=word_lang("top rated");
//$mass_sort["random"]=word_lang("random");
admin
Site Admin
 
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm

My own name in dropdown - or new language field

Postby mj72 » Fri Jan 23, 2015 11:09 pm

Thanks a lot.

I want to name it Newest instead of word_lang("date"). I cannot just rename, because word_lang("date") is used elsewhere.

Is this possible to give it my own name?
mj72
 
Posts: 90
Joined: Sat Jan 10, 2015 10:55 am


Return to Configuration

Who is online

Users browsing this forum: No registered users and 6 guests

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.