1

Usually users can go to front/home page from anywhere by clicking on the logo. But if I see some e-commerce site, they restrict it when we go for any steps of checkout. I also want to do the same. If somebody clicks on checkout & URL form something like $base_url/checkout*, I want to remove home/front page navigation link from logo. How can it be done ?

2 Answers 2

2

A good method of doing this is with the context module and context layouts.

Context module: https://drupal.org/project/context

You can specify two layouts, one for main and one for checkout.

Heres a vid about it. http://www.youtube.com/watch?v=rzBpjZ_ZRfo

1
  • Two layout enable by creating different TPL for the purpose of mine need help of delta module. But it doesn't work without Omega....
    – RajeevK
    Commented Jun 15, 2013 at 7:03
1

I have created three page.tpl.php with name - page--checkout.tpl.php, page--checkout--review.tpl.php, page--checkout--shipping.tpl.php.

These were being called on the every steps of checkout process in my instance.

After that everything was easy. I had control over each elements of page. I removed unwanted region as well as navigation to HOME from site logo.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.