REQUEST Customize Smarters Notification Styling

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
526
Awards
4
Offline
Hey everyone, I'm just wondering if it's possible to control styling options for the notification in Smarters v4
Using FTG v4 panel

I'm aware I can control the styling of these notifications in the app itself, but that is a broad stroke approach, and lacks control, and customization
Out of the box, the app/panel cannot even display apostrophes, etc.

See the attached photo.
smarters notification sytling.jpg

The upper portion is by default, how the notifications appear, see how it loses the apostrophe, lol
The lower portion is the DESIRED results where we can control styling from the panel.

Is it even possible ?
Can it be implemented using one markup language or another ?
I don't mind if I have to plop in some hard to read markup in the panel, for it to display (with customization and control) in the app...

Hopefully someone can understand what I'm trying to achieve here, and point me in the right direction.
I'm not asking for anyone to spoon feed me, just asking how one would achieve the desired results... I don't mind putting in the work, lol
 

Dunny

New member
Joined
Jul 13, 2021
Messages
23
Awards
1
Offline
Have tried, you can partially change the layout but that's about it.

Smarters does support emojis, I usually spice my notifications up with some emojis.
 

1coolappdad

Well-known member
Joined
May 27, 2021
Messages
163
Awards
3
Offline
Hey everyone, I'm just wondering if it's possible to control styling options for the notification in Smarters v4
Using FTG v4 panel

I'm aware I can control the styling of these notifications in the app itself, but that is a broad stroke approach, and lacks control, and customization
Out of the box, the app/panel cannot even display apostrophes, etc.

See the attached photo.
View attachment 10457

The upper portion is by default, how the notifications appear, see how it loses the apostrophe, lol
The lower portion is the DESIRED results where we can control styling from the panel.

Is it even possible ?
Can it be implemented using one markup language or another ?
I don't mind if I have to plop in some hard to read markup in the panel, for it to display (with customization and control) in the app...

Hopefully someone can understand what I'm trying to achieve here, and point me in the right direction.
I'm not asking for anyone to spoon feed me, just asking how one would achieve the desired results... I don't mind putting in the work, lol
Have you tried to attach a webview to the notifications? Can use webview and point it to whateverName.php inside of api folder. That php can read information stored in a created db inside of the api folder, which would get information from a created panel page. However, to answer your question, yes it is possible to do
 

blackestflag

Well-known member
Joined
Oct 19, 2022
Messages
526
Awards
4
Offline
Have you tried to attach a webview to the notifications? Can use webview and point it to whateverName.php inside of api folder. That php can read information stored in a created db inside of the api folder, which would get information from a created panel page. However, to answer your question, yes it is possible to do
No, I haven't tried attaching a webview to it, and wouldn't know the first thing about it.
Thank you so much though, for giving me a starting point, although it seems quite involved.
I'm assuming it's tedious and difficult, hence why nobody has implemented a webview for smarters notifications.

I may take a stab at this; although I will have to dissect and study how the notification panel page, db and php is structured, and go from there, lol
 

1coolappdad

Well-known member
Joined
May 27, 2021
Messages
163
Awards
3
Offline
No, I haven't tried attaching a webview to it, and wouldn't know the first thing about it.
Thank you so much though, for giving me a starting point, although it seems quite involved.
I'm assuming it's tedious and difficult, hence why nobody has implemented a webview for smarters notifications.

I may take a stab at this; although I will have to dissect and study how the notification panel page, db and php is structured, and go from there, lol
Not really hard, just time consuming. Within your panel you will need 2 php pages and 1 db file:

1st php - page you are going to write your note on.

2nd php - page that will display the webview for the note, this will be located inside of your api folder

1 db file - can either point 1st php page to current .db.db that smarters already uses or can make a new one for 1st php to write to. 2nd php page will read and display the text in webview.

Hope this helps
 
Top