Page 1 of 1

Making entire news article available for visitors

Posted: Wed Jan 25, 2006 12:02 pm
by tyman00
My users wanted to make the entire news articles available for the visitors. Currently they can only see the small snippet at the bottom in the news section. I thought I could share my solution with the rest.

I created a new file for the news details that did not require the user to be logged in. This file (see attachment) should be saved in the same directory as defaultview.asp. Be sure the file is saved as: newsdetails_visit.asp

Next we need to make the links active from the snippets much like on the default.asp page. To do so open defaultview.asp and search for this comment line:

Code: Select all

' Get the news
About 22 Lines (version 5.12.0.0018) below this comment line you will see:

Code: Select all

<b><%=newstitle%></b>
Replace that with:

Code: Select all

<b><a href="newsdetails_visit.asp?newsid=<%=newsid%>" class="style12px"><%=newstitle%></a></b>


Finally, test and you should be ready to go!


I hope I put this in the right forum, if not feel free to move it.

Posted: Wed Jan 25, 2006 3:18 pm
by davidyin
Good improvement.

Will consider to add it into the next version.

Thanks to tyman00.