Disable a module position in the checkout

  • Posts: 36
  • Thank you received: 0
14 years 1 week ago #1518

Hi,

I have a group of modules that reside on the 'left' position of my website, and to reduce unnecessary clutter, I would like to hide these modules when I am viewing the checkout. This part is important: I need the modules to appear everywhere BUT the checkout.

If someone could help me accomplish this, I would be very happy. :)

Thanks for your time,
-Redeemer

Last edit: 14 years 1 week ago by Redeemer.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
14 years 1 week ago #1521

Hi,

That's easy to do:

if(@$_REQUEST=='com_hikashop' && @$_REQUEST=='checkout'){
//in checkout
}else{
//somewhere else
}

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 0
14 years 1 week ago #1522

Hehehe. Guess I was too late correcting my first post.

I tried this solution, but it seems that simply removing the tags from execution will leave a large empty space where they once were. This doesn't look too good, unfortunately.

Can you think of any way I can avoid this?
-Redeemer

EDIT: Ah. I am so new at this I make myself look stupid with questions like these.

It looks like it's just a matter of configuring the code so that the maincolumn_full tags are used when the checkout is being viewed.

Thanks for your time and helpfulness. Sorry for being confusing.

Last edit: 14 years 1 week ago by Redeemer.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum