afaik you just need to specify itemType for your search tag to be "mgnl:contentNode" instead of default "mgnl:content"
http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.3.8/magnolia-taglib-utility/tlddoc/cmsu/simpleSearch.html HTH, Jan On Oct 29, 2010, at 12:59 PM, Kjell Arne Arvesen wrote: > Hi. > > Thanks for your reply. > > However we figured out why the simpleSearch tag didn't return the results we > wanted. > The reason is that our text paragraphs are not generating jcr nodes where the > jcr:primaryType is mgnl:content but mgnl:contentNode. > > By further investigating the query the simpleSearch tag creates, we can see > that it only searches through nodes where the primaryType is mgnl:content. > > Now, our templates are not created with Standard Templating Kit, but by > following this guide: > http://documentation.magnolia-cms.com/templating/introduction.html > > We would like to see our content nodes having the type of mgnl:content > instead. So is there a way to instruct the paragraph or template to create > mgnl:content nodes instead of mgnl:contentNode? > > Please advice! > > Best regards, > Kjell Arne > > On Wed, Oct 27, 2010 at 5:34 PM, Luca Boati <[email protected]> > wrote: > Magnolia Criteria API > > http://www.openmindlab.com/lab/products/mgnlcriteria.html > > HTH > Luca > > 2010/10/27 Kjell Arne Arvesen <[email protected]> > > Hi. > > We are on the lookout for a search module for Magnolia. > Can't seem to find any such module on the official pages, so I'm wondering if > any of you guys might now about one? > > We tried the SimpleSearch tag but that we were not happy with the results it > gave. > > Any suggestions are appreciated :) > > Thnx, > Kjell Arne > > > > > -- > Kjell Arne Arvesen > Solutions Engineer | +47 40 60 11 27 > Iterate AS | www.iterate.no > The Lean Software Development Consultancy > - Best regards, Jan Haderka, PhD. Magnolia International Ltd. http://www.magnolia-cms.com http://twitter.com/magnolia_cms http://facebook.com/Magnolia -------------------------------------- Magnolia® - Simple Open-Source Content Management ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
