|
A user has highlighted an issue with me, that I didn't even think of, with the generation of a pdf view of your article. Unfortunately when you click on the PDF icon within Mambo, it generates the story in a seperate way from the normal article generation method. The result of this means that when a user clicks on the PDF icon, they would see the whole page, including all the tags, plus the text in between them.
Good news however. With some pointers from a core developer, Phil Taylor, I have been able to resolve this by hacking two core mambo files. These hacks basically include the mosviewonly functionality within pdf.php (the pdf generation script), and a small change to index2.php to allow pdf.php to become aware of the viewing users group membership. Before including these changes, make sure you are running Mambo 4.5 (1.0.7), and don't have the MambelFish component installed -- I believe this component makes changes to one of the files I have updated. I have included the hacks within the mosviewonly for 4.5 or mosviewonly for 4.5.1 file, with some instructions, so please update your installation if you have already installed. Enjoy ;-) |