Olli, please don't hijack other topics, especially when your question is totally unrelated. As for an answer: I think you'll just need to create the link yourself in this case (either in the template or the model class).
Nils. ________________________________________ Van: [email protected] [[email protected]] namens Oliver Becherer [[email protected]] Verzonden: maandag 14 maart 2011 15:25 Aan: Magnolia User-List Onderwerp: [magnolia-user] Creating Absolute links to virtual URI Mappings Hi list, What would be best way to create absolute links to pages, that only exist via Virtual URI mappings? Example : One page, receiving ID via URL params such as /eventdetail.html?id=ID, virtual URI Mapping, forwarding everything from /events/”ID”.html to /eventdetail?id=”ID” So, the link /events/1234.html works based on URI mapping, but I don’t have an existing content to create absolute/extern link via LinkUtil. Any ideas? Regards Olli Von: [email protected] [mailto:[email protected]] Im Auftrag von Antti Hietala Gesendet: Donnerstag, 10. März 2011 15:07 An: Magnolia User-List Betreff: 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]> ---------------------------------------------------------------- ________________________________ Please consider the environment before printing this e-mail. The contents of this e-mail message (including any attachments) are confidential to and are intended to be conveyed for the use of the recipient to whom it is addressed only. If you receive this transmission in error, please notify the sender of this immediately and delete the message from your system. Any distribution, reproduction or use of this message by someone other than recipient is not authorized and may be unlawful. ________________________________ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ------------------------------------------------------------------------ VPRO www.vpro.nl ------------------------------------------------------------------------ ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
