[opencms-dev] List Module

Babak babak at wjug.ca
Wed Jun 25 06:09:48 CEST 2014


Thank you Filip,

 

Created the detailed page as you instructed and problem resolved.

 

Still don't know how these are tied together but it is working.

 

Thanks for the tip

 

 

 

 

From: Filip Kratochvil [mailto:filip.kratochvil at nelasoft.cz] 
Sent: Sunday, June 22, 2014 4:41 PM
To: 'The OpenCms mailing list'
Cc: babak at wjug.ca
Subject: RE: [opencms-dev] List Module

 

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. 

 



---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140624/74da15eb/attachment.htm>


More information about the opencms-dev mailing list