• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: News module not showing detailpage properly
PostPosted: Sat Jun 27, 2020 3:09 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 19, 2012 8:58 pm
Posts: 118
When I put
\$1:
{news number='15' detailpage="blog"}
in my blog page, choose a blog-article and click on "more" I allso see the
\$1:
<!-- Start News Display Template -->
. This is not what I want. After the click on "more" is only want to see the rest of the article. I tried including
\$1:
summarypage="namePage"
and using a template, but nothing works properly. I couldn't find a proper solution in the forum.
Never thought de News-module hard to get to work properly. Hope understands what my problem is and finds a solution.

cms ms 2.2.14 if this is any help


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: News module not showing detailpage properly
PostPosted: Sat Jun 27, 2020 3:55 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 987
Location: Victoria, BC
If you change everything to default templates and clear the cache, does it still do this? Also be sure to do the usual troubleshooting - try in a clean/different browser, check error logs (php, admin, and console), try on a clean install on the same server, etc...

If none of those things help you may need to provide more info and exact steps to recreate the issue. I'm not sure I fully understand what's going on, if you can share a demo it may help.

_________________
Not getting the answer you need? CMSMS support options


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: News module not showing detailpage properly
PostPosted: Sat Jun 27, 2020 4:08 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3234
Location: The Netherlands
The detailPAGE is the page the news is displayed on.

Are you sure you don't mean detailTEMPLATE?

\$1:
(optional) detailpage="pagealias" - Page to display News details in. This can either be a page alias or an id. Used to allow details to be displayed in a different template from the summary. This parameter will have no effect for articles with custom URLs.
(optional) detailtemplate="" - Use a separate database template for displaying the article detail. This template must exist in the Design Manager, though it does not need to be the default. If this parameter is not specified, then the current template marked as default will be used. This parameter is not used when generating urls if custom urls are specified.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: News module not showing detailpage properly
PostPosted: Sat Jun 27, 2020 7:12 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 19, 2012 8:58 pm
Posts: 118
Thanks DIGI3 and Velden, but the problem is stil there.

In the page
\$1:
https://www.sitename.nl/news/2/97/looking-around
, which appears after clicking on more I see this code:
\$1:
<ul class="list1">
<li class="firstnewscat">
   <a href="https://www.sitename.nl/index.php?mact=News,cntnt01,default,0&amp;cntnt01number=15&amp;cntnt01category_id=1&amp;cntnt01returnid=97">General</a></li>
<li>
<span>Ik zoek een baan </span>
</li>
</ul>





<div class="NewsSummary">

   <div class="NewsSummaryPostdate">
      27 juni 2020
   </div>

<div class="NewsSummaryLink">
<a href="https://www.sitename.nl/news/2/97/Ik-zoek-een-baan" title="Ik zoek een baan">Ik zoek een baan</a>
</div>

<div class="NewsSummaryCategory">
   Categorie: General
</div>

   <div class="NewsSummaryAuthor">
      Ingezonden door: someone
   </div>

       
   <div class="NewsSummarySummary">
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit tincidunt orci, mollis semper sapien fringilla vitae. Maecenas libero lacus, dictum eget nisi vel, volutpat imperdiet metus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Cras id aliquet magna.</p>
   </div>

   <div class="NewsSummaryMorelink">
      [<a href="https://www.sitename.nl/news/2/97/Ik-zoek-een-baan">Meer</a>]
   </div>



</div>
<div class="NewsSummary">

   <div class="NewsSummaryPostdate">
      27 juni 2020
   </div>

<div class="NewsSummaryLink">
<a href="https://www.sitename.nl/news/1/97/News-Module-Installed" title="News Module Installed">News Module Installed</a>
</div>

<div class="NewsSummaryCategory">
   Categorie: General
</div>

   <div class="NewsSummaryAuthor">
      Ingezonden door: nodale
   </div>

       
   <div class="NewsSummaryContent">
      The news module was installed.  Exciting. This news article is not using the Summary field and therefore there is no link to read more. But you can click on the news heading to read only this article.
   </div>


</div>

<!-- End News Display Template -->


But I only want this code
\$1:
 
   <div id="NewsPostDetailDate">
      27 juni 2020
   </div>
<h3 id="NewsPostDetailTitle">Looking</h3>

<hr id="NewsPostDetailHorizRule" />

   <div id="NewsPostDetailSummary">
      <strong>
         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed suscipit tincidunt orci, mollis semper sapien fringilla vitae. Maecenas libero lacus, dictum eget nisi vel, volutpat imperdiet metus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Cras id aliquet magna.</p>
      </strong>
   </div>

   <div id="NewsPostDetailCategory">
      Categorie: General
   </div>
   <div id="NewsPostDetailAuthor">
      Ingezonden door: someone
   </div>

<div id="NewsPostDetailContent">
       
   <p><img src="img/cheetah.png" alt="cheetah" caption="false" width="300" height="300" />
Ut a maximus mauris, id tincidunt ex. Integer sed lacus et tellus fermentum efficitur. Nam tempor turpis a magna efficitur, dapibus euismod justo consectetur. Nam id velit id turpis sagittis tempor.
</p>
</div>


<div id="NewsPostDetailReturnLink"><a href="https://www.sitename.nl/blog">Terug</a></div>


I've cleared the cache, installed news-module again. Hope this will help to help me.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: News module not showing detailpage properly  Topic is solved
PostPosted: Sat Jun 27, 2020 7:21 pm 
Offline
Forum Members
Forum Members

Joined: Fri Oct 19, 2012 8:58 pm
Posts: 118
I found the solution: {news number='15' summarypage="blog"} has to be in the page and not in the template. It's a relief that it is solved.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: googlebot


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting