Share » Forums » Setup & design » Trouble with print_pagelayout.tpl

Trouble with print_pagelayout.tpl

Trouble with print_pagelayout.tpl

Friday 16 June 2006 5:25:31 am - 2 replies

Author Message

Pascal France

Friday 16 June 2006 5:34:07 am

Sorry,

I forgot to tell I changed the content of page_mainareaaaa.tpl
By default, page_mainarea.tpl contains:

{$module_result.content}

but this displays some things I don't want to print. Therefore I changed my page_mainareaaaa.tpl with:

<div class="content-view-full">
    <div class="class-article">

{section}
{def $user_current=fetch( 'user', 'current_user' )
     $url_site=""
}

{/section}

        {section show=$node.object.data_map.description.content.is_empty|not}
            <div class="cadre_sup">
            </div>
            <div class="cadre">
            <div class="attribute-long">
                {attribute_view_gui attribute=$node.object.data_map.description}
            </div>
            </div>
            <div class="cadre_inf">
            </div>
        {/section}
    </div>
</div>

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Friday 16 June 2006 6:25:17 am

Hi,

To be more clear about my problem, if I use the default page_mainarea.tpl and when I display my document I can see:

http://www.linuxorable.net/temp/image/impression_1.png

and once I click on the print icon, I can see the print page:

http://www.linuxorable.net/temp/image/impression_2.png

In the source code of the print page I can see that the content showed by impression_2.png is the view of the article/full.tpl

But how can I remove this:

http://www.linuxorable.net/temp/image/impression_3.png

from the print page ? (It's for that I changed the content of my page_mainareaaaa.tpl)

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu