Forums

Printing the Confirmation Page

sigats 17 Aug, 2010
I have searched the forums for similar topics but couldn't find anything of use.

What I want to do is add a Print Button to the Confirmation Page I created using the plugin.

A simple Javascript Print Link doesn't give me the desired result, since it only prints page one and my confirmation page is several pages long.

I think I might have a solution involving a javascript function.

The only problem is: I couldn't figure out how to access the <HEAD> in the confirmation page.

My questions:

Do you know where to start, if I wanted to add some functions to my confirmation page?

Is there another solution to my simple problem, adding a print button to my confirmation page?

I use Version 3.1 RC5.5

Thank you for your ideas.

Simon
GreyHead 17 Aug, 2010
Hi Simon,

I've no idea how to do this but there have been a couple of similar thrreads that might give you clues.

You can access the head by using the Joomla $doc methods like
$doc =& JFactory::getDocument();
$doc->addScript('. . .');


Bob
This topic is locked and no more replies can be posted.