[opencms-dev] Detail page doesn't work in subfolder
Christoph Fröhlich
cfauto at folge2.de
Sun Aug 21 18:39:47 CEST 2011
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 13610812320
> Email:sun.java at 163.com
>
> http://www.ursun.cn
> *******************************************
>
>
>
> _______________________________________________
> 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/20110821/e43a632f/attachment.htm>
More information about the opencms-dev
mailing list