How to remove print and back option from one page?

marikas

No avatar

2009-02-25 10:47

I want to remove the Back and Print options from my first page. Is this even possible because these options are written into container.tpl and not to pages_default.tpl?
Thanks

» Quick.Cart v3.x

:P

cgan

Avatar: cgan

2009-02-25 14:38

You can try this: copy templates/container.tpl and change the foot in copy_container.tpl the way you want. I mean delete the back and print options.
Then copy templates/themes/default.php
Edit copy_default.php the last row like this:
echo $oTpl->tbHtml( 'container.tpl', 'HEAD' ).$oTpl->tbHtml( 'container.tpl', 'BODY' ).$content.$oTpl->tbHtml( 'copy_container.tpl', 'FOOT' );
Log in to the admin area and choose pages/yourpage and to the right you find View. A bit down in View you find Themes. Change themes to copy_default.php.
I hope it will work.

cgan

beholder

Avatar: beholder

2009-02-25 14:56

of course this is possible, Marikas. Just customize container.tpl.

beholder

Avatar: beholder

2009-02-25 14:57

Oh, I see, the 1st page only. I think Cgan has it about right.

marikas

No avatar

2009-02-25 15:15

Yeeeei it worked! :)

Thanks cgan and beholder!

:P

about us | contact