Copied to clipboard

Flag this post as spam?

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


  • Christian Palm 277 posts 272 karma points
    Oct 07, 2010 @ 15:07
    Christian Palm
    0

    More info

    It sounds really cool, but could you attach some screenshots and maybe a little more text. I'm not 100% sure on how it works with parent id current id etc.

  • Berto 105 posts 177 karma points
    Oct 07, 2010 @ 16:18
    Berto
    0

    Hi Christian,

    I'm going to try to clarify the text (my english is mess) and post some screenshots.

    Simple explanation: With the ultimate picker, you have to say what is the parent id in the data type. For example:

    • News Splash Page (NodeId 1)
      • News 1 (NodeId 2)
      • News 2 (NodeId 3)
      • News 3 (NodeId 4)
      • News 4 (NodeId 5)

    If you wan't a picker in the News Spash Page say, to highlight some news on the page, in the Data Type you have to say that the parent Id is 1. But imagine that your site is multi-language. Then you'll have a the same structure copied, but those hightlights will reading from the original. With the change that I made, if in the data type you don't specify a node id, it will go to read the children of them:

    • News Splash Page (NodeId 1) (EN)
      • News 1 (NodeId 2)
      • News 2 (NodeId 3)
      • News 3 (NodeId 4)
      • News 4 (NodeId 5)
    • News Splash Page (NodeId 6) (PT)
      • News 1 (NodeId 7)
      • News 2 (NodeId 8)
      • News 3 (NodeId 9)
      • News 4 (NodeId 10)
    So, in the spash page of the EN the picker will show you the nodes with the ids 2,3,4,5 and int the PT the nodes with the ids 7,8,9,10
    Sorry if it's not clear, but tonight (if I have the time...) i'm going to write a better description and post some screenshots

  • Karin 4 posts 70 karma points
    Jun 06, 2011 @ 15:45
    Karin
    0

    Hi Berto, this is working great, the only thing is that I can't get it to work with the parent nodeid set to -1. I want to be able to choose any node of a specific document type, even if it is in another tree. Do you know a way of doing this?

    Thanks,

    Karin

  • Berto 105 posts 177 karma points
    Jun 06, 2011 @ 16:08
    Berto
    0

    Hi Karin

    Sorry, but with this package you can't do that, it has to be in the same tree.

    Have you seen the the uComponents? They have some pickers that work with xpath, and you can do a xpath expression (i'm not sure!) that look in all tree's

     

Please Sign in or register to post replies

Write your reply to:

Draft