0
Welcome Guest! Login
0 items Join Now

Need to place code for redirect for mobile devices...

    • Tim Miller's Avatar
    • Tim Miller
    • Elite Rocketeer
    • Posts: 949
    • Thanks: 7
    • Video, Joomla, Grfx

    Need to place code for redirect for mobile devices...

    Posted 14 years 6 days ago
    • Hey Guys,

      I had one of my clients have another company design a mobile site for another subdomain. I'm trying to figure out where to place their php code. They said where the header is...

      Thoughts?

      Thanks!
    • ----
      Tim Miller
      timmiller.net
    • Tim Miller's Avatar
    • Tim Miller
    • Elite Rocketeer
    • Posts: 949
    • Thanks: 7
    • Video, Joomla, Grfx

    Re: Need to place code for redirect for mobile devices...

    Posted 14 years 5 days ago
    • It is basically a redirect for iphone and other mobile devices...
    • ----
      Tim Miller
      timmiller.net
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Need to place code for redirect for mobile devices...

    Posted 14 years 5 days ago
    • What CMS and what template are you using? Joomla, Wordpress? The template you're using will make a difference as to where it goes too...gantry, not gantry.
    • Tim Miller's Avatar
    • Tim Miller
    • Elite Rocketeer
    • Posts: 949
    • Thanks: 7
    • Video, Joomla, Grfx

    Re: Need to place code for redirect for mobile devices...

    Posted 14 years 4 days ago
    • Ben- So sorry.

      Yea I'm using Joomla 1.5 Metamorph V2.

      I tried looking at a number of different files, but honestly not sure where to start. This is also the same place I'd edit/add janalytics code for a new module position...

      Thanks in advance!
    • ----
      Tim Miller
      timmiller.net
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: Need to place code for redirect for mobile devices...

    Posted 14 years 3 days ago
    • Everything you need to enter in can go in to the template's "index.php" file.

      I'm not sure if they need the code to go into the "head" of the file or in the "header" area of the file, but both are plain to see in the code.

      Chances are the redirect will go in the "head" between the html head tags as that's a url redirect and the analytics will go in the "header" part which is what shows on the web page.

Time to create page: 0.056 seconds