Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums How To problem with readmore
Arminhammer
Posted on 20 Jan 2011, 21:10:03

Access: Member
Total Posts: 12
Joined: 2010-08-30

Hey,

i had the original way <readmore>readmore</readmore> and that didnt work, so i started using <a href="news/index.php?id={id}">Read more</a> but thats not working...is to connecting to index.php or to another file.

Need help on this...
#3142
Chris
Posted on 21 Jan 2011, 10:46:23

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
<a href="news/index.php?id={id}">Read more</a>


Change news/index.php to the file where you want to display the full news article, then on that page simply do a normal include like so

Code:
<?php
include 'news/index.php';
?>

#3143
Arminhammer
Posted on 27 Jan 2011, 14:45:08

Access: Member
Total Posts: 12
Joined: 2010-08-30

Hey Chris,

I have done what you asked but in the full story page, im just getting a list of the news.

Main News:
http://www.iwigroup.ca/news.php

Full Story News:
http://www.iwigroup.ca/news_full.php?id=7

Can you please tell me where im going wrong with this.
#3165
Arminhammer
Posted on 27 Jan 2011, 14:50:14

Access: Member
Total Posts: 12
Joined: 2010-08-30

Hey Chris,

whats the template needed for the full story page?
#3166
Dondemaio
Posted on 27 Jan 2011, 15:57:54

Access: Member
Total Posts: 13
Joined: 2010-11-15

Quote:
Code:
<a href="news/index.php?id={id}">Read more</a>


Change news/index.php to the file where you want to display the full news article, then on that page simply do a normal include like so

Code:
<?php
include 'news/index.php';
?>



I inserted the code you recommended but it still includes a "Read more" link on the second page, under the quoted article. Is there some way to prevent this?

Thanks.

Don
#3167
Arminhammer
Posted on 28 Jan 2011, 14:21:29

Access: Member
Total Posts: 12
Joined: 2010-08-30

Hey Chris, still need your help, just need the readmore feature done and everything will be working smoothly. What should the template for the full story page have?
#3168
Arminhammer
Posted on 28 Jan 2011, 14:41:16

Access: Member
Total Posts: 12
Joined: 2010-08-30

Hey Chris, still need your help, just need the readmore feature done and everything will be working smoothly. What should the template for the full story page have?
#3169
Chris
Posted on 12 Feb 2011, 09:43:46

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

On the 'news_full.php' page where you're displaying the full article, specify which template to use by using the following code

Code:
<?php
$template 
= 'new template';
include 
'news/index.php';
?>


Then edit/create the 'new template' via Optios > Templates. And remove the readmore link from it.
#3185
Leeuniverse
Posted on 28 Mar 2011, 07:31:58

Access: Member
Total Posts: 15
Joined: 2011-03-26

Hey guys....

How did you actually make the script go to a "different page" for the FULL NEWS STORY???
Cause, mine simply reloads the same page with the full news story.

Thanks

OH... Think I answered my own question by reading the "Pop up new window" thread.

:)
#3411
Last edited by Leeuniverse at 2011-03-28 07:35:24 Reason:
Leeuniverse
Posted on 28 Mar 2011, 21:33:42

Access: Member
Total Posts: 15
Joined: 2011-03-26

Hey Chris.... Could you answer his "original" question?
He stated above that the Results page was simply listing the Articles List again, rather than the sole article.

I don't know if he fixed that issue, or if he just never got around to it, because you answered another question rather than the original one. Cause, I'm having the original problem.

Also, how would you make it work for Friendly URL's?
#3414
Network-13.com © 2013