[opencms-dev] Detail page doesn't work in subfolder

yangguang sun.java at 163.com
Mon Aug 22 02:18:40 CEST 2011


thanks for answer.


but my problem is I must use several subfolder in news folder. it will maintenance friendly.


news
news/case
news/pixviewer
news/knowledge


so , create a list with all this , only news.html in news folder can generate links. and I follow your suggestion , still like I said , only 2 folder can generate . others did not work.




Christoph Fröhlich <cfauto <at> folge2.de> writes:


> 
> Hi yanguang,
> I don't know whether the following helps in your situation, but in my case the generation of links to a detail page with <cms:link> did not work until I added the corresponding content type to the module config (file ".config" in the modules base folder).
> 
> After adding the content type, <cms:link> started to generate links to the detail page instead of to the content itself.
> 
> Regards
> c
> 
> 
> Am 21.08.2011 um 14:23 schrieb yangguang:
> 
> hi,all
> I use ADE drag a detail page for news named _case  and .config file add detail page automatic.
> I create a list with Links .content/news folder . and it works. the link is like _case/first-news-test
> 
> but when I create a list with Links .content/news/case , it doesn't work. the link still is  .content/news/n_00001.html 
> 
> I tried add another Resource Type name v8news with folder news/case , it works , but it has another 2 problems.
> 1. new Resource Type must above the old Resource Type with folder news, this cause drag a news will create in .content/news/case. this is not what i want.
> 2.I have another subfolder named news/pixviewer . this will not work with detail page whatever I did.
> 
> how can the subfolder use the detail page ? any suggestion ,please ? 
> 
> I can accept all news in my site use one Detail page .it means all news links to _case  is ok.
> 
> thanks.
> 
> note: I must create several folders in .content/news for serval lists.  the news html must not to put in one folder.
> --*******************************************yangguang   
> Tel:+86 13610812320Email:sun.java <at> 163.com
> 
> http://www.ursun.cn******************************************* 
> 
> 
> 
> 
> _______________________________________________This mail is sent to you from the opencms-dev mailing listTo change your list options, or to unsubscribe from the list, please visithttp://lists.opencms.org/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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/mailman/listinfo/opencms-dev



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


More information about the opencms-dev mailing list