Disable a module position in the checkout

  • Posts: 36
  • Thank you received: 0
13 years 11 months 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: 13 years 11 months ago by Redeemer.

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

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
13 years 11 months 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
13 years 11 months 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: 13 years 11 months ago by Redeemer.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum