Hello! here is another little addon by ScriptsTribe, I been having this for more than 6 month So I have it the old touch all you files way....In addition I updated the Sngine default manifest to include missing images... andat the end as a bonus a little trick if you want to add notification icon to top bar of you phone.... again, this is a if you want to and you will need to edit fuctions.php for this... :)
Open the file first and analize, upload the manifest.php only if you want to update the default PWA to what it used to look like when you used my PWA with the pop up images, I will talk aboutthis at the end of the tracker tutorial.
So lets go to the tutorial.....
Upload the files that you downloaded from the store...
Open content/themes/Your theme/templates/_footer.tpl
open root/admin.php (This will assign the access to admin page)
look for
case 'pwa': // check admin|moderator permission if ($user->_is_moderator) { _error(__('System Message'), __("You don't have the right permission to access this")); }
case 'pwatracker': require_once('modules/pwatracker/pwatracker.php'); break;
Now open content/themes/default/templates/admin.tpl
Look for
{__("Dashboard")}
and after that add
📲 {__("PWA Tracker")}
Now you will see the menu like this
Visit that link and if you uploaded the files correct you will see a (Install Table) Button next to the red Run Unistall Check Button... CLick on in to install the database... (I can't screenshot the button because my table is already installed and I don't want to unistall :D)
Now the Bonus part
If you decided to upload the manifest.tpl that is located inside my zip content/themes/default/templates/manifest.tpl yu will be able to add images that will show up like this.
And also the shortcuts
Upload the folder included in th content/uploads/pwa and open the manifest.tpl, go to the section
"screenshots": [
This shows on Desktop installation banner popup and their size is 2400x1600
bighome.png
bigforum.png
This Shows on Mobile Popup installation banner and their sizes is 1080x1920
home.png
short.png
forum.png
Now go to section I
"shortcuts": [
Change the descriptions and add your own icons and links
mine is showing like this
Extra Bonus....
Do you want your icon to show on mobile notification bar like this?
Well! for this you will need to edit includes/functions.php