Closed
Bug 454282
Opened 17 years ago
Closed 17 years ago
affiliates tab doesn't show active state
Categories
(Websites Graveyard :: spreadfirefox.com, defect)
Websites Graveyard
spreadfirefox.com
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: abuchanan, Assigned: paul)
References
()
Details
Attachments
(1 file, 1 obsolete file)
|
3.54 KB,
patch
|
Details | Diff | Splinter Review |
when you click on the 'affiliates' tab in the main navigation on sfx.com, it should show as active (turn white, blend in with lower half of header), but it doesn't
| Reporter | ||
Updated•17 years ago
|
Assignee: nobody → paul
| Assignee | ||
Comment 1•17 years ago
|
||
I couldn't fix this !
From looking @ page.tpl.php and page-front.tpl.php i can see that
<li class="menu-1-3-2"><a href="/events-home" title="Welcome to Firefox Marketing Events" class="menu-1-3-2"><span>Events</span></a></li>
corresponds to a item in style.css like
#navigation ul.primary-links li.menu-1-3-2-active a span,
so it looks as though the affiliate links need to be something like affiliates-homepage instead of affilaites/homepage so first i changed the links in the template and setup a url alias , cleared the cache but that didn't work.
I also tried changing the links in the affiliate module and trying different type of menu 'types'.
So it looks as though i have missed the obvious somewhere and need to be hit on the head , please feel free to strike a blow
Paul
| Reporter | ||
Comment 2•17 years ago
|
||
The navigation is actually hard coded in page.tpl.php (and really shouldn't be, why is it?) so making changes from within drupal won't have any effect.
The HTML doesn't actually correspond to the CSS, because the <li> doesn't have the menu-1-3-2-active class.
an example of one that works...
#navigation #page-og ul.primary-links li.menu-1-2-2 a, #navigation #page-events-home ul.primary-links li.menu-1-3-2 a, #navigation #page-stats ul.primary-links li.menu-1-4-2 a, #navigation #page-materials ul.primary-links li.menu-1-5-2 a, #navigation #page-faq ul.primary-links li.menu-1-6-2 a
notice the #page-og, #page-events-home. this is what makes it active. a pretty odd, cluttery way to do things IMO.
| Assignee | ||
Comment 3•17 years ago
|
||
The navigation is actually hard coded in page.tpl.php (and really shouldn't be,
why is it? .. i don't know , ill investigate
I understand how the other works any idea how to fix the problem ?
| Reporter | ||
Comment 4•17 years ago
|
||
a quick fix would be add a CSS rule like,
#navigation #page-affiliates-homepage ul.primary-links li.menu-1-2-2 a
to the corresponding rules in style.css
The problem is the rules exist for og, events, etc affiliates just isn't in the list
| Assignee | ||
Comment 5•17 years ago
|
||
Thanks Alex ,
It should work to my mind but its not working on my local server. I'll look at this again tomorrow.
| Assignee | ||
Comment 6•17 years ago
|
||
A patch to resolve the problem.
Note:
After the patch is applied CSS file aggregation needs to be disabled an renabled
@ admin/settings/performance
Attachment #339950 -
Flags: review?(buchanae)
| Assignee | ||
Comment 7•17 years ago
|
||
Attachment #339950 -
Attachment is obsolete: true
Attachment #339950 -
Flags: review?(buchanae)
| Assignee | ||
Updated•17 years ago
|
Attachment #341966 -
Attachment is patch: true
Attachment #341966 -
Attachment mime type: application/octet-stream → text/plain
Attachment #341966 -
Flags: review?(buchanae)
| Assignee | ||
Comment 8•17 years ago
|
||
As focus is on migrating the spreadfirefox site to D6 ill resolve this bug as wontfix.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
| Reporter | ||
Comment 9•17 years ago
|
||
Comment on attachment 341966 [details] [diff] [review]
A patch to resolve the problem.
cleaning out the review queue
Attachment #341966 -
Flags: review?(buchanae)
Updated•14 years ago
|
Product: Websites → Websites Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•