Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kjetil Næss 12 posts 32 karma points
    Dec 19, 2011 @ 10:01
    Kjetil Næss
    0

    StarterKit, how to add a new Box.

    I am trying to add a new document type under boxes, but are not able to add the box to the boxlist presented on the frontpage.

    I have create a new document type under #bBox, and checked this in the structure for #btBoxes. When I go to Content, I can add a new box with this documenttype under Boxes, but are not able to add this in Boxes on the Frontpage, it shows up in red. Everything is of course published. Can anyone point out any missing steps to an absolute beginner ?

     

    Kjetil

  • Rune Grønkjær 1372 posts 3103 karma points
    Dec 19, 2011 @ 10:13
    Rune Grønkjær
    0

    It's the Box picker datatype you need to change.

    Go to Developer > Data Types >Box Picker

    Then add your own Doc type alias to the"XPath filter"

    The standard ones are listed allready:
    /*[name()='BoxNewsList' or name()='Box' or name()='BoxProductList']

    You simply add your own:
    /*[name()='BoxNewsList' or name()='Box' or name()='BoxProductList' or name()='YourAlias']


    Simple, pretty ugly, but it works. Problem is that the XPath filter does'nt want to coorporate. I tried everything to make it select alle nodes under the "Boxes" node, but without luck so far.

    /Rune

  • Kjetil Næss 12 posts 32 karma points
    Dec 19, 2011 @ 10:18
    Kjetil Næss
    0

    Thank's Rune. That's one more problem solved!

     

    Kjetil

Please Sign in or register to post replies

Write your reply to:

Draft