Welcome, Guest
Username Password: Remember me
Discussion about "Restaurant" Joomla template

TOPIC: iPhone

iPhone 1 year, 5 months ago #2078

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.
photo.PNG

Re: iPhone 1 year, 5 months ago #2079

  • milos
  • OFFLINE
  • Support Staff
  • Posts: 2812
Yes, this is possible. Please edit file /templates/hot_restaurant/index.php. Please find <body> tag and delete 10 lines after it, from
<?php if ($current_browser == true) { ?>

to
<?php }else{ ?>


Also, delete line
<?php } ?> 

which is located before closing </body> tag.

Re: iPhone 1 year, 5 months ago #2083

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.

Re: iPhone 1 year, 5 months ago #2084

  • milos
  • OFFLINE
  • Support Staff
  • Posts: 2812
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.

Re: iPhone 1 year, 5 months ago #2085

Hey Milos thanks for the quick response but that too also wiped the site out to all white...

? Any other suggestions?

Re: iPhone 1 year, 5 months ago #2086

  • milos
  • OFFLINE
  • Support Staff
  • Posts: 2812
Please open a ticket here www.hotjoomlatemplates.com/tickets and we will send edited template file.
Time to create page: 0.08 seconds