fdiengdoh

Bug: Active Nav not working as per demo

fdiengdoh PURCHASED
7 months ago
Earlier this $_active_nav variable on every page would work to indicate the current active page in the navigation menu. I find that recent updates, not sure which one, broke this. Interestingly, even your demo page it is also carry this broken feature. Now, I do use a simple workaround for this as follows:

Demo file intel_analytics_dashboard.php has the variable as

'$_active_nav = 'intel_analytics_dashboard'; is supposed to show the active page in nav menu.

A simple workaround by changing the value of the variable by a "./" prefix as follows:

$_active_nav = './intel_analytics_dashboard';

and active page work. in fact I can add any gibberish before the "/" and it would work. Example

$_active_nav = 'any-gibberish-here/intel_analytics_dashboard';