Download & Extend

Creating a view that lists pages created by views and custom pages

Project:Views
Version:7.x-3.5
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I am looking to create a HTML site map as the site will have a large number of pages. I don't want to have to do this manually as we add pages to the site, so naturally I turned to views. Of course I can add node-based content pages, however we use views and pages to create many of the pages on our site. For example, we have a templates section that has a main page created in pages that contains a view content pane. This pages is defined in pages as site.com/templates.

So I am looking for a way to create a really down and dirty site map that will show these custom pages. Is that a way in views to create a view that will list any pages created by views and/or custom pages. Since these aren't related to a node I am not sure if it can be done.

Comments

#1

Assigned to:reatcory» Anonymous

Unassigned myself.

#2

Category:task» support request

You already spotted the route of the problem as you can't really define what a view/custom page is,
so views has the same problem. You can't list stuff, which is not really stored somewhere like a view. A view itself might be part of the database or is stored in exported php code, so the easiest way to do it, would be to somehow store all this information somewhere, probably as a new entity type. Once you have done this, listing them via views is basically free, as you get all these features from entity api.

#3

Well not the answer I was hoping for, but what I mostly expected. But thank you for the confirmation. I figured that since the view URL wasn't being attached to a node or held in the SQL db that it wouldn't be available for listing in views.

If anyone else has any suggestions I would appreciate it. If not we cool! Happy New Year!

nobody click here