Skip to content

Instantly share code, notes, and snippets.

@bigprof
Last active July 29, 2022 13:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigprof/ebbf5b9681c10100f8c72a0dcdc6986d to your computer and use it in GitHub Desktop.
Save bigprof/ebbf5b9681c10100f8c72a0dcdc6986d to your computer and use it in GitHub Desktop.
Show theme switcher widget at the bottom of your AppGini app, similar to the demo at https://demos.appgini.com/northwind/

Steps to add a theme switcher to your AppGini app

  1. Place the code below in the generated hooks/footer-extras.php file.
  2. Open the folder where AppGini is installed, typically C:\program files\appgini and navigate to the add-ons\themes folder.
  3. Copy all the CSS files in that folder to the resources\initializr\css folder inside your AppGini app.

If you follow the above steps, you should be able to switch your app themes like this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment