great work, cheers! On Thu, Jul 30, 2009 at 9:48 AM, Brent McArthur <[email protected]>wrote:
> > Hi, > > I never got a response to this. Surely there's some dialog guru hiding out > there? :) > > Good news is I managed to work it out. Considering the same question was > unanswered on two other occasions I've written a wiki page that describes > how to get this functionality working using tree configuration. > > http://wiki.magnolia-cms.com/display/WIKI/Link+Control+-+Open+Specific+Path > > Ideally, a "rootPath" configuration value should just be added to the link > and uuidLink control. Would save all the additional tree configuration. > > Cheers, > > Brent > > -----Original Message----- > From: [email protected] [mailto: > [email protected]] On Behalf Of Brent McArthur > Sent: Wednesday, 29 July 2009 5:58 PM > To: Magnolia User-List > Subject: [magnolia-user] Link Control - Open to path? > > > Hi Everyone, > > > In summary, we're using the 'uuidLink' control in one of our dialogs to > link one piece of content to another. The content the author will be linking > to will always be in a known repository and a known deep link for example: > > /dms/images/animals/mammals/cat/small > > From a usability perspective it's difficult for the user to browse the tree > to this location each time. Does anyone know how to specify a path? > > I'm looking at info.magnolia.cms.gui.dialog.DialogLink class (parent of > DialogUUIDLink). The only candidate looks like the "tree" config value: > > String tree = this.getConfigValue("tree", repository); > > Does anyone know the syntax/format of tree values? Any value I put in there > seems to cause an exception when the dialog opens. > > There have been a couple of past unanswered questions on this here: > > > http://www.nabble.com/link-control---specifying-where-to-start-from-to9581183.html#a9581183 > > http://www.nabble.com/Name-of-the-start-folder-property-for-the-link-control-to23759863.html#a23759863 > > Cheers, > > Brent > > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- > > > -- Met vriendelijke groet / Kind regards, Olaf Molenveld ---------------------------------------------- Interactive Link Keizerstraat 31 3512 EA Utrecht T +31 (0)30 634 32 66 F +31 (0)30 634 32 65 www.interactivelink.nl [email protected] INTERACTIVE LINK MAAKT SAMEN MET HANSNEL COMMUNICATIE, CHANNEL PANEL EN PARODOS DEEL UIT VAN DE HANSNEL GROEP ---------------------------------------------- De informatie in dit e-mail bericht is uitsluitend bestemd voor de geadresseerde. Verstrekking aan en gebruik door anderen is niet toegestaan. Door de elektronische verzending van het bericht kunnen er geen rechten worden ontleend aan de informatie. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
