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.

Heart Internet root path?

Featured Replies

Hi,

 

I am trying to find the root path for Heart Internet.

 

At the moment when I login to the FTP it starts with the public_html folder.

 

I have tried:

 

/home/domainname/public_html/foldername/includes/header.php

 

/domainname/public_html/foldername/includes/header.php

 

/domainname.com/public_html/foldername/includes/header.php

 

/home/domainname.com/public_html/foldername/includes/header.php

 

But none of them seem to work. Any ideas?

  • Author

I'm obviously very much a novice when it comes to web development, but trying to learn.

 

I'm trying to follow this guys instructions to create templates for the header and footer:

Morning,

 

I just checked two clients on Heart and both use /home/sites/theirdomain.com/public_html

 

Hope that helps.

 

Edit: Example Includes

<?php $root_path = "/home/sites/theirdomain.com/public_html";
include($root_path . "/foldername/footer.php"); ?>

Edited by BrowserBugs

  • 2 weeks later...
  • Author

Thanks for the tip BrowserBugs.

 

I actually ended up using this code instead:

 

<?php include('includes/header.php'); ?>

 

which seems a lot simpler. It seems to work fine in a desktop browser. However when I try it on my mobile those links are non responsive. Any ideas why this might be the case.

 

Link included below:

 

http://www.professionalwebdesigndirectory.com/urbanjump/index.php

  • Author

OMG, I've figured it out and it was something so simple and obvious. Surprising how you can see things with a good night sleep. Sorry for wasting your time BrowserBugs

Create an account or sign in to comment

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.