Print document

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
hamed
Posts: 17
Joined: Wed 22. Sep 2004, 16:11

Print document

Post by hamed »

Hello every one
when i am trying to print something i have all the headers and all the other stuff in the page(basicly whole website again) where should i edit in order to change the style of print page
hamed
Posts: 17
Joined: Wed 22. Sep 2004, 16:11

Print layout

Post by hamed »

Can any one tell me how can i fix this please please please
where should i go or which file do i have to change in order to change the print layout because when i want to print i am getting this
Image
Igor
Posts: 97
Joined: Fri 30. Apr 2004, 16:30
Location: The Netherlands
Contact:

Post by Igor »

Actually, all the content in the MAIN-block of the template is printed. As far as I know, that cannot be changed easily. Only the CSS-definitions are different. So divide your page layout into more contant blocks. See http://www.phpwcms.de/index.php?id=14,0,0,1,0,0 for more details.
Igor
hamed
Posts: 17
Joined: Wed 22. Sep 2004, 16:11

Print layout

Post by hamed »

Do you know what file do i have to edit to change the print layout?
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Post by pepe »

Hi hamed,

you must change your template.

Don't put all your code into the main-section. Separate the code into different parts.

Put the code for the header into the header-section.
Put the code for the main into the main-section ( That's where the {CONTENT} is ).
And so on.
hamed
Posts: 17
Joined: Wed 22. Sep 2004, 16:11

Print layout

Post by hamed »

thanks for the help
i fixed it
the problem was me and i also i ended up tweaking two files but its ok now
yuluma
Posts: 53
Joined: Wed 29. Sep 2004, 04:00
Location: Alkmaar - Netherlands - Europe
Contact:

Still wondering

Post by yuluma »

I would like to have the logo of the site printen need in the left corner of the printpage. Does enyone know where the page is that renders the print layout. already configured the prin_css.

thanx already
Yuluma Nunbanna - workaholic ad dies vitae
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Post Reply