Table order on home page

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
bwalker
Posts: 13
Joined: 2021-05-24 22:30

Table order on home page

Post by bwalker » 2021-06-11 15:56

Sorry, I'm sure this question has already been asked but the search feature is not working (page errors).
I am very new to appgini.
I am trying to change the table order on the homepage but seems they come out in creation order by default.
I can see a reference to a 'hooks/home-custom.php' file in the 'home.php' file but have no idea how to use it.
Any direction would be appreciated.
Thanks,
Bill Walker

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Table order on home page

Post by pbottcher » 2021-06-11 17:54

Hi, welcome,

I think the order used on the homepage is the order that you have in your app definition. So if you move the tables in the definition the will be in that order then.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

bwalker
Posts: 13
Joined: 2021-05-24 22:30

Re: Table order on home page

Post by bwalker » 2021-06-11 18:07

Ah, I didn't know you could adjust table positions. I have and that solves my problem.
Thank you for your reply!
Bill

Post Reply