Page 1 of 1

News: detailpage attribute & URL

Posted: Sat Feb 01, 2014 8:02 pm
by testuser
Hi,

I found a problem with URL in News module, is there any solution?

I set the URL to "my-news-detail", so full URL is example.com/my-news-detail/. It works.

But when I add a pagedetail attribute into News module call (in homepage) {news detailpage='xy'}, I see my chosen URL and stay in the homepage where I call News.

Can I combine those two things (pagealias and own URL)?

Thanks.

Re: News: detailpage attribute & URL

Posted: Sat Feb 01, 2014 8:22 pm
by calguy1000
No, the custom url stuff will not work with the detailpage param.

Re: News: detailpage attribute & URL

Posted: Sat Feb 01, 2014 9:42 pm
by Rolf
Set detailpage in News module admin page.

Re: News: detailpage attribute & URL

Posted: Sat Feb 01, 2014 9:49 pm
by testuser
Rolf:
it´s not a solution, each category should have different detail page. When Calguy wrote it isn´t possible, I rewrite template, put there a few conditions... it's not the best solution but for a quite small site I'm working on it works. In the portal of hundreds pages I should find another solution :-)

Thanks.

Re: News: detailpage attribute & URL

Posted: Sat Feb 01, 2014 10:51 pm
by testuser
Hm,

when I use own URLs, I can't use "detailtemplate" parametr? I used that param, but the default detail template is used... :-(