Jump to content

Detect which was the previous page


Recommended Posts

Hello everyone, 

how can i detect if i am coming from the home page of my site.

I am trying to make my page ajax driven. The problem is, that the homepage has a different header then all other pages.

So in addition to  $config->ajax  i need to check if the previous page was the home page.

Otherwise i am ending up with the wrong header on all other sites.

Thank you and have a nice weekend.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...