Page 1 of 1

How to show full entries?

Posted: Sun 6. Jan 2013, 19:38
by sogen
full entries(no "read more", no teaser))

Thanks.

Re: How to show full entries?

Posted: Mon 7. Jan 2013, 15:24
by Gert
Hello,

you can write the full entry in the Teaser.

All others is not the idea of RealBlog.

You could let the full entry empty, so on the full entry page are only the Comments. Then change in the language settings "read more" to "write a comment",

Gert

Re: How to show full entries?

Posted: Mon 7. Jan 2013, 17:43
by sogen
I thought about that but thought that maybe there was a correct way.
I actually dived into the php code but didn't find anything called teaser or full,
well, teaser then it will be.

Since I disabled comments maybe I will just let it as it is.

Thanks!
:)

Re: How to show full entries?

Posted: Mon 7. Jan 2013, 20:50
by Gert
Hello,

try to comment out or delete following in the index.php of RealBlog_XH (line 821 - 832 in v2.1):

Code: Select all

                    $t.="\n".'<div class="realblog_entry_footer">'."\n";
                    
                    
// shows number of comments in entries overview - GE 2010-12
                    
                    if 
(function_exists('comments_nr') && $plugin_cf['realblog']['comments_function'] == 'true' && $field[REALBLOG_COMMENTS]) 
                    
{
                        $realblog_comments_id = 'comments'.$field[REALBLOG_ID];
                        $t.= '<p class="realblog_number_of_comments">' . comments_nr($realblog_comments_id) . '</p>' . "\n";
                    }
                    
                    
                    $t
.='<p class="realblog_read_more">' . "<a href=\"" . $sn . "?" . $u[$s] . "&amp;realblogaction=view&amp;realblogID=" . $field[REALBLOG_ID] . "&amp;page=" . $page . "\" title=\"" . $plugin_tx[$plugin]["tooltip_view"] . "\" >" . $plugin_tx[$plugin]['read_more'] . "</a></p>\n</div>\n";

Then the "number of comments" and the "read more" link should be gone,

Gert

Re: How to show full entries?

Posted: Tue 8. Jan 2013, 05:20
by sogen
Thanks, that worked great !

Re: How to show full entries?

Posted: Mon 21. Jan 2013, 05:03
by sogen
Hi again, I deleted that code from index.php in RealBlog, but this solution seems to not work, because the blog again only shows teasers (and not full entries, that that's what I want), even if index.php doesn't have that code.

Any ideas?

Re: How to show full entries?

Posted: Wed 23. Jan 2013, 14:59
by Gert
sogen wrote:full entries(no "read more", no teaser))
sogen wrote:I deleted that code from index.php in RealBlog, but this solution seems to not work, because the blog again only shows teasers (and not full entries, that that's what I want)

So write the full entry in the teaser field, and let the full entry empty,

Gert