Change site icon

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
User avatar
csultan
Posts: 9
Joined: 2020-02-09 19:40

Change site icon

Post by csultan » 2022-02-03 05:22

Hi guys,
For a newbie, which file should I modify to insert the code below for changing the website title image? I got the code helper plugin and try to experiment (the library is included in header-extras).
Thank you!


var url="URL to myimage.png";

new AppGiniCommon()
.setTitle("<b>CLINIC</b>Management")
.setImage(url);
Attachments
Screenshot 2022-02-03 071855.png
Screenshot 2022-02-03 071855.png (52.28 KiB) Viewed 1196 times

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1807
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Change site icon

Post by jsetzer » 2022-02-03 06:08

Thas information was missing in the docs, thanks for pointing that out.

Code: Select all

file: hooks/header-extras.php
I have added a code sample today:
https://appgini.bizzworxx.de/products/j ... set-image/

chrome_ez1GsrRPUP.png
chrome_ez1GsrRPUP.png (10.53 KiB) Viewed 1188 times

Code: Select all

<!-- file: /hooks/header-extras.php -->
<script>
var url="https://www.bizzworxx.de/agh32.png";
new AppGiniCommon()
  .setTitle("<b>CLINIC</b>Management")
  .setImage(url);
</script>
---
PS: I have asked Ahmed to move this post into the AppGini Helper sub-forum
viewforum.php?f=13
Kind regards,
<js />

My AppGini Blog:
https://appgini.bizzworxx.de/blog

You can help us helping you:
Please always put code fragments inside [code]...[/code] blocks for better readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
csultan
Posts: 9
Joined: 2020-02-09 19:40

Re: Change site icon

Post by csultan » 2022-02-03 06:23

Great! It worked, thank you!

Post Reply