On 4 November 2011 03:46, zoebaggins <[email protected]> wrote: > I've been trying to figure out how to make the "read more" feature > work for awhile now but I can't really seem to get it working. I've > used <!--more--> and tried messing around with the coding in theme.php > (I'm using a premade template) but it's still not working. > > Format::apply_with_hook_params( 'more', 'post_content_out', _t('Read > More...'), 250, 1 );
This means Habari will apply the more function either when you use <!--more-->, after 250 characters, or one paragraph, whichever comes first, when you call $post->content_out(), which will output directly, or $theme->content_out($post), which will look for a template based on the post's content type. No summarisation will happen if you're looking at the actual post of course. This wiki page might help to explain more too http://wiki.habariproject.org/en/Using_Excerpts. If that still doesn't make sense, can you post the template that you're outputting the post as well? -- Michael C. Harris, School of CS&IT, RMIT University http://twofishcreative.com/michael/blog IRC: michaeltwofish #habari -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/habari-users
