Remove multiple page level blocks

Ronnie Passaro's Avatar

Ronnie Passaro

24 Nov, 2015 06:40 PM

Is there a way to remove a page level block from various pages within a folder? If not, I guess I have to go to each individual page and remove the block which will take a while since there are 183 pages that need this change.

  1. 1 Posted by Wing Ming Chan on 24 Nov, 2015 07:07 PM

    Wing Ming Chan's Avatar

    A web service script will do, if you can manage that.

    Wing

  2. 2 Posted by Ronnie Passaro on 24 Nov, 2015 07:22 PM

    Ronnie Passaro's Avatar

    I've never used web services. How difficult is it and where would I start? Thanks

  3. 3 Posted by Wing Ming Chan on 24 Nov, 2015 07:28 PM

    Wing Ming Chan's Avatar

    If you have never used web services, then this can be really tough. A few questions first:

    1. Are you a developer?
    2. Can you handle PHP?

    If the answers to both are positive, then I can guide you through this.

    Wing

  4. 4 Posted by Ronnie Passaro on 24 Nov, 2015 07:36 PM

    Ronnie Passaro's Avatar

    I am a developer and I can handle PHP. Guiding me through this would be a big help!

    Thanks,
    Ronnie

  5. 5 Posted by Wing Ming Chan on 24 Nov, 2015 07:39 PM

    Wing Ming Chan's Avatar

    Start with Basic Setup. When you can read a text block, let me know. We will look at pages and folders then.

    Wing

  6. 6 Posted by Ronnie Passaro on 24 Nov, 2015 08:17 PM

    Ronnie Passaro's Avatar

    I followed the steps and can read a text block. What's next?

  7. 7 Posted by Wing Ming Chan on 24 Nov, 2015 08:19 PM

    Wing Ming Chan's Avatar

    Before we proceed to changes, tell me something about the block(s) attached to pages and the region(s) to which the block(s) is/are attached.

    1. Is there only one block involved?
    2. Is it always the same region?
    3. Are all pages in the same folder?

    Wing

  8. 8 Posted by Ronnie Passaro on 24 Nov, 2015 08:26 PM

    Ronnie Passaro's Avatar

    1. There is only one block involved
    2. It is always in the same region
    3. All the pages are in the same folder, but some are in sub-folders

    Ronnie

  9. 9 Posted by Wing Ming Chan on 24 Nov, 2015 08:35 PM

    Wing Ming Chan's Avatar

    We will deal with subfolders later. Put the following two lines in the try block:

    $page = $cascade->getAsset( a\Page::TYPE, '1468d5998b7f08ee7e4807891fab5966' );
    $page->setRegionBlock( 'RWD', 'BOTTOM' )->edit();
    
    1. ID string should be a valid page id
    2. Replace RWD with the name of the configuration of your configuration set
    3. Replace BOTTOM with the name of the region

    Test this with a single page and make sure that the block is detached.

    Wing

  10. 10 Posted by Ronnie Passaro on 08 Dec, 2015 06:53 PM

    Ronnie Passaro's Avatar

    I put the above two lines in the try catch and received this error:

    exception 'cascade_ws_exception\NoSuchFieldException' with message '<span style='color:red;font-weight:bold'>The field name mobile does not exist.</span>' in /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/DataDefinition.class.php:139
    Stack trace:
    #0 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/property_classes/StructuredDataNode.class.php(1060): cascade_ws_asset\DataDefinition->isMultiple('mobile')
    #1 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/property_classes/StructuredData.class.php(69): cascade_ws_property\StructuredDataNode::processStructuredDataNodes('', Array, Array, Object(cascade_ws_asset\DataDefinition))
    #2 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Page.class.php(1190): cascade_ws_property\StructuredData->__construct(Object(stdClass), Object(cascade_ws_AOHS\AssetOperationHandlerService), '61a6dd307f00000...')
    #3 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Page.class.php(66): cascade_ws_asset\Page->processStructuredData('61a6dd307f00000...')
    #4 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Asset.class.php(405): cascade_ws_asset\Page->__construct(Object(cascade_ws_AOHS\AssetOperationHandlerService), Object(stdClass))
    #5 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Cascade.class.php(1387): cascade_ws_asset\Asset::getAsset(Object(cascade_ws_AOHS\AssetOperationHandlerService), 'page', '82a9532b86c604b...', NULL)
    #6 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/test.php(26): cascade_ws_asset\Cascade->getAsset('page', '82a9532b86c604b...')
    #7 {main}

  11. 11 Posted by Wing Ming Chan on 08 Dec, 2015 07:12 PM

    Wing Ming Chan's Avatar

    Hi Ronnie,

    This is an indication that your your page has a phantom node. Can you figure out whether the field name mobile survives from an older version of the data definition associated with the page? I anticipate that this will be a tough problem to solve.

    Wing

  12. 12 Posted by Wing Ming Chan on 09 Dec, 2015 05:45 PM

    Wing Ming Chan's Avatar

    Ronnie,

    If you are curious about phantom nodes, you might want to watch my online tutorials, starting the coming Monday: An Introduction to Dr. Scriptlove's Web Services Library: Part 1 of 3. I won't provide a solution to this problem because it is a very advanced topic. But I will talk about what they are and how they are created.

    Wing

  13. 13 Posted by Ronnie Passaro on 09 Dec, 2015 07:07 PM

    Ronnie Passaro's Avatar

    Wing,

    I think I found out what mobile is. There are outputs for default and for mobile. The default output has the left-nav-extra region in it where I am trying to remove the block and mobile does not have this region. Is there a way to only run the script on the default output? I attached a screen shot

    Ronnie

  14. 14 Posted by Wing Ming Chan on 09 Dec, 2015 07:47 PM

    Wing Ming Chan's Avatar

    Ronnie,

    It is not the output that concerns me. The error you saw is related to a field named 'mobile' previously defined in a data definition used by the page. It might have been removed later.

    To make sure that I am on the right track, please try the following: manually edit the page without doing anything. Just edit, and submit. After that, run the web service script again. If the error message goes away, then it is a phantom node from an older version of the data definition.

    Wing

  15. 15 Posted by Ronnie Passaro on 09 Dec, 2015 07:55 PM

    Ronnie Passaro's Avatar

    Wing,
     
    I edited and submitted the page without doing anything and still received the same error when running the web service script again.

    Ronnie

  16. 16 Posted by Wing Ming Chan on 09 Dec, 2015 08:26 PM

    Wing Ming Chan's Avatar

    OK. Since I don't have a page with phantom nodes in it, I tried this with a data definition block. Please do the following:

    1. Edit the class Page (in asset_classes) and comment out line 66 ($this->processStructuredData( $this->data_definition_id );). This should allow you to load the page without complaining.

    2. Instead of running your old script, just used the following line in the try block:

      $cascade->getAsset( a\Page::TYPE, '82a9532b86c604b...' )->dump();
      

    Here I assume that you run your script in a shell window. Let me know if you can run it. If you can, please send me the read dump. If you don't mind, please also send me the data definition XML associated with the page.

    Wing

  17. 17 Posted by Ronnie Passaro on 10 Dec, 2015 05:12 PM

    Ronnie Passaro's Avatar

    Read Dump:

    <pre>
    SoapFault exception: [soapenv:Server.generalException] Validation error: java.lang.RuntimeException: Could not generate DH keypair; nested exception is:
    java.lang.Exception: Validation error: java.lang.RuntimeException: Could not generate DH keypair in /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/AssetOperationHandlerService.class.php:749
    Stack trace:
    #0 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/AssetOperationHandlerService.class.php(749): SoapClient->__call('read', Array)
    #1 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/AssetOperationHandlerService.class.php(749): SoapClient->read(Object(stdClass))
    #2 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Asset.class.php(55): cascade_ws_AOHS\AssetOperationHandlerService->retrieve(Object(stdClass), 'page')
    #3 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Linkable.class.php(27): cascade_ws_asset\Asset->__construct(Object(cascade_ws_AOHS\AssetOperationHandlerService), Object(stdClass))
    #4 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Page.class.php(48): cascade_ws_asset\Linkable->__construct(Object(cascade_ws_AOHS\AssetOperationHandlerService), Object(stdClass))
    #5 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Asset.class.php(405): cascade_ws_asset\Page->__construct(Object(cascade_ws_AOHS\AssetOperationHandlerService), Object(stdClass))
    #6 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/asset_classes/Cascade.class.php(1387): cascade_ws_asset\Asset::getAsset(Object(cascade_ws_AOHS\AssetOperationHandlerService), 'page', '82a9532b86c604b...', NULL)
    #7 /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/test.php(29): cascade_ws_asset\Cascade->getAsset('page', '82a9532b86c604b...')
    #8 {main}</pre>

    Data Definition XML:

    <system-data-structure>
        <text identifier="title" label="Title" default="New Page" required="true"/>
        <group identifier="new-item" label="New Paragraph" multiple="true">
            <text identifier="item-title" label="Subtitle"/>
            <asset type="file" identifier="graphic" label="Photo" multiple="true"/>
            <text identifier="caption" label="Caption"/>
            <text type="dropdown" identifier="alignment" label="Align Photo" default="Right">
                <dropdown-item value="Right"/>
                <dropdown-item value="Left"/>
            </text>
            <text wysiwyg="true" identifier="text" label="Paragraph Text"/>
            <text type="radiobutton" identifier="gallery-showHide" label="Display Gallery" default="No" help-text="Select YES to reveal gallery options">
                <radio-item value="No"/>
                <radio-item value="Yes" show-fields="new-item/gallery"/>
            </text>
            <group identifier="gallery" label="Gallery" collapsed="true">
                <asset type="file" identifier="image" label="Image" multiple="true" help-text="Insert image by using image selector. Add image by using the + icon. Remove image by using the - icon. Use up and down arrows to arrange images within gallery."/>
            </group>
        </group>
        <group identifier="supplemental-content" label="Supplemental Content Area" collapsed="true">
            <text type="dropdown" identifier="type" label="Type" default="None" required="true" help-text="There are 3 options NONE, TABS, ACCORDION. Only one may be selected and the contents will appear below the main body content.">
                <dropdown-item value="None"/>
                <dropdown-item value="Tabs" show-fields="supplemental-content/tabs"/>
                <dropdown-item value="Accordion" show-fields="supplemental-content/accordion"/>
            </text>
            <group identifier="tabs" label="Tabs" collapsed="true">
                <group identifier="tab" label="Tab" multiple="true" maximum-number="6" collapsed="true">
                    <text identifier="title" label="Title" help-text="Populates text into the Tab itself. Use the + icon to add another tab. Use the - icon to remove a tab. Up and Down arrows arrange tabs."/>
                    <text wysiwyg="true" identifier="content" label="Content" help-text="Content for each tab. "/>
                </group>
            </group>
            <group identifier="accordion" label="Accordion" collapsed="true">
                <group identifier="item" label="Item" multiple="true" collapsed="true">
                    <text identifier="title" label="Title" help-text="Populates text into the Accordion Item. Use the + icon to add another Accordion Item. Use the - icon to remove an Accordion Item. Up and Down arrows arrange Accordion items."/>
                    <text wysiwyg="true" identifier="content" label="Content" help-text="The text for the Accordion Item. The items are hidden by default and are revealed upon click."/>
                </group>
            </group>
        </group>
    </system-data-structure>

  18. 18 Posted by Wing Ming Chan on 10 Dec, 2015 05:19 PM

    Wing Ming Chan's Avatar

    Ronnie,

    I got the data definition xml. But you did not successfully run the script. Please look into the SoapFault exception that you encountered. This exception has nothing to do with my library. It seems that my library could not issue a read command to your Cascade instance.

    Wing

  19. 19 Posted by Ronnie Passaro on 10 Dec, 2015 05:54 PM

    Ronnie Passaro's Avatar

    object(stdClass)#14 (29) {
      ["id"]=>
      string(32) "82a9532b86c604b375e59258bfa0020d"
      ["name"]=>
      string(5) "index"
      ["parentFolderId"]=>
      string(32) "82a9519d86c604b375e592583f0839d1"
      ["parentFolderPath"]=>
      string(12) "faculty/test"
      ["path"]=>
      string(18) "faculty/test/index"
      ["lastModifiedDate"]=>
      string(24) "2015-12-09T19:50:20.774Z"
      ["lastModifiedBy"]=>
      string(9) "passaror2"
      ["createdDate"]=>
      string(24) "2015-12-08T17:35:13.682Z"
      ["createdBy"]=>
      string(9) "passaror2"
      ["siteId"]=>
      string(32) "20e2a3057f000001017d5b2a142180b1"
      ["siteName"]=>
      string(16) "www.scranton.edu"
      ["metadata"]=>
      object(stdClass)#15 (11) {
        ["author"]=>
        string(0) ""
        ["displayName"]=>
        string(0) ""
        ["endDate"]=>
        NULL
        ["keywords"]=>
        string(0) ""
        ["metaDescription"]=>
        string(0) ""
        ["reviewDate"]=>
        NULL
        ["startDate"]=>
        NULL
        ["summary"]=>
        string(0) ""
        ["teaser"]=>
        string(0) ""
        ["title"]=>
        string(0) ""
        ["dynamicFields"]=>
        object(stdClass)#16 (1) {
          ["dynamicField"]=>
          array(3) {
            [0]=>
            object(stdClass)#17 (2) {
              ["name"]=>
              string(9) "seo-title"
              ["fieldValues"]=>
              object(stdClass)#18 (1) {
                ["fieldValue"]=>
                object(stdClass)#19 (1) {
                  ["value"]=>
                  string(0) ""
                }
              }
            }
            [1]=>
            object(stdClass)#20 (2) {
              ["name"]=>
              string(3) "nav"
              ["fieldValues"]=>
              object(stdClass)#21 (1) {
                ["fieldValue"]=>
                object(stdClass)#22 (1) {
                  ["value"]=>
                  string(2) "No"
                }
              }
            }
            [2]=>
            object(stdClass)#23 (2) {
              ["name"]=>
              string(17) "DepartmentProgram"
              ["fieldValues"]=>
              object(stdClass)#24 (1) {
                ["fieldValue"]=>
                object(stdClass)#25 (1) {
                  ["value"]=>
                  string(12) "-- choose --"
                }
              }
            }
          }
        }
      }
      ["metadataSetId"]=>
      NULL
      ["metadataSetPath"]=>
      NULL
      ["expirationFolderId"]=>
      NULL
      ["expirationFolderPath"]=>
      NULL
      ["expirationFolderRecycled"]=>
      bool(false)
      ["shouldBePublished"]=>
      bool(true)
      ["shouldBeIndexed"]=>
      bool(true)
      ["lastPublishedDate"]=>
      string(24) "2015-12-08T18:02:20.245Z"
      ["lastPublishedBy"]=>
      string(9) "passaror2"
      ["configurationSetId"]=>
      NULL
      ["configurationSetPath"]=>
      NULL
      ["contentTypeId"]=>
      string(32) "d0efb54f86c604b21c1dc16a6a3f1586"
      ["contentTypePath"]=>
      string(22) "Standard 2-Column Page"
      ["structuredData"]=>
      object(stdClass)#26 (3) {
        ["definitionId"]=>
        NULL
        ["definitionPath"]=>
        NULL
        ["structuredDataNodes"]=>
        object(stdClass)#27 (1) {
          ["structuredDataNode"]=>
          array(3) {
            [0]=>
            object(stdClass)#28 (14) {
              ["type"]=>
              string(4) "text"
              ["identifier"]=>
              string(5) "title"
              ["structuredDataNodes"]=>
              NULL
              ["text"]=>
              string(35) "Dr. Scranton, Professor of Scranton"
              ["assetType"]=>
              NULL
              ["blockId"]=>
              NULL
              ["blockPath"]=>
              NULL
              ["fileId"]=>
              NULL
              ["filePath"]=>
              NULL
              ["pageId"]=>
              NULL
              ["pagePath"]=>
              NULL
              ["symlinkId"]=>
              NULL
              ["symlinkPath"]=>
              NULL
              ["recycled"]=>
              bool(false)
            }
            [1]=>
            object(stdClass)#29 (14) {
              ["type"]=>
              string(5) "group"
              ["identifier"]=>
              string(8) "new-item"
              ["structuredDataNodes"]=>
              object(stdClass)#30 (1) {
                ["structuredDataNode"]=>
                array(7) {
                  [0]=>
                  object(stdClass)#31 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(10) "item-title"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(0) ""
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [1]=>
                  object(stdClass)#32 (14) {
                    ["type"]=>
                    string(5) "asset"
                    ["identifier"]=>
                    string(7) "graphic"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    NULL
                    ["assetType"]=>
                    string(4) "file"
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [2]=>
                  object(stdClass)#33 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(7) "caption"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(0) ""
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [3]=>
                  object(stdClass)#34 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(9) "alignment"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(5) "Right"
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [4]=>
                  object(stdClass)#35 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(4) "text"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(816) "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ultrices, augue ac tempus tristique, dui arcu rutrum massa, non varius risus sapien eget lorem. Mauris sollicitudin, mauris eu convallis hendrerit, orci libero dapibus ante, sed ultricies ante ante et arcu. Aenean pretium consequat mauris eget sollicitudin? Proin bibendum turpis at lectus sollicitudin et porta risus convallis. Sed vehicula pharetra eros, consequat pellentesque ligula placerat mattis! Sed semper lacus nulla. Aliquam eleifend, lorem vitae commodo ornare, eros turpis aliquet est, vitae faucibus massa sapien at diam. Nunc sit amet augue justo; quis commodo arcu. Mauris in iaculis nunc! Maecenas porta, leo at faucibus auctor, lorem lectus feugiat erat, non dictum mi nulla eget nibh. Cras lobortis felis ut lectus egestas tincidunt."
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [5]=>
                  object(stdClass)#36 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(16) "gallery-showHide"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(2) "No"
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [6]=>
                  object(stdClass)#37 (14) {
                    ["type"]=>
                    string(5) "group"
                    ["identifier"]=>
                    string(7) "gallery"
                    ["structuredDataNodes"]=>
                    object(stdClass)#38 (1) {
                      ["structuredDataNode"]=>
                      object(stdClass)#39 (14) {
                        ["type"]=>
                        string(5) "asset"
                        ["identifier"]=>
                        string(5) "image"
                        ["structuredDataNodes"]=>
                        NULL
                        ["text"]=>
                        NULL
                        ["assetType"]=>
                        string(4) "file"
                        ["blockId"]=>
                        NULL
                        ["blockPath"]=>
                        NULL
                        ["fileId"]=>
                        NULL
                        ["filePath"]=>
                        NULL
                        ["pageId"]=>
                        NULL
                        ["pagePath"]=>
                        NULL
                        ["symlinkId"]=>
                        NULL
                        ["symlinkPath"]=>
                        NULL
                        ["recycled"]=>
                        bool(false)
                      }
                    }
                    ["text"]=>
                    NULL
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                }
              }
              ["text"]=>
              NULL
              ["assetType"]=>
              NULL
              ["blockId"]=>
              NULL
              ["blockPath"]=>
              NULL
              ["fileId"]=>
              NULL
              ["filePath"]=>
              NULL
              ["pageId"]=>
              NULL
              ["pagePath"]=>
              NULL
              ["symlinkId"]=>
              NULL
              ["symlinkPath"]=>
              NULL
              ["recycled"]=>
              bool(false)
            }
            [2]=>
            object(stdClass)#40 (14) {
              ["type"]=>
              string(5) "group"
              ["identifier"]=>
              string(20) "supplemental-content"
              ["structuredDataNodes"]=>
              object(stdClass)#41 (1) {
                ["structuredDataNode"]=>
                array(3) {
                  [0]=>
                  object(stdClass)#42 (14) {
                    ["type"]=>
                    string(4) "text"
                    ["identifier"]=>
                    string(4) "type"
                    ["structuredDataNodes"]=>
                    NULL
                    ["text"]=>
                    string(4) "None"
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [1]=>
                  object(stdClass)#43 (14) {
                    ["type"]=>
                    string(5) "group"
                    ["identifier"]=>
                    string(4) "tabs"
                    ["structuredDataNodes"]=>
                    object(stdClass)#44 (1) {
                      ["structuredDataNode"]=>
                      object(stdClass)#45 (14) {
                        ["type"]=>
                        string(5) "group"
                        ["identifier"]=>
                        string(3) "tab"
                        ["structuredDataNodes"]=>
                        object(stdClass)#46 (1) {
                          ["structuredDataNode"]=>
                          array(2) {
                            [0]=>
                            object(stdClass)#47 (14) {
                              ["type"]=>
                              string(4) "text"
                              ["identifier"]=>
                              string(5) "title"
                              ["structuredDataNodes"]=>
                              NULL
                              ["text"]=>
                              string(0) ""
                              ["assetType"]=>
                              NULL
                              ["blockId"]=>
                              NULL
                              ["blockPath"]=>
                              NULL
                              ["fileId"]=>
                              NULL
                              ["filePath"]=>
                              NULL
                              ["pageId"]=>
                              NULL
                              ["pagePath"]=>
                              NULL
                              ["symlinkId"]=>
                              NULL
                              ["symlinkPath"]=>
                              NULL
                              ["recycled"]=>
                              bool(false)
                            }
                            [1]=>
                            object(stdClass)#48 (14) {
                              ["type"]=>
                              string(4) "text"
                              ["identifier"]=>
                              string(7) "content"
                              ["structuredDataNodes"]=>
                              NULL
                              ["text"]=>
                              string(0) ""
                              ["assetType"]=>
                              NULL
                              ["blockId"]=>
                              NULL
                              ["blockPath"]=>
                              NULL
                              ["fileId"]=>
                              NULL
                              ["filePath"]=>
                              NULL
                              ["pageId"]=>
                              NULL
                              ["pagePath"]=>
                              NULL
                              ["symlinkId"]=>
                              NULL
                              ["symlinkPath"]=>
                              NULL
                              ["recycled"]=>
                              bool(false)
                            }
                          }
                        }
                        ["text"]=>
                        NULL
                        ["assetType"]=>
                        NULL
                        ["blockId"]=>
                        NULL
                        ["blockPath"]=>
                        NULL
                        ["fileId"]=>
                        NULL
                        ["filePath"]=>
                        NULL
                        ["pageId"]=>
                        NULL
                        ["pagePath"]=>
                        NULL
                        ["symlinkId"]=>
                        NULL
                        ["symlinkPath"]=>
                        NULL
                        ["recycled"]=>
                        bool(false)
                      }
                    }
                    ["text"]=>
                    NULL
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                  [2]=>
                  object(stdClass)#49 (14) {
                    ["type"]=>
                    string(5) "group"
                    ["identifier"]=>
                    string(9) "accordion"
                    ["structuredDataNodes"]=>
                    object(stdClass)#50 (1) {
                      ["structuredDataNode"]=>
                      object(stdClass)#51 (14) {
                        ["type"]=>
                        string(5) "group"
                        ["identifier"]=>
                        string(4) "item"
                        ["structuredDataNodes"]=>
                        object(stdClass)#52 (1) {
                          ["structuredDataNode"]=>
                          array(2) {
                            [0]=>
                            object(stdClass)#53 (14) {
                              ["type"]=>
                              string(4) "text"
                              ["identifier"]=>
                              string(5) "title"
                              ["structuredDataNodes"]=>
                              NULL
                              ["text"]=>
                              string(0) ""
                              ["assetType"]=>
                              NULL
                              ["blockId"]=>
                              NULL
                              ["blockPath"]=>
                              NULL
                              ["fileId"]=>
                              NULL
                              ["filePath"]=>
                              NULL
                              ["pageId"]=>
                              NULL
                              ["pagePath"]=>
                              NULL
                              ["symlinkId"]=>
                              NULL
                              ["symlinkPath"]=>
                              NULL
                              ["recycled"]=>
                              bool(false)
                            }
                            [1]=>
                            object(stdClass)#54 (14) {
                              ["type"]=>
                              string(4) "text"
                              ["identifier"]=>
                              string(7) "content"
                              ["structuredDataNodes"]=>
                              NULL
                              ["text"]=>
                              string(0) ""
                              ["assetType"]=>
                              NULL
                              ["blockId"]=>
                              NULL
                              ["blockPath"]=>
                              NULL
                              ["fileId"]=>
                              NULL
                              ["filePath"]=>
                              NULL
                              ["pageId"]=>
                              NULL
                              ["pagePath"]=>
                              NULL
                              ["symlinkId"]=>
                              NULL
                              ["symlinkPath"]=>
                              NULL
                              ["recycled"]=>
                              bool(false)
                            }
                          }
                        }
                        ["text"]=>
                        NULL
                        ["assetType"]=>
                        NULL
                        ["blockId"]=>
                        NULL
                        ["blockPath"]=>
                        NULL
                        ["fileId"]=>
                        NULL
                        ["filePath"]=>
                        NULL
                        ["pageId"]=>
                        NULL
                        ["pagePath"]=>
                        NULL
                        ["symlinkId"]=>
                        NULL
                        ["symlinkPath"]=>
                        NULL
                        ["recycled"]=>
                        bool(false)
                      }
                    }
                    ["text"]=>
                    NULL
                    ["assetType"]=>
                    NULL
                    ["blockId"]=>
                    NULL
                    ["blockPath"]=>
                    NULL
                    ["fileId"]=>
                    NULL
                    ["filePath"]=>
                    NULL
                    ["pageId"]=>
                    NULL
                    ["pagePath"]=>
                    NULL
                    ["symlinkId"]=>
                    NULL
                    ["symlinkPath"]=>
                    NULL
                    ["recycled"]=>
                    bool(false)
                  }
                }
              }
              ["text"]=>
              NULL
              ["assetType"]=>
              NULL
              ["blockId"]=>
              NULL
              ["blockPath"]=>
              NULL
              ["fileId"]=>
              NULL
              ["filePath"]=>
              NULL
              ["pageId"]=>
              NULL
              ["pagePath"]=>
              NULL
              ["symlinkId"]=>
              NULL
              ["symlinkPath"]=>
              NULL
              ["recycled"]=>
              bool(false)
            }
          }
        }
      }
      ["xhtml"]=>
      NULL
      ["pageConfigurations"]=>
      object(stdClass)#55 (1) {
        ["pageConfiguration"]=>
        array(4) {
          [0]=>
          object(stdClass)#56 (13) {
            ["id"]=>
            string(32) "82a9532b86c604b375e592586cb69094"
            ["name"]=>
            string(7) "default"
            ["defaultConfiguration"]=>
            bool(true)
            ["templateId"]=>
            string(32) "4c8815817f00000100cbec977d07a1fb"
            ["templatePath"]=>
            string(36) "common:assets/templates/univ-2column"
            ["formatId"]=>
            NULL
            ["formatPath"]=>
            NULL
            ["formatRecycled"]=>
            bool(false)
            ["pageRegions"]=>
            object(stdClass)#57 (1) {
              ["pageRegion"]=>
              array(29) {
                [0]=>
                object(stdClass)#58 (10) {
                  ["id"]=>
                  string(32) "5f0c1c4686c604b25706937e2827bd32"
                  ["name"]=>
                  string(17) "NAVIGATION-BOTTOM"
                  ["blockId"]=>
                  string(32) "7ea93d417f00000100df839a6c3c0c18"
                  ["blockPath"]=>
                  string(24) "common:assets/navigation"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [1]=>
                object(stdClass)#59 (10) {
                  ["id"]=>
                  string(32) "4c264f177f00000101aed9100794adad"
                  ["name"]=>
                  string(10) "HEAD-TAGS3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [2]=>
                object(stdClass)#60 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97f02d2b7f"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [3]=>
                object(stdClass)#61 (10) {
                  ["id"]=>
                  string(32) "ff50f7e586c604b22bb9b1edde14e5a5"
                  ["name"]=>
                  string(10) "HEAD-TAGS4"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [4]=>
                object(stdClass)#62 (10) {
                  ["id"]=>
                  string(32) "b6b28f897f00000101aed91036041c42"
                  ["name"]=>
                  string(2) "GA"
                  ["blockId"]=>
                  string(32) "b6bbb3f47f00000101aed9102f866bbe"
                  ["blockPath"]=>
                  string(21) "common:assets/ga-code"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [5]=>
                object(stdClass)#63 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97817094ef"
                  ["name"]=>
                  string(10) "HEAD-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [6]=>
                object(stdClass)#64 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97323f3428"
                  ["name"]=>
                  string(10) "FOOTERTEXT"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "7a6bbdb786c604b25680e48048edc6f4"
                  ["formatPath"]=>
                  string(33) "common:assets/formats/footer-text"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [7]=>
                object(stdClass)#65 (10) {
                  ["id"]=>
                  string(32) "82a9532b86c604b375e59258364878b0"
                  ["name"]=>
                  string(7) "LEFTNAV"
                  ["blockId"]=>
                  string(32) "82a9559e86c604b375e5925815bb8245"
                  ["blockPath"]=>
                  string(35) "faculty/test/assets/left-navigation"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "d0b3dc3986c604b21c1dc16ab8c9ba44"
                  ["formatPath"]=>
                  string(24) "1assets/formats/left-nav"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [8]=>
                object(stdClass)#66 (10) {
                  ["id"]=>
                  string(32) "5f0c1c4786c604b25706937e0931e4df"
                  ["name"]=>
                  string(12) "FOOTER-TAGS3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [9]=>
                object(stdClass)#67 (10) {
                  ["id"]=>
                  string(32) "6207e09a86c604b271e8e4711d75bf63"
                  ["name"]=>
                  string(11) "TAG-MANAGER"
                  ["blockId"]=>
                  string(32) "7ba3c61486c604b271e8e471daf05333"
                  ["blockPath"]=>
                  string(32) "common:assets/google-tag-manager"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [10]=>
                object(stdClass)#68 (10) {
                  ["id"]=>
                  string(32) "f6d948587f00000100750e3061d73799"
                  ["name"]=>
                  string(12) "MOBILE-CHECK"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [11]=>
                object(stdClass)#69 (10) {
                  ["id"]=>
                  string(32) "1b2555867f00000100750e30fcd6c3d6"
                  ["name"]=>
                  string(12) "FOOTER-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [12]=>
                object(stdClass)#70 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97a11e2382"
                  ["name"]=>
                  string(14) "LEFTNAV-EXTRA2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [13]=>
                object(stdClass)#71 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec974de5336a"
                  ["name"]=>
                  string(9) "FOOTERNAV"
                  ["blockId"]=>
                  string(32) "7ec5fb837f00000100df839a3983c854"
                  ["blockPath"]=>
                  string(23) "common:assets/footernav"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [14]=>
                object(stdClass)#72 (10) {
                  ["id"]=>
                  string(32) "acd1509e86c604b2029c6e6e6d0a024e"
                  ["name"]=>
                  string(20) "DEFAULT-SUPPLEMENTAL"
                  ["blockId"]=>
                  string(32) "acd50bcb86c604b2029c6e6e865c3949"
                  ["blockPath"]=>
                  string(41) "common:supplemental-features/current page"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "acd6079686c604b2029c6e6e3474ad8e"
                  ["formatPath"]=>
                  string(50) "common:supplemental-features/standard-supplemental"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [15]=>
                object(stdClass)#73 (10) {
                  ["id"]=>
                  string(32) "82a9532b86c604b375e59258d4369b5b"
                  ["name"]=>
                  string(10) "MAIN-PHOTO"
                  ["blockId"]=>
                  string(32) "82a9564386c604b375e592581bc497f6"
                  ["blockPath"]=>
                  string(30) "faculty/test/assets/main-photo"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [16]=>
                object(stdClass)#74 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97c4d0d4e7"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [17]=>
                object(stdClass)#75 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec972c187340"
                  ["name"]=>
                  string(9) "HEAD-TAGS"
                  ["blockId"]=>
                  string(32) "7ea683387f00000100df839af5a62ba7"
                  ["blockPath"]=>
                  string(22) "common:assets/headtags"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [18]=>
                object(stdClass)#76 (10) {
                  ["id"]=>
                  string(32) "d0b0897186c604b21c1dc16a297811ea"
                  ["name"]=>
                  string(10) "BREADCRUMB"
                  ["blockId"]=>
                  string(32) "20b1efe77f00000100cbec97c2dd4f85"
                  ["blockPath"]=>
                  string(32) "common:assets/breadcrumb-dynamic"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "20bd39e67f00000100cbec97c82f51b5"
                  ["formatPath"]=>
                  string(38) "common:assets/formats/breadcrumb-style"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [19]=>
                object(stdClass)#77 (10) {
                  ["id"]=>
                  string(32) "82a9532b86c604b375e592589c1b0ed7"
                  ["name"]=>
                  string(13) "LEFTNAV-EXTRA"
                  ["blockId"]=>
                  string(32) "82a9552b86c604b375e592589b892ddc"
                  ["blockPath"]=>
                  string(32) "faculty/test/assets/contact-info"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [20]=>
                object(stdClass)#78 (10) {
                  ["id"]=>
                  string(32) "82a9532b86c604b375e592584efff16b"
                  ["name"]=>
                  string(8) "COMMANDS"
                  ["blockId"]=>
                  string(32) "24f8d98a7f000001002e0dcbe0bfff72"
                  ["blockPath"]=>
                  string(39) "academics/1assets/commands-acad-general"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [21]=>
                object(stdClass)#79 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec9712ba2b0b"
                  ["name"]=>
                  string(10) "NAVIGATION"
                  ["blockId"]=>
                  string(32) "7ea93d417f00000100df839a6c3c0c18"
                  ["blockPath"]=>
                  string(24) "common:assets/navigation"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [22]=>
                object(stdClass)#80 (10) {
                  ["id"]=>
                  string(32) "d0b0897186c604b21c1dc16a3b1657fd"
                  ["name"]=>
                  string(7) "DEFAULT"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "24e3e3387f000001002e0dcb339e92c7"
                  ["formatPath"]=>
                  string(39) "academics/1assets/formats/newpage-style"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [23]=>
                object(stdClass)#81 (10) {
                  ["id"]=>
                  string(32) "253f1d6d7f000001002e0dcb30d4ed6a"
                  ["name"]=>
                  string(10) "PPP-BANNER"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [24]=>
                object(stdClass)#82 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97673c284f"
                  ["name"]=>
                  string(6) "HEADER"
                  ["blockId"]=>
                  string(32) "6813a1187f00000100cbec97a134eb77"
                  ["blockPath"]=>
                  string(30) "common:assets/header-textblock"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [25]=>
                object(stdClass)#83 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97153ed30c"
                  ["name"]=>
                  string(13) "DEFAULT-EXTRA"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [26]=>
                object(stdClass)#84 (10) {
                  ["id"]=>
                  string(32) "d0b9d2aa86c604b21c1dc16aa6081fb0"
                  ["name"]=>
                  string(14) "LEFTNAV-EXTRA3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "d0b746f786c604b21c1dc16abd3b71f9"
                  ["formatPath"]=>
                  string(29) "1assets/formats/contact-block"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [27]=>
                object(stdClass)#85 (10) {
                  ["id"]=>
                  string(32) "719bd5f086c604b26dc00fa909439196"
                  ["name"]=>
                  string(10) "HEAD-TITLE"
                  ["blockId"]=>
                  string(32) "7177908986c604b26dc00fa98a7d8f09"
                  ["blockPath"]=>
                  string(33) "_internal/blocks/index/head-title"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "7178f21986c604b26dc00fa99b2352bb"
                  ["formatPath"]=>
                  string(38) "_internal/stylesheets/index/head-title"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [28]=>
                object(stdClass)#86 (10) {
                  ["id"]=>
                  string(32) "7a891a257f00000100cb7e2ccddca1b8"
                  ["name"]=>
                  string(11) "FOOTER-TAGS"
                  ["blockId"]=>
                  string(32) "1b25e39b7f00000100750e30798614d9"
                  ["blockPath"]=>
                  string(30) "common:assets/global-footer-js"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
              }
            }
            ["outputExtension"]=>
            NULL
            ["serializationType"]=>
            NULL
            ["includeXMLDeclaration"]=>
            bool(false)
            ["publishable"]=>
            bool(false)
          }
          [1]=>
          object(stdClass)#87 (13) {
            ["id"]=>
            string(32) "d0b0897186c604b21c1dc16ad65bca67"
            ["name"]=>
            string(6) "mobile"
            ["defaultConfiguration"]=>
            bool(false)
            ["templateId"]=>
            string(32) "5ccb75eb7f0000010054c72ef279caec"
            ["templatePath"]=>
            string(25) "common:mobile/univ-mobile"
            ["formatId"]=>
            NULL
            ["formatPath"]=>
            NULL
            ["formatRecycled"]=>
            bool(false)
            ["pageRegions"]=>
            object(stdClass)#88 (1) {
              ["pageRegion"]=>
              array(15) {
                [0]=>
                object(stdClass)#89 (10) {
                  ["id"]=>
                  string(32) "622ac04286c604b271e8e471a78811c8"
                  ["name"]=>
                  string(11) "TAG-MANAGER"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [1]=>
                object(stdClass)#90 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de9a3fd762"
                  ["name"]=>
                  string(10) "HEAD-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [2]=>
                object(stdClass)#91 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334dee8aba96b"
                  ["name"]=>
                  string(12) "FOOTER-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [3]=>
                object(stdClass)#92 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de139a7965"
                  ["name"]=>
                  string(2) "GA"
                  ["blockId"]=>
                  string(32) "10d1775f7f0000010054c72e3c3a0b1a"
                  ["blockPath"]=>
                  string(21) "common:mobile/ga-code"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [4]=>
                object(stdClass)#93 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de16bc2de1"
                  ["name"]=>
                  string(11) "FOOTER-TAGS"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [5]=>
                object(stdClass)#94 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de53664504"
                  ["name"]=>
                  string(13) "DEFAULT-EXTRA"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [6]=>
                object(stdClass)#95 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de2bc9196e"
                  ["name"]=>
                  string(10) "HEAD-TAGS3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [7]=>
                object(stdClass)#96 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de3ff3ecff"
                  ["name"]=>
                  string(10) "BREADCRUMB"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [8]=>
                object(stdClass)#97 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334dec8178cdf"
                  ["name"]=>
                  string(9) "HEAD-TAGS"
                  ["blockId"]=>
                  string(32) "4a50d2117f0000010054c72e9d952887"
                  ["blockPath"]=>
                  string(35) "common:mobile/global-headtags1-0-b2"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [9]=>
                object(stdClass)#98 (10) {
                  ["id"]=>
                  string(32) "1739180a7f00000101c334de63c98f88"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [10]=>
                object(stdClass)#99 (10) {
                  ["id"]=>
                  string(32) "1739180a7f00000101c334de5e0d6bf9"
                  ["name"]=>
                  string(7) "DEFAULT"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "ce61837b7f0000010054c72e739ac561"
                  ["formatPath"]=>
                  string(34) "common:mobile/generic-style-mobile"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [11]=>
                object(stdClass)#100 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de93821e86"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [12]=>
                object(stdClass)#101 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de3b689f46"
                  ["name"]=>
                  string(6) "FOOTER"
                  ["blockId"]=>
                  string(32) "a9e299af7f0000010054c72eb8ff8f8c"
                  ["blockPath"]=>
                  string(20) "common:mobile/footer"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [13]=>
                object(stdClass)#102 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de3327f3b8"
                  ["name"]=>
                  string(6) "HEADER"
                  ["blockId"]=>
                  string(32) "a9e5b3c27f0000010054c72edcf7f858"
                  ["blockPath"]=>
                  string(20) "common:mobile/header"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [14]=>
                object(stdClass)#103 (10) {
                  ["id"]=>
                  string(32) "1739180b7f00000101c334de852ce34a"
                  ["name"]=>
                  string(10) "MAIN-PHOTO"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
              }
            }
            ["outputExtension"]=>
            NULL
            ["serializationType"]=>
            NULL
            ["includeXMLDeclaration"]=>
            bool(false)
            ["publishable"]=>
            bool(false)
          }
          [2]=>
          object(stdClass)#104 (13) {
            ["id"]=>
            string(32) "d0b0897186c604b21c1dc16af11818db"
            ["name"]=>
            string(3) "xml"
            ["defaultConfiguration"]=>
            bool(false)
            ["templateId"]=>
            string(32) "4f3145307f00000100cbec97d3e72817"
            ["templatePath"]=>
            string(27) "common:assets/templates/xml"
            ["formatId"]=>
            NULL
            ["formatPath"]=>
            NULL
            ["formatRecycled"]=>
            bool(false)
            ["pageRegions"]=>
            object(stdClass)#105 (1) {
              ["pageRegion"]=>
              object(stdClass)#106 (10) {
                ["id"]=>
                string(32) "4f3145307f00000100cbec97f4dd8844"
                ["name"]=>
                string(7) "DEFAULT"
                ["blockId"]=>
                NULL
                ["blockPath"]=>
                NULL
                ["blockRecycled"]=>
                bool(false)
                ["noBlock"]=>
                bool(false)
                ["formatId"]=>
                NULL
                ["formatPath"]=>
                NULL
                ["formatRecycled"]=>
                bool(false)
                ["noFormat"]=>
                bool(false)
              }
            }
            ["outputExtension"]=>
            NULL
            ["serializationType"]=>
            NULL
            ["includeXMLDeclaration"]=>
            bool(false)
            ["publishable"]=>
            bool(false)
          }
          [3]=>
          object(stdClass)#107 (13) {
            ["id"]=>
            string(32) "d0ee35e686c604b21c1dc16a56bc3a68"
            ["name"]=>
            string(10) "mobile-app"
            ["defaultConfiguration"]=>
            bool(false)
            ["templateId"]=>
            string(32) "4c8815817f00000100cbec977d07a1fb"
            ["templatePath"]=>
            string(36) "common:assets/templates/univ-2column"
            ["formatId"]=>
            NULL
            ["formatPath"]=>
            NULL
            ["formatRecycled"]=>
            bool(false)
            ["pageRegions"]=>
            object(stdClass)#108 (1) {
              ["pageRegion"]=>
              array(29) {
                [0]=>
                object(stdClass)#109 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97228c511f"
                  ["name"]=>
                  string(7) "DEFAULT"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [1]=>
                object(stdClass)#110 (10) {
                  ["id"]=>
                  string(32) "5f0c1c4686c604b25706937e2827bd32"
                  ["name"]=>
                  string(17) "NAVIGATION-BOTTOM"
                  ["blockId"]=>
                  string(32) "7ea93d417f00000100df839a6c3c0c18"
                  ["blockPath"]=>
                  string(24) "common:assets/navigation"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [2]=>
                object(stdClass)#111 (10) {
                  ["id"]=>
                  string(32) "4c264f177f00000101aed9100794adad"
                  ["name"]=>
                  string(10) "HEAD-TAGS3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [3]=>
                object(stdClass)#112 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec979949bfae"
                  ["name"]=>
                  string(10) "BREADCRUMB"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [4]=>
                object(stdClass)#113 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97f02d2b7f"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [5]=>
                object(stdClass)#114 (10) {
                  ["id"]=>
                  string(32) "ff50f7e586c604b22bb9b1edde14e5a5"
                  ["name"]=>
                  string(10) "HEAD-TAGS4"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [6]=>
                object(stdClass)#115 (10) {
                  ["id"]=>
                  string(32) "b6b28f897f00000101aed91036041c42"
                  ["name"]=>
                  string(2) "GA"
                  ["blockId"]=>
                  string(32) "b6bbb3f47f00000101aed9102f866bbe"
                  ["blockPath"]=>
                  string(21) "common:assets/ga-code"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [7]=>
                object(stdClass)#116 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97817094ef"
                  ["name"]=>
                  string(10) "HEAD-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [8]=>
                object(stdClass)#117 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97323f3428"
                  ["name"]=>
                  string(10) "FOOTERTEXT"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "7a6bbdb786c604b25680e48048edc6f4"
                  ["formatPath"]=>
                  string(33) "common:assets/formats/footer-text"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [9]=>
                object(stdClass)#118 (10) {
                  ["id"]=>
                  string(32) "5f0c1c4786c604b25706937e0931e4df"
                  ["name"]=>
                  string(12) "FOOTER-TAGS3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [10]=>
                object(stdClass)#119 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97954d36c7"
                  ["name"]=>
                  string(10) "MAIN-PHOTO"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [11]=>
                object(stdClass)#120 (10) {
                  ["id"]=>
                  string(32) "6207e09a86c604b271e8e4711d75bf63"
                  ["name"]=>
                  string(11) "TAG-MANAGER"
                  ["blockId"]=>
                  string(32) "7ba3c61486c604b271e8e471daf05333"
                  ["blockPath"]=>
                  string(32) "common:assets/google-tag-manager"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [12]=>
                object(stdClass)#121 (10) {
                  ["id"]=>
                  string(32) "f6d948587f00000100750e3061d73799"
                  ["name"]=>
                  string(12) "MOBILE-CHECK"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [13]=>
                object(stdClass)#122 (10) {
                  ["id"]=>
                  string(32) "1b2555867f00000100750e30fcd6c3d6"
                  ["name"]=>
                  string(12) "FOOTER-TAGS2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [14]=>
                object(stdClass)#123 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec9793c50ecf"
                  ["name"]=>
                  string(13) "LEFTNAV-EXTRA"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [15]=>
                object(stdClass)#124 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97a11e2382"
                  ["name"]=>
                  string(14) "LEFTNAV-EXTRA2"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [16]=>
                object(stdClass)#125 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97817082ad"
                  ["name"]=>
                  string(14) "LEFTNAV-EXTRA3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [17]=>
                object(stdClass)#126 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec974de5336a"
                  ["name"]=>
                  string(9) "FOOTERNAV"
                  ["blockId"]=>
                  string(32) "7ec5fb837f00000100df839a3983c854"
                  ["blockPath"]=>
                  string(23) "common:assets/footernav"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [18]=>
                object(stdClass)#127 (10) {
                  ["id"]=>
                  string(32) "acd1509e86c604b2029c6e6e6d0a024e"
                  ["name"]=>
                  string(20) "DEFAULT-SUPPLEMENTAL"
                  ["blockId"]=>
                  string(32) "acd50bcb86c604b2029c6e6e865c3949"
                  ["blockPath"]=>
                  string(41) "common:supplemental-features/current page"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "acd6079686c604b2029c6e6e3474ad8e"
                  ["formatPath"]=>
                  string(50) "common:supplemental-features/standard-supplemental"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [19]=>
                object(stdClass)#128 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97c4d0d4e7"
                  ["name"]=>
                  string(14) "DEFAULT-EXTRA3"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [20]=>
                object(stdClass)#129 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec972c187340"
                  ["name"]=>
                  string(9) "HEAD-TAGS"
                  ["blockId"]=>
                  string(32) "7ea683387f00000100df839af5a62ba7"
                  ["blockPath"]=>
                  string(22) "common:assets/headtags"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [21]=>
                object(stdClass)#130 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97c9693303"
                  ["name"]=>
                  string(8) "COMMANDS"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [22]=>
                object(stdClass)#131 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec973959437e"
                  ["name"]=>
                  string(7) "LEFTNAV"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [23]=>
                object(stdClass)#132 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec9712ba2b0b"
                  ["name"]=>
                  string(10) "NAVIGATION"
                  ["blockId"]=>
                  string(32) "7ea93d417f00000100df839a6c3c0c18"
                  ["blockPath"]=>
                  string(24) "common:assets/navigation"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [24]=>
                object(stdClass)#133 (10) {
                  ["id"]=>
                  string(32) "253f1d6d7f000001002e0dcb30d4ed6a"
                  ["name"]=>
                  string(10) "PPP-BANNER"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [25]=>
                object(stdClass)#134 (10) {
                  ["id"]=>
                  string(32) "4c8815817f00000100cbec97673c284f"
                  ["name"]=>
                  string(6) "HEADER"
                  ["blockId"]=>
                  string(32) "6813a1187f00000100cbec97a134eb77"
                  ["blockPath"]=>
                  string(30) "common:assets/header-textblock"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [26]=>
                object(stdClass)#135 (10) {
                  ["id"]=>
                  string(32) "4c8815827f00000100cbec97153ed30c"
                  ["name"]=>
                  string(13) "DEFAULT-EXTRA"
                  ["blockId"]=>
                  NULL
                  ["blockPath"]=>
                  NULL
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [27]=>
                object(stdClass)#136 (10) {
                  ["id"]=>
                  string(32) "719bd5f086c604b26dc00fa909439196"
                  ["name"]=>
                  string(10) "HEAD-TITLE"
                  ["blockId"]=>
                  string(32) "7177908986c604b26dc00fa98a7d8f09"
                  ["blockPath"]=>
                  string(33) "_internal/blocks/index/head-title"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  string(32) "7178f21986c604b26dc00fa99b2352bb"
                  ["formatPath"]=>
                  string(38) "_internal/stylesheets/index/head-title"
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
                [28]=>
                object(stdClass)#137 (10) {
                  ["id"]=>
                  string(32) "7a891a257f00000100cb7e2ccddca1b8"
                  ["name"]=>
                  string(11) "FOOTER-TAGS"
                  ["blockId"]=>
                  string(32) "1b25e39b7f00000100750e30798614d9"
                  ["blockPath"]=>
                  string(30) "common:assets/global-footer-js"
                  ["blockRecycled"]=>
                  bool(false)
                  ["noBlock"]=>
                  bool(false)
                  ["formatId"]=>
                  NULL
                  ["formatPath"]=>
                  NULL
                  ["formatRecycled"]=>
                  bool(false)
                  ["noFormat"]=>
                  bool(false)
                }
              }
            }
            ["outputExtension"]=>
            NULL
            ["serializationType"]=>
            NULL
            ["includeXMLDeclaration"]=>
            bool(false)
            ["publishable"]=>
            bool(false)
          }
        }
      }
      ["maintainAbsoluteLinks"]=>
      bool(false)
    }
    ssr004:cascade_ws_ns Ronnie$

  20. 20 Posted by Ronnie Passaro on 10 Dec, 2015 06:09 PM

    Ronnie Passaro's Avatar

    Wing,

    For some reason I'm not getting the mobile error anymore. The error I'm getting now is:

    Parse error: parse error, expecting `"identifier (T_STRING)"' in /Users/Ronnie/Sites/MAMP Server/cascade_ws_ns/exception_classes/NoSuchPageConfigurationException.class.php on line 8

    This is what I have in my try block:

    $page = $cascade->getAsset( a\Page::TYPE, '82a9532b86c604b375e59258bfa0020d' );
    $page->setRegionBlock( '2col-2015', 'LEFTNAV-EXTRA' )->edit();

  21. 21 Posted by Wing Ming Chan on 10 Dec, 2015 06:49 PM

    Wing Ming Chan's Avatar

    OK. Much better. That's what I expected. The mobile error was removed when you hand-edited the page.

    Now in the second line $page->setRegionBlock( '2col-2015', 'LEFTNAV-EXTRA' )->edit();, the first argument should be the name of a configuration, probably 'default', instead of '2col-2015'. Change that line and see what happens.

    Wing

  22. 22 Posted by Ronnie Passaro on 10 Dec, 2015 07:16 PM

    Ronnie Passaro's Avatar

    Changing it to default worked! Now how would I apply this to multiple pages at once?

    Ronnie

  23. 23 Posted by Wing Ming Chan on 10 Dec, 2015 08:56 PM

    Wing Ming Chan's Avatar

    The big concern for me is that there are phantom nodes in your pages and I don't know how widespread they are. You can try to edit all pages at the same time. But every time when you run into a phantom node, you need to fix it manually. If this happens to every page, it can be tedious. Phantom nodes can be fixed by using web services. But as I told you, it is an advanced topic.

    Assuming that all the pages you want to edit are all in one folder, you can first retrieve the folder. Then you can retrieve the children. For every child, process a page in the same way as you did. If it is a folder, do it recursively. I have an AssetTree class that does precisely this. But it is another learning hurdle you need to overcome. So I would opt for a recursive function instead.

    You need to work with a few classes: Folder, Child, and Page.

    The next step to try: retrieve the folder and display all its children, with their types and ID's. If you can do this, then you are very close. There is a method in the Child class: Child::getAsset( $service ) that can return Page or Folder objects.

    Keep me posted.

    Wing

  24. 24 Posted by Wing Ming Chan on 11 Dec, 2015 12:39 PM

    Wing Ming Chan's Avatar

    I have come up with a way to solve at least part of your problem.

    1. Create a recursive function to process folders.
    2. Retrieve the children of the folder being processed.
    3. In the foreach loop, use an inner try...catch block to catch the NoSuchFieldException objects; when such an object is caught, use continue to skip the page.
    4. This will fix all pages that do not have phantom nodes. Then by looking at the last modified date, you will know what pages are not touched.
    5. Hand-edit those pages. Then run the script again. It will not hurt to run the script against good pages.
    6. Repeat this process until everything is fixed.

    I insist on fixing the phantom node problem because later on you may want to use my library to do something else to your pages. As long as a page has a phantom node, my library will throw an exception. Fixing them now will make your life a bit easier later.

    Wing

  25. 25 Posted by Ronnie Passaro on 11 Dec, 2015 07:15 PM

    Ronnie Passaro's Avatar

    Wing

    This was very helpful. I recursively go through each folder and am able to remove the block from each page. The block region is called 'LEFTNAV-EXTRA'; is there a way to get the name or the id of that block in that region before I remove it?

    Ronnie

  26. 26 Posted by Wing Ming Chan on 11 Dec, 2015 07:54 PM

    Wing Ming Chan's Avatar

    It is a bit hard to work with page regions. When the PageConfiguration (or output) object is retrieved from a page, it only carries information of blocks and formats attached to regions at the configuration level, not at the page level. Therefore, I provide a special method in the Page class, namely Page::getBlockFormatMap, that returns information of blocks and formats attached to regions at the page level. So the code would look like this:

        $page  = $cascade->getAsset( a\Page::TYPE, '1468d5998b7f08ee7e4807891fab5966' );
        $pc    = $page->getPageConfigurationSet()->getConfiguration( 'RWD' );
        $map   = $page->getBlockFormatMap( $pc );
    u\DebugUtility::dump( $map );
    if( isset( $map[ 'BANNER 12 COLUMNS' ] ) && isset( $map[ 'BANNER 12 COLUMNS' ][ 'block' ] ) ) { echo $map[ 'BANNER 12 COLUMNS' ][ 'block' ]; }
    Here my RWD will be your default, and my BANNER 12 COLUMNS will be your LEFTNAV-EXTRA. If there is a block attached to this region at the page level, then you will see the id. Through the id, you can retrieve the block.

    Wing

  27. Ryan Griffith closed this discussion on 22 Dec, 2015 08:23 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