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

reatcory’s picture

Assigned: reatcory » Unassigned

Unassigned myself.

dawehner’s picture

Category: task » support

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.

reatcory’s picture

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!

loopy1492’s picture

The best I've been able to do is embed my views onto an actual node using the Insert View module, then you can assign taxonomy to it and stuff.

synergist’s picture

Hi reatcory,
The way i see it there must be some routine that looks to see if there is a page available when I am in views and add a path under page settings. If that path does not exist I get an error message when loading. Since every page has to have a path in order to function there must be a table somewhere with the associations.

mustanggb’s picture

Issue summary: View changes
Status: Active » Closed (outdated)