As technology is changing, and a great percentage of the total Internet users browse the web through their mobile devices, it’s become essential for a web developer, to add support for these devices. This can be achieved in various ways, but today, I’ll show you how to do it with PHP.
Difficulty level: Easy
1. Open up the header.php file of your website or the index.php file; if you just want to test it, simply create a new PHP file.
2. At the top, add the following: Learn More
Tags: accesed, Blackberry, browsed, detect, device, how to, HTTP_USER_AGENT, iPad, iphone, iPod, juapo2services, mobile, richi, user agent, website
Posted under Domain Names, Internet, Mobile
MojoPortal makes content management much less complicated, and gives you a great deal of power over the content of your website. With that being said, the one thing it can’t do is fold time, or otherwise let you format and enter content instantaneously. However, it does give you the next best option – the ability to hide pages while you’re adding and arranging your content, until you’re ready to unveil your masterpiece to the world – here’s how.
The first, and most direct method, is to hide the page from unauthorized users. In order to do so:
1) Log into your mojoPortal instance as an administrator Learn More