iPhone

  • mdrothert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 4 months ago - 4 years 3 months ago #2078 by mdrothert
iPhone was created by mdrothert
Is there a way to change the code so it shows up normally on the iPhone - right now it only shows part of the template.
Attachments:
Last edit: 4 years 3 months ago by milos.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2079 by milos
Replied by milos on topic Re: iPhone
Yes, this is possible. Please edit file /templates/hot_restaurant/index.php. Please find <body> tag and delete 10 lines after it, from
Code:
<?php if ($current_browser == true) { ?>
to
Code:
<?php }else{ ?>

Also, delete line
Code:
<?php } ?>
which is located before closing </body> tag.

Please Log in to join the conversation.

  • mdrothert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 4 months ago #2083 by mdrothert
Replied by mdrothert on topic Re: iPhone
Thanks for the quick response - so I went into:

/templates/hot_restaurant and pulled the index.php file.

I then found the <body> tag and removed the lines you mentioned.

When I did this the entire site went blank. Not only through my main browser but also on the iPhone.

When I added back:

<?php if ($current_browser == true) (?>

and left the first line:

<?php }else{ > ?>

as well as the one before the closing </body> tag

<?php }else{ > ?>

My main site came back up fine but now it is blank on the iPhone altogether?

What am I doing wrong.

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2084 by milos
Replied by milos on topic Re: iPhone
Sorry, my bad. You should not delete <?php } ?> above the closing tag. Instead, please delete <?php } ?> which is located the in line 356 of the index.php file.

Please Log in to join the conversation.

  • mdrothert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
14 years 4 months ago #2085 by mdrothert
Replied by mdrothert on topic Re: iPhone
Hey Milos thanks for the quick response but that too also wiped the site out to all white...

? Any other suggestions?

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
14 years 4 months ago #2086 by milos
Replied by milos on topic Re: iPhone
Please open a ticket here www.hotjoomlatemplates.com/tickets and we will send edited template file.

Please Log in to join the conversation.

Time to create page: 0.234 seconds
Powered by Kunena Forum