Is it possible to add output formats to a component? For example, if I wanted to have a pdf output from com_content article, how would this be done?
The article view only has a single format listed (in
view.html.php, and I have not found a standard way of adding output formats. I know I can probably make a separate tmpl file in my template, and add the necessary headers and code there, but that does not really look like the "correct" way to do it.
Also, if there is a good way to override view.html.php, I'd be happy to know how.