Table Icon difference

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Table Icon difference

Post by dlee » 2023-02-18 19:20

Attached is a screen capture of some table links within my Appgini v5.97 app. Why are the icons for the Duck-Season-2023 and 2024 different from the Duck-Season-2021 and 2022 icons? What does this mean?

TD
Attachments
folder_icons.png
folder_icons.png (4.49 KiB) Viewed 815 times

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

Re: Table Icon difference

Post by jsetzer » 2023-02-18 19:30

screen capture of some table links
If these are table links (and not custom navlinks), can you please check the tableIcon setting for all those tables.

appgini-table-properties-pane.png
appgini-table-properties-pane.png (82.13 KiB) Viewed 813 times
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

dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Re: Table Icon difference

Post by dlee » 2023-02-18 23:44

All of these tables have the same table icon showing in Appgini . I originally imported an existing database into my Appgini project. The tables that have the different icon are tables that I added after the import so maybe that has something to do with it.
TD

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

Re: Table Icon difference

Post by jsetzer » 2023-02-19 14:03

All of these tables have the same table icon showing in Appgini
If all these table have the same icon in AppGini project settings, did you generate all (!) files (without skipping some)?

You can check currently set tableIcon in TABLENAME_view.php.

Search for...

Code: Select all

$x->TableIcon =
The found line should look like this:

Code: Select all

$x->TableIcon = 'resources/table_icons/folder_page.png';
(with your speficic image filename)


Compare the settings of the correct tables with the settings of the wrong tables. If there are different tableIcons defined in those *_view.php files, you should re-generate all file/s and check again (as long as nothing speaks against re-generation).

Hope this helps.
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

dlee
Veteran Member
Posts: 137
Joined: 2020-04-14 00:21
Location: South Carolina, USA
Contact:

Re: Table Icon difference

Post by dlee » 2023-02-21 02:57

Thanks Jan for helping me figure this out. Below is the $x->TableIcon results for the normal icon and the different icon:

Code: Select all

// normal icon
$x->TableIcon = 'resources/table_icons/table.png';

// different icon
$x->TableIcon = 'table.gif';
I tried just changing the different path to the normal path in the view file but it didn't change anything. Please note that the area where i see the differences is in the navbar; see attached pic.
Attachments
screen capture.png
screen capture.png (11.61 KiB) Viewed 737 times

Post Reply