Pages using the mozgn.css stylesheet or the mozad.css stylesheet should not have the category in the breadcrumbs. Good: Firefox Support / Ask a question Bad: Firefox Support / Administration / Ask a question
I know that good old Brian struggled a bit with the breadcrumbs. Brian, do you have any insights to share here?
Created attachment 348854 [details] SQL query SQL query fix. Removes the "Administration" category assigned to the "Ask a question" page.
Are there other examples of this aside from "Ask a question"?
Another example: http://support.mozilla.com/en-US/kb/SFD4
Comment on attachment 348854 [details] SQL query I think this has a lot more side effects than you'd like.
Paul, maybe get Nelson to look at this query?
Nelson: could you take a look at the attached query? We could add a "LIMIT 1" just in case. I tested it locally and it worked.
Comment on attachment 348854 [details] SQL query I think a sql query is the wrong approach because it is not about just the "Ask a question" page (which should be decategorizable via the admin panel without a query btw), but about all pages using mozad.css and mozgn.css. Should instead: in the breadcrumb generating code, test for $prefs['style'] == "mozad.css" || $prefs['style'] == "mozgn.css"
r21355 (trunk) and r21356 (prod) Added a $hide_category variable to header.tpl when the tiki.tpl in mozad/ and mozgn/ is used, which should be also when mozgn.css and mozad.css are included.
Verified FIXED on http://support-stage.mozilla.org/en-US/kb/SFD4 and http://support-stage.mozilla.org/en-US/kb/Ask+a+question.