Wow, that was so... ubersimple, tnx a bunch, you're a lifesaver:)!

________________________________
From: [email protected] [[email protected]] On 
Behalf Of Antti Hietala [[email protected]]
Sent: Thursday, March 10, 2011 3:07 PM
To: Magnolia User-List
Subject: Re: [magnolia-user] finding page nodes with a certain template

select * from nt:base where mgnl:template=<template name>

For example
select * from nt:base where mgnl:template='stkArticle'

Run the query in the website workspace.

--Antti

On Mar 10, 2011, at 3:01 PM, Hans Wichman wrote:

Hi list,

I'm trying to come up with a JCR query that returns all pagepaths whose actual 
pages are using a specific template, but not having much luck sofar.

The idea is that given a templatename, I can show a list of pages using that 
template.

I've been using another approach sofar based on contentutils and filters but it 
is agonizingly slow, hence I thought I'd try my luck through the JCR queries.

regards
Hans



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