Naveen
Newbie
Offline
Posts: 43
Thank You
-Given: 1
-Receive: 0
|
 |
« on: December 08, 2012, 04:34:47 PM » |
|
Hi,
Guys, is it possible to remove the category hierarchy in the "Add/ edit images" panel? That will make it easy to find / type out the category name. Currently I can type/seach only the top level categories, so for sub categories, we need to scroll manually and remember to which top level category it belongs. I have around 300 categories with only 10 top level.
Thanx,
Naveen
|
|
|
|
|
|
Logged
|
|
|
|
Naveen
Newbie
Offline
Posts: 43
Thank You
-Given: 1
-Receive: 0
|
 |
« Reply #1 on: December 12, 2012, 02:27:57 PM » |
|
Hi, What can I change in the below code to get rid of "--" in category listing? Category 1 -- Category 2 -- Category 3 Changed to Category 1 Category 2 Category 3 1 2 3 4 5 6 7 8 9 10 11 12 13
| function get_type_dropdown($name, $select = 0, $type = "text", $field = "", $default = true, $empty = true, $class = "", $js = "") {
global $HTTP_POST_VARS;
if (isset($HTTP_POST_VARS[$name]))
{
$select = (int)$HTTP_POST_VARS[$name];
}
$return = "<select name=\"" . $name . "\" class=\"categoryselect" . $class . "\" " . $js . ">\n";
$return .= get_type_dropdown_options($select, $type, $field, $default, $empty);
$return .= "</select>\n";
return $return; }
|
Thanx
|
|
|
|
|
|
Logged
|
|
|
|
Naveen
Newbie
Offline
Posts: 43
Thank You
-Given: 1
-Receive: 0
|
 |
« Reply #2 on: February 20, 2013, 04:56:37 PM » |
|
Hi, In functions.php find 1
| $category_list .= ">".str_repeat("--", $depth - 1).
|
Replace with 1
| $category_list .= ">".str_repeat("", $depth - 1).
|
|
|
|
|
|
|
Logged
|
|
|
|
|