|
JHTMLIcon is a helper class for com_content.
You can't use the same code as in the article template for jobgrok since it requires the article object as a parameter and you haven't got one for jobgrok. The code for this helper class for generating the pdf, email, and print_popup links is heavily dependent on several properties within the article object.
One way would be to write your custom helper class for it. Then write the views for the various content. I've to warn you first though, the default output from the PDF of each posting is really ugly if you're relying on Joomla's default PDF generation engine. |