How to show full entries?

CMSimpleRealBlog
Post Reply
sogen
Posts: 12
Joined: Mon 17. Dec 2012, 16:01

How to show full entries?

Post by sogen » Sun 6. Jan 2013, 19:38

full entries(no "read more", no teaser))

Thanks.

Gert
Posts: 1103
Joined: Sun 18. Nov 2012, 14:18

Re: How to show full entries?

Post by Gert » Mon 7. Jan 2013, 15:24

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
Gert Ebersbach | CMSimple | Templates - Plugins - Services

sogen
Posts: 12
Joined: Mon 17. Dec 2012, 16:01

Re: How to show full entries?

Post by sogen » Mon 7. Jan 2013, 17:43

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!
:)

Gert
Posts: 1103
Joined: Sun 18. Nov 2012, 14:18

Re: How to show full entries?

Post by Gert » Mon 7. Jan 2013, 20:50

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] . "&realblogaction=view&realblogID=" . $field[REALBLOG_ID] . "&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
Gert Ebersbach | CMSimple | Templates - Plugins - Services

sogen
Posts: 12
Joined: Mon 17. Dec 2012, 16:01

Re: How to show full entries?

Post by sogen » Tue 8. Jan 2013, 05:20

Thanks, that worked great !

sogen
Posts: 12
Joined: Mon 17. Dec 2012, 16:01

Re: How to show full entries?

Post by sogen » Mon 21. Jan 2013, 05:03

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?

Gert
Posts: 1103
Joined: Sun 18. Nov 2012, 14:18

Re: How to show full entries?

Post by Gert » Wed 23. Jan 2013, 14:59

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
Gert Ebersbach | CMSimple | Templates - Plugins - Services

Post Reply