Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Almeister9

Members
  • Joined

  • Last visited

  1.    JordanC reacted to a post in a topic: TUTORIAL: php include menu
  2. This is a great method, and I use it often on many sites that I have designed. It does tend to fall down though when you use parameters on php pages e.g. beer.php?country=au If you have a navigation menu where you wish to have a class of 'current' on all the beer.php pages, then: <?php if (basename($_SERVER["REQUEST_URI"]) == "beer.php") echo " class='current' ";?> will not work, as you are on a page called beer.php?country=au or a page called beer.php?country=jp etc. however, if, for pages with parameterised file names like above, you use this code: <?php if (basename($_SERVER['SCRIPT_NAME']) == "beer.php") echo " class='current' ";?> This will give you a class of 'current' for all pages called beer.php irrespective of the parameters following it. I hope this helps someone out there, and again thanks for the great method. Cheers, Al.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.