Select root of whole project in Page Chooser

jason.c.hoyt's Avatar

jason.c.hoyt

15 Oct, 2015 12:44 PM

Hello,

We are using a 'Page Chooser' in a specific Data Definition set that usually allows us to select a folder (and then a format scans metadata from child pages/etc.). Is there is a way to select the 'Base Folder' or the root ('/') of the whole project? We are using the Sitemaps protocol XML files (to submit to Google, Bing, etc.) and this works great for sub-folders. For Google News we need to have a sitemap.xml file that can scan the whole project starting at the root.

FYI: this Content Type with the Page Chooser in the DD was initially setup by HH professional services during our migration. Should we just use index blocks instead?

-Jason H.

  1. 1 Posted by Ryan Griffith on 16 Oct, 2015 11:57 AM

    Ryan Griffith's Avatar

    Hi Jason,

    It is not currently possible to select a Folder using a chooser, only a Block, Page, File, or Symlink (depending on the type of chooser).

    If you need the Base Folder, is there a reason to use a chooser at all? What do you need to build a sitemap of? Every page within the Site, or only a specific Content Type?

    If you need all pages, I would suggest using a Folder Index Block that starts at the Base Folder and only includes Pages so you can take advantage of Index Block caching. Additionally, I would suggest only including metadata information (no structured data) to keep the size of the Index Block down.

    Please let me know if you have any questions.

    Thanks!

  2. 2 Posted by jason.c.hoyt on 16 Oct, 2015 12:04 PM

    jason.c.hoyt's Avatar

    Ryan,

    Ah, you are correct - i had thought that our deeper-level XML Sitemap files
    were based off of deeper folders - but they do have their respective index
    page selected and then it trickles down from there. Selecting the Base
    Folder index page works.

    Thanks,
    Jason Hoyt

  3. 3 Posted by Ryan Griffith on 16 Oct, 2015 12:10 PM

    Ryan Griffith's Avatar

    Thank you for following up, Jason, I am glad to hear you were able to re-use your existing setup to accomplish the "whole project" output.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.

    Have a great day!

  4. Ryan Griffith closed this discussion on 16 Oct, 2015 12:10 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac