Skip to content

Optional Web Portal Code

spiritlake edited this page Mar 7, 2022 · 4 revisions

The magic system will work without web portal code, but you'll almost certainly want to add it in order to give your portal full functionality. You can pick and choose which of these you install without breaking anything.

  1. Web Portal Code: Profile Spell Lists & Spell Cards
  2. Web Portal Code: Cast Spells in Scenes

Additional Portal Pages

The plugin comes with several built-in pages to provide easy school and spell information. To use these, you'll need to add their routes to the custom routes page: Web Portal Code: Custom Routes

You'll also want to add them to your navigation menus in website.yml.

  • /spells - A list of all spells configured in the game, sorted by level.
  • /schools/<school> - A school page, which lists all spells assigned to that school. There will be a page for each school.
  • /search-spells - Spell search. You may instead want to add this to app\templates\components\search-bar.hbs (<LinkTo @route="search-spells">Search Spells</LinkTo> |)
Clone this wiki locally