Switch Off Language Filter in Conceptual Content

Sep 23, 2011 at 2:34 PM

The conceptual content in the help file appears to always include the language filter at the top of the page regardless of the type of the content. Is there a way to turn this off for non-code based topics?

Thanks! 

Sep 24, 2011 at 1:44 AM

Do you want to do it per topic or for the whole conceptual side of your documentations?

Best regards,
Paul. 

Sep 26, 2011 at 9:22 AM

Per topic. I find there's a definite split between topics which are pure text-based with no programming content and topics which are example/code-based.

Regards,

Derek.

 

 

Sep 26, 2011 at 9:44 AM

Hello Derek,

There are two possible approach to this.

You can achieve that by modifying the presentation style to search each topic for presence or absence of code and adjust the filter.

Another way is to write a custom component, which will run after the main transformation. It can search for
absence of code/example and remove the filter. This is recommended so that the presentation style is untouched.

The tricky part may be handling languages like XML, which do not support the syntax filter. 

If you have any further question on any of these, let me know.

Best regards,
Paul. 

 

Sep 26, 2011 at 11:01 AM

Thanks Paul, I'll give that a try.