If you ever come to Mallorca, you'll have some free mojitos and caipirinhas
J

 

Thank you so much, I'll try this this afternoon if I can J

 

De: [email protected]
[mailto:[email protected]] En nombre de Unger, Richard
Enviado el: martes, 24 de mayo de 2011 10:56
Para: Magnolia User-List
Asunto: AW: [magnolia-user] Filter by template in uuidLink control

 

Hi Leo!

 

Yes. I have implemented a restriction by "file type" for the DMS preview
tree. In this way the tree only shows images (filtered based on the
extension of the document associated with the DMS node).

The restriction based on template type in the website preview tree is also
on my list.

 

Basically, just extend the "info.magnolia.cms.gui.control.Tree" (or
"info.magnolia.module.dms.gui.DMSTreeControl") class and override the
showNode() and hasSub() methods.

Create a new tree definition, set your custom class, and then configure your
uuidLink Control to browse this tree.

 

Regards from Vienna,


Richard

 

 

 

 

 

 

Von: [email protected]
[mailto:[email protected]] Im Auftrag von Leo Lozes
Gesendet: Dienstag, 24. Mai 2011 10:10
An: 'Magnolia User-List'
Betreff: [magnolia-user] Filter by template in uuidLink control

 

Hello everyone,

 

I was thinking that it would be really nice to be able to restrict the view
of the tree by a template type in the uuidLink control, when you want to do
a teaser of a very specific template that has some specific data (or when
you want to limit the choice of the user for his own "safety").

 

Has someone ever tried to implement something like this? 

 

Best regards,

 

Leo

 

  _____  

----------------------------------------------------------------
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]>
----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to