Custom dashboard page not showing up in dashboard

Permalink
> Edit: I just realized I can add this as a comment to the manual page itself! It may be more productive for future readers to continue the conversation there....

I followed the instructions in the manual for creating a custom dashboard page in a 5.7 install:https://documentation.concrete5.org/developers/working-with-pages/si...

I created a file

/single_pages/dashboard/importimage.php

it contains a class extending `DashboardPageController` as outlined on the page above.

However, nothing is showing up in my dashboard.

I've confirmed the file is in the correct location, and for good measure emptied the cache.

Is there something I'm missing? How do I debug this?

pekka
 
hutman replied on at Permalink Best Answer Reply
hutman
Did you go to Dashboard -> Pages & Themes -> Single Pages and install the page?
pekka replied on at Permalink Reply
pekka
I did not! That was how it used to work, but I figured that was in the past in 5.7 because the manual page says

> Dashboard pages are just single pages located inside the "single_pages/dashboard" directory. Once they're added within that location, they automatically show up in the Dashboard.

...which is slightly misleading if you end up on that page through Google without having read the other pages. I'll add a comment there requesting that the wording be clarified a bit.

Thanks!