Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
bobbym77
New Member
New Member


Joined: Dec 14, 2005
Posts: 2

PostPosted: Wed Dec 14, 2005 10:11 pm Reply with quote

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
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Thu Dec 15, 2005 5:33 am Reply with quote

Not like this ?

<form>
<input type="button" value="Print this page" onclick="window.print()"/>
</form>
 
View user's profile Send private message
bobbym77
PostPosted: Fri Dec 16, 2005 12:25 pm Reply with quote

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
PostPosted: Fri Dec 16, 2005 1:36 pm Reply with quote

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..
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©