Closed Bug 413197 Opened 18 years ago Closed 18 years ago

maketoc does not honour hidden content

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cilias, Assigned: nkoth)

Details

(Whiteboard: sumo_only showfor)

On <http://support.mozilla.com/kb/menu_reference-en-US>, the Firefox menu is Mac specific. I can hide it with SHOWFOR, but it is still in the TOC.
Nelson and I discussed this on IM, but I don't recall the time required to fix this and whether or not it's possible to get this in the 0.6 milestone. Nelson?
Assignee: nobody → nelson
Note to self: When this bug is fixed, fix syntax on "On Windows Vista" and "On Windows 2000 and XP" headings in <http://support.mozilla.com/kb/Profiles>. I had to do some cheating to work around this. :-)
Target Milestone: --- → 0.6
This is now on support-stage. (Note it doesn't work if you have more than one maketoc, which I think you don't have).
Tested on <http://support-stage.mozilla.org/en-US/kb/Menu+Reference>, and it seems to be working. The links on dynamic items ("Exit") need cleaning, but I suppose that's a separate bug, and the links do work.
This is fixed, right?
Marking FIXED.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: tiki_triage nelson
This is related to SHOWFOR. In tikilib.php in sumo, you can find code that handles the above toc handling for showfor by {maketoc}. Just do a case insensitive search for "showfor". If showfor remains unchanged, that part will have to be upstreamed for it to work. If showfor is rewritten, then the above also has to be taken into account.
Whiteboard: tiki_triage nelson → tiki_triage showfor
This is related to SHOWFOR. In tikilib.php in sumo, you can find code that handles the above toc handling for showfor by {maketoc}. Just do a case insensitive search for "showfor". If showfor remains unchanged, that part will have to be upstreamed for it to work. If showfor is rewritten, then the above also has to be taken into account.
Whiteboard: tiki_triage showfor → sumo_only showfor
You need to log in before you can comment on or make changes to this bug.