Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Restaurant" Joomla template

Topic-icon iPhone

More
6 years 10 months ago #2078 by mdrothert
mdrothert created the topic: iPhone
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:

Please Log in to join the conversation.

More
6 years 10 months ago #2079 by milos
milos replied the 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
<?php if ($current_browser == true) { ?>
to
<?php }else{ ?>

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

Please Log in to join the conversation.

More
6 years 10 months ago #2083 by mdrothert
mdrothert replied the 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.

More
6 years 10 months ago #2084 by milos
milos replied the 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.

More
6 years 10 months ago #2085 by mdrothert
mdrothert replied the 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.

More
6 years 10 months ago #2086 by milos
milos replied the 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.137 seconds

Links, Partners and Social Media