Remove non breaking spaces from categories in navigation

By default, the site builder system version 2.x uses non breaking spaces in category names in the navigation, to keep them from wrapping. If you want to change this you can do so by adjusting the PHP code for the navigation areas. (Note: you only have to change the page you're using in the template - choose from the list below.)

Horizontal Bar (%CATEGORY_BAR%) - Open the navbar_bar.php page in the /enc/ folder and change the line:

echo "$catname";

to:

echo "$stripcat";

Horizontal Text Links (%CATEGORY_HORIZONTAL%) - Open the navbar_horizontal.php page in the /enc/ folder and change the line:

echo "$catname";

to:

echo "$stripcat";

Horizontal Tabs (%CATEGORY_TABS%) - Open the navbar_tabs.php page in the /enc/ folder and change the line:

echo "$catname";

to:

echo "$stripcat";

Vertical Text or Image Links (%CATEGORY_VERTICAL%) - Open the navbar_vertical.php page in the /enc/ folder and change the line:

echo "$catname";

to:

echo "" .stripslashes($catrow[0]) ."";

and change the line:

echo "  $subcatname";

to:

echo "  " .stripslashes($subcatrow[0]) ."";

and change the line:

echo "    $endcatname";

to:

echo "    " .stripslashes($endcatrow[0]) ."";

Vertical Bar (%CATEGORY_TABLE%) - Open the navbar_table.php page in the /enc/ folder and change the line:

echo "$catname";

to:

echo "$stripcat";