Modifying Dashboard Page

Permalink
I just upgraded to version 5.5.2 and now I can't seem to edit or override the dashboard/users/search page. I have tried modifying the file in:

concrete/single_pages/dashboard/users/search.php

and it didn't do anything, I even removed it and the page is still showing up. I also tried adding a page to /single_pages/search.php to override the page and it didn't do anything either.

Any suggestions?

 
Mainio replied on at Permalink Best Answer Reply
Mainio
First of all:
1. If you upgraded through the dashboard, it is probably loading the page from /upgrades/concrete5.5.2/...
2. You should never modify a file in the core, what if you update the next time? You need to figure it out all again!
3. Concrete5 already has an architecture that supports this, you're on the right path but you just need a push in the right direction

So, here's the push:
You were doing the right thing when moving the page to /single_pages. This is exactly how you do all custom overrides in concrete5. That way your updates won't affect your customizations.

You just need to replicate the WHOLE directory path in the root-level folders, so move the file to:
/single_pages/dashboard/users/search.php



Antti / Mainio
ssmereka replied on at Permalink Reply
Thank you, that works and makes more sense. Ya I never intended to overwrite the concrete files, just was trying to get it working and work backwards to the correct implementation. Also awesome, didn't know it used the files in the update directly, that solved some other mysteries as well.