Trying to find the view that generated a given page, I was frustrated because only one of a view's paths is listed on admin/build/views. The view in question had several page displays and of course the one I was looking for wasn't the one that got listed.
This patch simply goes through all the view's handlers and gets the path for each one, displaying them separated by commas.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | views-324873.patch | 1.44 KB | dagmar |
| #4 | views-324873-admin-paths.patch | 1.42 KB | dagmar |
| #3 | patch-views-admin-paths.diff | 1.22 KB | dawehner |
| patch-views-admin-paths.diff | 1.59 KB | wiml |
Comments
Comment #1
merlinofchaos commentedNote that on the edit view page, all of them are listed in the quick links at the top. I didn't implement something like this because I was concerned about space.
Comment #2
merlinofchaos commentedI've softened my stance on this one, actually, but this patch no longer applies.
Comment #3
dawehnerHere is a rerole, and fixing of some minor code style issues.
It works well here, with 3 page links.
PS: Why does admin.inc has another line ending then the rest of views?
Comment #4
dagmarSmall fix.
Removed ; after }
Comment #5
merlinofchaos commentedI think this needs to check to see if multiple displays contain the same path.
Comment #6
dagmarI have reduce the duplicated paths, it seems to be working fine.
Comment #7
merlinofchaos commentedCommitted to 3.x for both 6.x and 7.x