TruePush integration with Joomla Web Service

Follow step 1 only if you are running an HTTPS website otherwise start from step 2.

Step 1:

The integration of TruePush with your website requires you to place TruePush script in the body section and sw.js in the root folder of the website, both are present on the app.The instruction to upload the sw.js file usually depends on your hosting provider.

  • FTP or SFTP into your server and navigate to where your site is installed.
  • Download the sw.js file from Code Integration page.

  • Paste/Upload the file directly into the httpdocs file of your CCP(Cloud Control Panel) in Joomla.

How to ensure if my sw.js file is installed correctly?

You can check if you have installed sw.js file correctly by going to your URL page and adding sw.js as the end like yourwebsite.com/sw.js.

Step 2:

SDK Code under Code Integration, follow the steps given below:

  • Login into the CC panel of your Joomla website with the credentials username and password. This will redirect you to the admin page of your website.

  • From the center menu, select “Manage”

  • Now Select “Server” from the center console then select “File Manager”
  • Then go to “httpdocs” then click on “index.html”
  • Paste the script that you get from the Code Integration page just before the closure of body tag as shown in the image.

 

TruePush is now integrated on your website.

Also, Read

RSS to Push

Push notifications: What are they and why use them?

Follow our Social Media pages.
Facebook
LinkedIn
Twitter

Website: www.truepush.com
Email: help@truepush.com