Search

Configuration

  • Symphony 2.25
  • Subsection Manager (SSM) 2.1.2

Summary

After upgrading to SSM 2, I have not been able to get the XML that I'd had in my datasources.

Datasources Selected

DS

You'll notice that Owner : Industry Type : Title and Owner : Industry Type : Description are selected but do not show up in the Debug Output.

Current Debug Output

        <owner field-id="115" subsection-id="1" items="1">
            <item id="20">
                <member-id handle="20">20</member-id>
                <industry-type field-id="203" subsection-id="28" items="2" />
                <number-of-employees>
                    <item handle="0-100">0-100</item>
                </number-of-employees>
                <operating-systems field-id="156" subsection-id="21" items="3" />
                <software-used field-id="152" subsection-id="20" items="2" />
                <connections field-id="228" subsection-id="1" items="3" />
                <subscription-anniversary-date time="23:43" weekday="1">2012-01-09</subscription-anniversary-date>
                <role id="6" mode="normal">
                    <name handle="developer">Developer</name>
                </role>
                <image field-id="36" subsection-id="3" items="1" />
            </item>
        </owner>

Question

So what do I need to do to have the two items in Industry Type (see items="2")?

Have you set the correct recursion level in your field settings? (Nested subsections)

Have you set the correct recursion level in your field settings? (Nested subsections)

Nils, thank you for the reply. Please correct my ignorance in how the nested subsection setting works.

If I'd like Owner : Industry Type : Title to be present in the xml, then should I set the nested subsection to Output Three Levels Down (title being the third level down)?

If so, the result is what I posted above. I've honestly not been clear in my own mind how to rightly use the nested subsection.

Anyone have any insight on how I might address this issue?

Here's an example where two entries from the same section/datasource using the same SubSection Manager Field have results that are not present in the XML:

<entry id="679">
    ---
    <owner field-id="222" subsection-id="1" items="1">
        <item id="616">
            <member-id handle="616">616</member-id>
            <industry-type field-id="203" subsection-id="28" items="2" />
            <operating-systems field-id="156" subsection-id="21" items="1" />
            <software-used field-id="152" subsection-id="20" items="2" />
        </item>
    </owner>
    ---
</entry>
---
<entry id="677">
    ---
    <owner field-id="222" subsection-id="1" items="1">
        <item id="20">
            <member-id handle="20">20</member-id>
            <industry-type field-id="203" subsection-id="28" items="2">
                <item id="468">
                    <title handle="information-technology">Information Technology</title>
                </item>
                <item id="584">
                    <title handle="it-services">IT Services</title>
                </item>
            </industry-type>
            <operating-systems field-id="156" subsection-id="21" items="3">
                <item id="64">
                    <title handle="apple-mac-os-107-lion">Apple Mac OS 10.7 Lion </title>
                </item>
                <item id="65">
                    <title handle="canonical-ltd-ubuntu-1004-lts">Canonical Ltd. Ubuntu 10.04 LTS </title>
                </item>
                <item id="59">
                    <title handle="microsoft-windows-7">Microsoft Windows 7 </title>
                </item>
            </operating-systems>
            <software-used field-id="152" subsection-id="20" items="2">
                <item id="288">
                    <title handle="ultimate-ultipro-saas">Ultimate Ultipro SaaS </title>
                </item>
                <item id="55">
                    <title handle="vm-ware-workstation">VM Ware Workstation  </title>
                </item>
            </software-used>
        </item>
    </owner>
    ---
</entry>

Notice that Industry Type has two entries in each of the above <entry></entry> nodes. Only in entry/@id=677 do the child nodes appear.

I gather no one is interested in this post; however, I'll post a strange pseudo-fix I stumbled upon in case others run into the same problem I'm having.

From what I can tell, the last version of SubSection Manager compatible with Symphony 2.2.5 is the Feb 4, 2012 commit c4e6c36647a. I tried resetting the extension to more recent commits; however, none of my front end pages would display. I rolled the extension back to the above commit and voila now the xml is present.

Good to know for those sites not using 2.3 yet. Thanks.

The reality is that if one has developed on a prior version of Symphony, rely upon a set of core extensions, and have projects that have durations of months and years rather than weeks, then sometimes one finds oneself stuck and have to settle with running the older versions depending on how much is changed in the new.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details