dieses Modul ist zwar schon ein paar Tage alt, aber es ist im Grunde genommen genau das, was ich benötige. Solang ich nur ein Textfeld für den Ausdruck angebe, funktioniert auch alles einwandfrei.http://www.contenido.org/forum/viewtopi ... ht=drucken
Nun habe ich auf einigen Seiten zusätzliche Textmodule CMS_HTML[X] eingebunden und möchte diese dem Druckmodul, sowie der dazugehörigen print.php hinzufügen.
Ausgabe Print-Modul:
Code: Alles auswählen
<?php
echo"
<table align='left' width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr><form name='drucken' method='POST' target='_blank' action='print.php'>
<td align='center' valign='bottom' height='21'>
<input name='print_htmlhead' type='hidden' id='print_htmlhead' value='CMS_HTMLHEAD[1]'>
<input name='print_htmlsubhead' type='hidden' id='print_htmlsubhead' value='CMS_HTMLHEAD[5]'>
<input name='print_html' type='hidden' id='print_html' value='CMS_HTML[1]'>
<input type='image' value='drucken'src='images/druckansicht.gif' alt='druck' align='bottom' border='0'>
</td></FORM>
</tr>
</table>";
?>
Code: Alles auswählen
<?php
$druck_headline= str_replace('\\','',$HTTP_POST_VARS[print_htmlhead]);
$druck_subheadline= str_replace('\\','',$HTTP_POST_VARS[print_htmlsubhead]);
$druck_html= str_replace('\\','',$HTTP_POST_VARS[print_html]);
$druck_img=str_replace('\\','',$HTTP_POST_VARS[print_img]);
echo "<b><font class=headline>".$druck_headline."</font></b><br><br>";
?>
Es wäre schön, wenn ich diese Version nutzen könnte...
LG
Martina