hi All,
I'm having a problem, I started using the pages:archive as per the docs, which works, it creates the list of months / years with link, then click on the link, it shows the news articles for that time period, but when I first access the page via the archive link, it creates a new news article? which I don't want, why ?
my archive list is displayed on the news.php page, and links to a different page to view those news articles.
the actual link to the archive page displays like this : http://localhost/projectname/news_artic ... p?d=201411
my code for displaying the items :
I'm having a problem, I started using the pages:archive as per the docs, which works, it creates the list of months / years with link, then click on the link, it shows the news articles for that time period, but when I first access the page via the archive link, it creates a new news article? which I don't want, why ?
my archive list is displayed on the news.php page, and links to a different page to view those news articles.
the actual link to the archive page displays like this : http://localhost/projectname/news_artic ... p?d=201411
my code for displaying the items :
- Code: Select all
<cms:pages masterpage='news_articles_industry.php'
start_on=k_archive_date
stop_before=k_next_archive_date
limit='25'>
<div class="news_home_img newspagefloat"><img src="<cms:show ind_image />"></div>
<div class="news_title"><cms:show k_page_title /></div>
<div class="news_bold"><cms:show ind_subtitle /></div>
<div class="news_aritcle"><cms:show ind_desc /></div>
<div class="news_link"><a href="<cms:show ind_link />" target="_blank"><cms:show ind_link /></a></div>
<div class="news_article" style="text-align:right; margin-top:3px; margin-bottom:3px; font-size:10px; color: #efefef">Published on : <cms:date k_page_date format='jS M, Y'/></div>
<div class="news_break clearfix"></div>
</cms:pages>