Recurrent problem with Detail template with News Module
Recurrent problem with Detail template with News Module
Hi,
I know, that some topic already speak about that but I never find the solution.
I just need to display the list of news with the summary and that the link "more ..."
go to an other page to display only the detail on this clicked news.
When I use the detail template tag, nothing happen, and for the page alias tag,
the user is well redirected to an other page, but It's never display the summary of a news.
If someone could take just 5 minutes to explain, the detail uses.
Promise, If i have got the answer, I will made a tutorial for the news modules after.
Thx a lot,
Whygg.
I know, that some topic already speak about that but I never find the solution.
I just need to display the list of news with the summary and that the link "more ..."
go to an other page to display only the detail on this clicked news.
When I use the detail template tag, nothing happen, and for the page alias tag,
the user is well redirected to an other page, but It's never display the summary of a news.
If someone could take just 5 minutes to explain, the detail uses.
Promise, If i have got the answer, I will made a tutorial for the news modules after.
Thx a lot,
Whygg.
Re: Recurrent problem with Detail template with News Module
I forget to let you know my configuration :
CMSMS 1 beta 4
News 2.1
CMSMS 1 beta 4
News 2.1
Re: Recurrent problem with Detail template with News Module
isnt this the default behaviour?
BUT when adding a new news item you need to fill summary and detail fields..
and I really cant recommend running old betas (its almost as risky as running svn)
BUT when adding a new news item you need to fill summary and detail fields..
and I really cant recommend running old betas (its almost as risky as running svn)

Re: Recurrent problem with Detail template with News Module
Of course the summary and detail fiels are not empty.
But my question is :
Why you click to the "more" link, you can't go to the detail template page ?
I know a lot of people have the same problem...
Thx for your answer tsw .
But my question is :
Why you click to the "more" link, you can't go to the detail template page ?
I know a lot of people have the same problem...
Thx for your answer tsw .
Re: Recurrent problem with Detail template with News Module
maybe its just me, but I dont understand...
if you call news like {news limit=3 detailpage='news'} you get max 3 news items and if item has detail information there is a more link which is shown in page news..
if you also have detailtemplate="something" and pretty urls it wont work, as detailtemplate option is lost in pretty url. is this what you mean?
if you call news like {news limit=3 detailpage='news'} you get max 3 news items and if item has detail information there is a more link which is shown in page news..
if you also have detailtemplate="something" and pretty urls it wont work, as detailtemplate option is lost in pretty url. is this what you mean?
Re: Recurrent problem with Detail template with News Module
I already try on that way, but I go to the alias page, without my detail content.
On the detail template page do you need to call on other time the news modules or a specific content to display your detail ?
like just {news} or {content} but that one don't work ?
Thx a lot for your help tsw.
Just this little step, what put in the detail template to call the good detail !
Whygg
On the detail template page do you need to call on other time the news modules or a specific content to display your detail ?
like just {news} or {content} but that one don't work ?
Thx a lot for your help tsw.
Just this little step, what put in the detail template to call the good detail !
Whygg
Re: Recurrent problem with Detail template with News Module
Are you looking for something like this?...
http://www.multiintech.com/Beta4/index. ... s-releases
http://www.multiintech.com/Beta4/index. ... s-releases
Re: Recurrent problem with Detail template with News Module
YES !!!
That's it !
Can you please just explain which tag do you put on the first template and which tag do you put on the detail template ?
I know it's a really basic stuff with the news modules, but its didn't work with my tags.
Thx a lot Mark
Whygg
That's it !
Can you please just explain which tag do you put on the first template and which tag do you put on the detail template ?
I know it's a really basic stuff with the news modules, but its didn't work with my tags.
Thx a lot Mark
Whygg
Re: Recurrent problem with Detail template with News Module
New templates, go to News select summary hilite/copy/paste into notepad/editor, not word or other high end editor...
Save as newsum.tpl in the modules/News/templates folder...
New detail temp....
Save as newdetail.tpl same place...
Tag...
older versions...
Code: Select all
<!-- Start News Display Template -->
{foreach from=$items item=entry}
<div class="NewsSummary">
<div class="NewsSummaryPostdate">
{$entry->formatpostdate}
</div>
<div class="NewsSummaryLink">
{$entry->titlelink}
</div>
<div class="NewsSummarySummary">
{eval var=$entry->summary}
</div>
</div>
{/foreach}
<!-- End News Display Template -->
New detail temp....
Code: Select all
<div id="NewsPostDetailDate">
{$entry->formatpostdate}
</div>
<h3 id="NewsPostDetailTitle">{$entry->title}</h3>
<div id="NewsPostDetailSummary">
{eval var=$entry->summary}
</div>
<div id="NewsPostDetailContent">
{eval var=$entry->content}
</div>
<div id="NewsPostDetailPrintLink">
{$entry->printlink}
</div>
{if $return_url != ""}
<div id="NewsPostDetailReturnLink">{$return_url}</div>
{/if}
Tag...
Code: Select all
{news summarytemplate='newsum.tpl' detailtemplate='newdetail.tpl'}
Code: Select all
{cms_modules module='news' summarytemplate='newsum.tpl' detailtemplate='newdetail.tpl'}
Re: Recurrent problem with Detail template with News Module
I'm sorry , I feel like a dummy but it's didn't work...
I try with the news cmsms 1 release, and the News 2.1 module, but when I click on the title link, I just return on the same page, the sumary page.
The link is this one : index.php?mact=News,cntnt01,detail,0&cntnt01articleid=1&cntnt01detailtemplate=newdetail.tpl&cntnt01returnid=15
So we can see the good detailtemplate parameter. As you said, I put this detail template in the modules/news/templates folder .
So just one last question.
In your page where you apply the template with the news tag, what's its the page content type ?
I already tried with "content" or "news", but nothing changes I always stay on this summary template.
Thankx a lot Mark, really.
W.
I try with the news cmsms 1 release, and the News 2.1 module, but when I click on the title link, I just return on the same page, the sumary page.
The link is this one : index.php?mact=News,cntnt01,detail,0&cntnt01articleid=1&cntnt01detailtemplate=newdetail.tpl&cntnt01returnid=15
So we can see the good detailtemplate parameter. As you said, I put this detail template in the modules/news/templates folder .
So just one last question.
In your page where you apply the template with the news tag, what's its the page content type ?
I already tried with "content" or "news", but nothing changes I always stay on this summary template.
Thankx a lot Mark, really.
W.
Re: Recurrent problem with Detail template with News Module
My mistale was that I didn't understand that you need to put in your detail template {content} instead of {news .....} in your list template.
Thx a lot to everybody who help me !
Especially Mark
I will do a tutorial thi week to explain the use of the news module.
W.
Thx a lot to everybody who help me !
Especially Mark

I will do a tutorial thi week to explain the use of the news module.
W.