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 Help & Support Change the "Read More" + Summary etc.
Bmgp
Posted on 04 Jan 2011, 11:19:39

Access: Member
Total Posts: 2
Joined: 2011-01-04

Hi!
I installed the News Script yesterday. It looks perfect in my design and its easy to edit. But I am not able to edit stg.

http://djcear.comyr.com/
I want it like this:

Title
Authour etc. etc.
First few lines of my news post bla bla bla...
Read More(On my Homepage it says: Weiter Lesen)

But this doesnt work because when i just copy the first few lines in the news post and paste it in the summary section, it is displayed twice when you click on read more. But when i remove the {summary} tag it doesnt display on the beginning(There is just Title, Authour etc, and read more...

2. I wanted that you are able to click on the title + the read more to get to the news post. but then the title doesnt show up in the news post...

Im not good in PHP, but you put both pages in 1(All news page + specific news post page) page. Why didnt you put it in 2 sperate files? I think that would solve the problem :D

-.- Pls, I need your help!!!
#3094
Rayc
Posted on 06 Jan 2011, 13:47:29

Access: Member
Total Posts: 74
Joined: 2010-06-13

Previously the summary would display in both "summary" view and "full article" view. The solution then was to have the first paragraph or sentence appear ONLY in the summary, and the full article would just continue from there.

Since v4.0, there is the facility to change how this works when you "include" the script using the "$news_layout" parameter.

From N-13 News Wiki:

Code:
<?php
$news_layout = '0';
// How the articles are shown when not viewing a single post
// 0 = default, shows article, if post has a summary shows it instead
// 1 = Show summary only
// 2 = Show article only
// 3 = Show summary and article

$comments_layout = '0';
// How the articles are shown when viewing a single post
// 0 = Show both article and summary
// 1 = Show summary only
// 2 = Show article only

include 'news/index.php';
?>

Format how your news articles get displayed using the above variables.

Even though I moaned a bit about adding this feature, I admit I have not yet updated my test site to try it out yet.

HTH

-RayC
#3098
Bmgp
Posted on 06 Jan 2011, 16:22:37

Access: Member
Total Posts: 2
Joined: 2011-01-04

Quote:
Previously the summary would display in both "summary" view and "full article" view. The solution then was to have the first paragraph or sentence appear ONLY in the summary, and the full article would just continue from there.

Since v4.0, there is the facility to change how this works when you "include" the script using the "$news_layout" parameter.

From N-13 News Wiki:

Code:
<?php
$news_layout = '0';
// How the articles are shown when not viewing a single post
// 0 = default, shows article, if post has a summary shows it instead
// 1 = Show summary only
// 2 = Show article only
// 3 = Show summary and article

$comments_layout = '0';
// How the articles are shown when viewing a single post
// 0 = Show both article and summary
// 1 = Show summary only
// 2 = Show article only

include 'news/index.php';
?>

Format how your news articles get displayed using the above variables.

Even though I moaned a bit about adding this feature, I admit I have not yet updated my test site to try it out yet.

HTH

-RayC


Thank you very much!!!
It works great :D

Have a look: http://dj-cear.bplaced.net/ :P

Off Topic: Have you an idea where i could place the navigation of the website???
The place where it is now looks very bad!!! ^^
#3100
Last edited by Bmgp at 2011-01-06 16:27:57 Reason:
Rayc
Posted on 07 Jan 2011, 14:49:40

Access: Member
Total Posts: 74
Joined: 2010-06-13

While this isn't really the place for this discussion, I'll just quickly say that

a.) Your site takes a very long time to load - minutes, not seconds
b.) Your current sidebar navigation slides under the main content on my screen covering part of it and it cannot be closed once opened.

There's nothing wrong with simple. A standard type of nav bar (in black) above the music player (between the orange and black) would be the likely spot.

To respect Chris' forum, this sort of discussion can be done under his Spam & Chat section, or on a web design forum.

-RayC
#3121
Network-13.com © 2013