Difference between revisions of "Extensions:Separate Prompts"
Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 15: | Line 15: | ||
==Configuration==<!-- Is any configuration necessary? Describe it here! --> | ==Configuration==<!-- Is any configuration necessary? Describe it here! --> | ||
− | + | Change the existing link to prompts in the navigation bar to point to /prompts rather than /world. This is not done by the extension itself as individual site's navbars may be wildly disparate. | |
==Usage==<!-- Is there anything users should know about using your extension? --> | ==Usage==<!-- Is there anything users should know about using your extension? --> |
Revision as of 09:49, 27 June 2020
Description | Puts prompts in a separate section of the site. |
---|---|
Author(s) | Mercury |
Status | Theoretically Stable |
Github | sep-prompts |
LK Version | Unspecified |
This moves prompts out of the "world" section of the site and into their own section. The reasons for doing this were twofold:
- Their original location, while serviceable, is somewhat awkward, especially if you're doing a lot with the prompts system
- With prompts moved into their own section of the site, this allows space to build out a sidebar that better details the range of activities they cover.
- For instance, sidebar links may each point to a list of prompts contained in a certain category-- for example, one for utilities, one for events, ones for different kinds of activities-- the list goes on.
You could also certainly do something interesting with the index page as well... It's left largely a blank slate modeled after the world section's index page.
In short, it's mostly useful if you're doing a whole lot with the prompts system and would benefit from more organization around it.
Installation
Nothing needed beyond pulling the branch.
Configuration
Change the existing link to prompts in the navigation bar to point to /prompts rather than /world. This is not done by the extension itself as individual site's navbars may be wildly disparate.
Usage
This creates a new folder, prompts, in resources/views; at minimum, it's recommended to customize the sidebar.
Troubleshooting
While it ought to be mostly stable, I'll not rule out that issues could arise. If they do, I'm available via the Lorekeeper discord!