[opencms-dev] Multiple detail pages

Daniel Seidel d.seidel at alkacon.com
Fri Sep 1 13:16:14 CEST 2017


Hi Jane,

try  href="<cms:link detailPage='{site relative path of the detail 
page}'>${content.filename}</cms:link>".

Best, Daniel.


Am 01.09.2017 um 12:45 schrieb Jane Austen Stardust:
> Hello!
>
> I've created two detail pages for the same content element type.
> How can I select which of them use to open a content?
>
> As suggested by 
> "http://documentation.opencms.org/javadoc/tld/cms/link.html" I've written:
>
>  href="<cms:link 
> detailPage='/[webappName]/[subSiteName]/event-details-two/index.html'>${content.filename}</cms:link>"
>
>
> But it doesn't work! It always opens the first detail page...
>
> Where I wrong?
>
> Thanks at all!
> JA
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
-- 
Kind Regards,
Daniel.
  
-------------------

Daniel Seidel

Alkacon Software GmbH & Co. KG - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170901/f31427cd/attachment.htm>


More information about the opencms-dev mailing list