[New] Multiple Node Picker (with StartNode and custom visible properties) by Lefteris Options
hohios
Posted: Tuesday, February 26, 2008 10:46:04 AM
Rank: Devotee

Joined: 7/22/2006
Posts: 69
Location: Heraklion Crete
Hello again,
This is the "Node Version" for the Multiple Picker series I create. It works just like lefMediaPicker.

Key features:
-Assign a start node for the Node Tree Picker
-Choose which properties you want to display for each node.
-drag n' sort
-Find a selected node in the tree picker (Sync to Tree)

Screenshot:


Installation in seconds. Read the readme in the downloaded archive.

Download version 0.1 at http://www.joyhost.gr/media/11342-lefnodepicker.0.1.zip

It is stable and mature.

(Find the -Multiple Media Version- at http://forum.umbraco.org/14785 )

Lefteris
neehouse
Posted: Tuesday, February 26, 2008 2:23:30 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,074
Location: Charleston, West Virginia, United States
Very nice...

Will definitely be testing this tonight!

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
neehouse
Posted: Tuesday, February 26, 2008 9:26:38 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,074
Location: Charleston, West Virginia, United States
You are missing the lefTreeInit.aspx fromt the root folder. Perhaps there should be a pre-requisite of installing the media picker...

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
hohios
Posted: Wednesday, February 27, 2008 9:08:02 AM
Rank: Devotee

Joined: 7/22/2006
Posts: 69
Location: Heraklion Crete
Thank you Needhouse.
The zip has been updated and the readme file too.


Please download it again.

http://www.joyhost.gr/media/11342-lefnodepicker.0.1.zip

Lefteris
cpalm
Posted: Thursday, April 03, 2008 10:28:22 AM

Rank: Aficionado

Joined: 7/19/2006
Posts: 164
Hi Lefteris

Can you clarify something for me, is this a updated version of lefMediaPicker? - or can it only select folders

CPalm, www.cpalm.dk
dawoe
Posted: Thursday, April 03, 2008 10:49:58 AM

Rank: Aficionado

Joined: 1/19/2008
Posts: 170
Location: Belgium
Hey Lefteris,

Can you make it localizable. Because all pickers i have found are in English.


Converting a DotNetNuke site to Umbraco : Follow it here
imayat12
Posted: Thursday, April 03, 2008 11:44:18 AM

Rank: Addict

Joined: 7/19/2006
Posts: 649
Location: Preston, UK
Lefteris,

I have just installed this control its brilliant. Many thanks. Also I think you should submit both these controls to best package category here

Regards

Ismail

Level 2 certified. If it aint broke dont fix.
tkahn
Posted: Friday, April 25, 2008 10:12:11 AM

Rank: Fanatic

Joined: 11/24/2006
Posts: 322
Location: Stockholm, Sweden
Does anyone have an example of how this is used in an XSLT-macro? I get the ID id the selected nodes, but I'm having trouble getting anything else?

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
neehouse
Posted: Friday, April 25, 2008 11:50:03 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,074
Location: Charleston, West Virginia, United States
You can use umbraco.library:GetXmlNodeById(xxx) which will give you the full node xml..

If you are specifying multiple items, you will have to split the content of the field into nodes -> umbraco.library:Split(data[@alias='mcp'],',') and loop the returned nodeset $mcpNodeSet/value

so...

Code:

<xsl:variable name="mcpNodeSet" select="umbraco.library:Split(data[@alias='mcp'],',')"/>

<xsl:for-each select="$mcpNodeSet/value">
    <xsl:variable name="currentItem" select="umbraco.library:GetXmlNodeById(current()/text())"/>
    <xsl:value-of select="$currentItem/@nodeName"/>
</xsl:for-each>


Also, you get the 1000th post from me... Congrats

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
hohios
Posted: Friday, April 25, 2008 12:05:27 PM
Rank: Devotee

Joined: 7/22/2006
Posts: 69
Location: Heraklion Crete
You dont have to use split.
The dataType return nodes with the ids

Code:

<xsl:variable name="mcpNodeSet" select="$currentPage/data[@alias='yourNodePickerAlias']"/>
<xsl:for-each select="$mcpNodeSet/dencendant::node">
    <xsl:variable name="currentItem" select="umbraco.library:GetXmlNodeById(.)"/>
    <xsl:value-of select="$currentItem/@nodeName"/>
</xsl:for-each>
Petr Snobelt
Posted: Friday, June 20, 2008 9:40:22 AM
Rank: Aficionado

Joined: 10/2/2007
Posts: 165
Location: Czech Republic
Hi, thank you for wonderful control.
I can't find e-mail to you, so I write my suggestions here...

* Allow not to show id, it isn't important when client (not creator) selecting node.

* Instead using separated parameters, can be great if is possible to specify template (simple replace or xslt) to write single node - this way image can be added, which will be cool. Maybe with templates this control can be joined with multiple media picker.

* Choosing which document types to show in tree (for example only selecting product is allowed and I don't wont user to allow specify something else)

* I don't know how to solve this, but it will be great if is possible to restrict selecting only to language mutation in which current node is. If website have multiple language roots, will be great if user can't select relative products (using this control) from another language.

* Put sources to codeplex :-) and I can try implement some of my suggestions myself.

Once again thank you for very nice control.Applause

Petr
Ruben
Posted: Wednesday, July 09, 2008 2:04:20 PM

Rank: Aficionado

Joined: 12/21/2007
Posts: 169
Location: Belgium
Hi,

Cool control. Could you please drop me an e-mail, I want to make this control compatible with version 4. (There is an issue with the new data layer.)

Thanks,

Ruben

Ruben Verborgh | Umbraco Core Team Developer | Working on: Data layer table utility. | LinkedIn
Petr Snobelt
Posted: Wednesday, July 09, 2008 3:17:13 PM
Rank: Aficionado

Joined: 10/2/2007
Posts: 165
Location: Czech Republic
Hi Ruben,
you can find e-mail in readme, but my try to contact Lefteris about this control is without luck.
Ruben
Posted: Wednesday, July 09, 2008 10:17:32 PM

Rank: Aficionado

Joined: 12/21/2007
Posts: 169
Location: Belgium
Petr Snobelt wrote:
Hi Ruben,
you can find e-mail in readme, but my try to contact Lefteris about this control is without luck.

Thanks, I mailed him. I hope to get the source so I can port it, there's a small issue with v4.

Ruben Verborgh | Umbraco Core Team Developer | Working on: Data layer table utility. | LinkedIn
fed
Posted: Friday, July 18, 2008 4:48:57 PM

Rank: Aficionado

Joined: 3/30/2008
Posts: 109
Location: Sweden
Ruben, any news on the v4 issue with this package?
Ruben
Posted: Tuesday, July 22, 2008 7:35:45 PM

Rank: Aficionado

Joined: 12/21/2007
Posts: 169
Location: Belgium
Ruben wrote:

Thanks, I mailed him.

No response. I'm using Tim's UltimatePicker now.

Ruben Verborgh | Umbraco Core Team Developer | Working on: Data layer table utility. | LinkedIn
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.