New Zenner
- Join Date:
- Feb 2007
- Posts:
- 65
- Plugin Contributions:
- 0
Create 'current_page_base' for body id where it does not currently exist?
I modified tpl_main_page.php to output unique body id tags (for CSS purpose).
The code looks like this:
<body
<?php
if ($this_is_home_page) {
echo "id=\"Home\"";
} else if ($current_page_base == "account") {
echo "id=\"account\"";
} else if ($current_page_base == "login") {
(etc etc....)
The order tracker, however, doesn't seem to have a current_page_base (the output is blank for the above function). Is there a way to assign one? Here is the url within my store:
index.php?main_page=tracker&order_id=36