[opencms-dev] List Module
Filip Kratochvil
filip.kratochvil at nelasoft.cz
Sun Jun 22 23:40:52 CEST 2014
Hi,
you need to set up detailpage for news:) What is detailpage? Some
containerpage in your web structure, which is used to display xmlcontents
(like news, events etc).
You can set it in config file (/.content/.config) on the tab Detail page.
--
Regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Babak
Sent: Saturday, June 21, 2014 3:05 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] List Module
Hi
I have used a List Module to create a list of latest news but getting error
when clicking on each news header.
If I login to admin page and click on header getting:
This element cannot be displayed correctly because there is no detail page
configured for this type. Please create a type detail page for this type in
the sitemap editor.
But if I am logged in as Admin, I get 500 error.
I has to do with parameter that I am passing to Collector:
Collector is set to byQuery and here is the parameter that is passing to it:
fq=type:v8news
&
fq=con_locales:%(request.locale)
&
fq=parent-folders:("/shared/.content/news/" OR
"%(request.siteroot)%(link1)")
&
sort=collector.priority_prop desc, newsdate_%(request.locale)_dt desc
&
rows=3|createPath=%(link1)n_%(number:5).html
The last part , rows=3 or create path, I think this is the part that link is
being created
But I don't understand the logic.
http://wjug.ca
Any idea that might be helpful appreciated.
Thanks
_____
<http://www.avast.com/>
This email is free from viruses and malware because avast! Antivirus
<http://www.avast.com/> protection is active.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140622/4379a213/attachment.htm>
More information about the opencms-dev
mailing list