Keyword

Print Link from k2 Content Module

  • Mike Dove
  • Mike Dove's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #82283 by Mike Dove
Print Link from k2 Content Module was created by Mike Dove
Hey there.. does anybody know how I can add the print item function to items shown in a k2 Content Module?im displaying a list of some article titles (selected form a catagory) in a K2 Custom Content Module and I want the title link to pull up a modal window with the article as it would apear in the normal articles printlink style (i.e. without the page template etc etc)so far I have tried editing the content module template default.php to the attached .rtf filebut.. this is bringing up the iframe that displays the wrong article. The article it shows is actually part of the main contents of the current page (which is a catagory listing and a different catagory entirely from the list in the Custom Module)I tried getting rid of the $this-> in excahnge for just $item-> but that brings up a blank window.Also changing ->printLink to ->link works with the correct article but brings up all my template into the iframe.. all i want is the contents of the article NOT the webpage :(please help!
Attachments:

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum