adamfowlerit / msportals.io

MSPortals.io - Microsoft Administrator Sites, Training, and Licensing Resources
https://msportals.io/
251 stars 100 forks source link

[BUG] Training Links page isn't showing any of the items defined in the JSON #256

Closed adamfowlerit closed 9 months ago

adamfowlerit commented 10 months ago

I'm trying to create a new page for Training - Exams/Certifications. I've managed to make the button and get the header of the training section, but can't get the training.json content to show up.

Can anyone help?

image

PsychoData commented 9 months ago

Previously the Default Layout would only include QuickFilter if the title included "Portals", so it would show on "User Portals" or "Government Portals" but not on the About page, for instance. https://github.com/adamfowlerit/msportals.io/blob/0f1b027bcd57e1643beea1c15a2c88e2014981dc/_layouts/default.html#L52-L54

QuickFilter doesn't JUST handle the searching, but also handles "Un-hiding" (showing), all of the entries (usually Portals) for the page

Added QuickFilter to "Training Links" page, and now it works https://github.com/adamfowlerit/msportals.io/blob/dbc6a8f702c498a575ab5d92a8f1c09c75646ff8/_layouts/default.html#L52-L57