| Author |
Message |
bobbym77 New Member


Joined: Dec 14, 2005 Posts: 2
|
Posted:
Wed Dec 14, 2005 10:11 pm |
|
I was wondering if anyone knows of a script or knows how to add a print button to the top of each news post or the top of each content item.
Specifically I post a news item in the home page. I want users to be able to click on a icon in the upper corner of the post to print it. like joomla does.
This isnt the same as the "printer friendly" request.
(but the printer friendly hack does work nicely with those simple to follow edits)
Thanks
Bobby |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Thu Dec 15, 2005 5:33 am |
|
Not like this ?
<form>
<input type="button" value="Print this page" onclick="window.print()"/>
</form> |
|
|
|
 |
bobbym77 New Member


Joined: Dec 14, 2005 Posts: 2
|
Posted:
Fri Dec 16, 2005 12:25 pm |
|
Wow ... seems so simple...
which file/files would I need to put that in?
and where in the file?
I am assuming Nukepath/html/modules/content/index.php for the file, not sure where .. could you give me a "find this" and "insert before" post?
TIA |
|
|
|
 |
hitwalker Sells PC To Pay For Divorce

Joined: Posts: 5661
|
Posted:
Fri Dec 16, 2005 1:36 pm |
|
well its not all that simple as i said...lol,im just giving a way to use the function..
Maybe a weird question but why dont you install the latsts nsn news?
It comes with the print function and even more.. |
|
|
|
 |
|
|
|
|