Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION How to change menu active label?
#2
I found the file, it's admin/inc/theme_functions.php:
================================================
if ($page['menuStatus'] == 'Y') {
$parentClass = !empty($page['parent']) ? $classPrefix.$page['parent'] . " " : "";
$classes = trim( $parentClass.$classPrefix.$url_nav);
if ("$currentpage" == "$url_nav") $classes .= " current active";
if ($page['menu'] == '') { $page['menu'] = $page['title']; }
if ($page['title'] == '') { $page['title'] = $page['menu']; }
$menu .= '<li class="'. $classes .'"><a href="'. find_url($page['url'],$page['parent']) . '" title="'. encode_quotes(cl($page['title'])) .'">'.strip_decode($page['menu']).'</a></li>'."\n";
}
Reply


Messages In This Thread
How to change menu active label? - by bacmid - 2018-01-31, 09:06:01
RE: How to change menu active label? - by bacmid - 2018-01-31, 13:23:23
RE: How to change menu active label? - by Carlos - 2018-02-01, 05:21:25
RE: How to change menu active label? - by bacmid - 2018-02-09, 09:43:35
RE: How to change menu active label? - by shawn_a - 2018-02-03, 00:36:18
RE: How to change menu active label? - by Carlos - 2018-02-24, 18:23:17
RE: How to change menu active label? - by Carlos - 2018-02-25, 19:07:38



Users browsing this thread: 1 Guest(s)