[CLOSED] News, URL and detailpage

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
frankmanl
Power Poster
Power Poster
Posts: 425
Joined: Sat Jul 12, 2008 3:50 am

[CLOSED] News, URL and detailpage

Post by frankmanl »

I use several categories in my News module. I want to present each of them on a different page.
My default page for News module is nieuws, meant for news articles.
A series of columns (I think that word is used different in english; what I mean is something like an editorial text; anyway, it has nothing to do with page lay out, it's just some text) should be displayed at page column, using the same summary and detail template as all other articles in News module:

Code: Select all

{news summarytemplate="nieuwspagina" detailtemplate="nieuwspagina" number="8" category='column' detailpage="column" moretext="lees hele column ..."}
This works allright, unless I use the URL field in News module. As soon as I enter a value in that field, the detailpage is ignored and the column is displayed on the default page nieuws.
It seems I have to choose between a pretty URL on the wrong page, or the right page with a not-so-pretty URL.
Did I make a mistake in my code?

Frank
Last edited by frankmanl on Fri Jan 16, 2015 3:57 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: News, URL and detailpage

Post by calguy1000 »

This has been asked and answered multiple times before.

You can't use the detailpage param with custom URL's/routes.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “CMSMS Core”