2013-01-29, 20:21:34
(2013-01-29, 19:57:50)arkinsstoun Wrote: Where to define a template for the full post? When I click on the post's title the page with all blog posts is displayed. No matter of categories. And there is no picture related to the blog post.
I think the "post" template is assumed by the "blog" template. When you select the "blog page" in preferences, it asumes blog uses the template the "blog page" are configured to use.
The thumbnail does not appears in the post by default. Only in the xcerpt.
But you can change the GS Blog code to allow show thumbnail in both:
You must edit the blog/inc/frontEndFunctions.php file and here is is my modification:
PHP Code:
<p class="blog_post_content">
<?php
if(!isset($_GET['post']) && $blogSettings["postthumbnail"] == 'Y' && !empty($post->thumbnail))
{
echo '<img src="'.$SITEURL.'data/uploads/'.$post->thumbnail.'" style="" class="blog_post_thumbnail" />';
}
if($excerpt == false || $excerpt == true && $blogSettings["postformat"] == "Y")
{
if( $blogSettings["postthumbnail"] == 'Y' && !empty($post->thumbnail))
{
echo '<img src="'.$SITEURL.'data/uploads/'.$post->thumbnail.'" style="" class="blog_post_thumbnail" />';
}
echo html_entity_decode($post->content);
}
else
{
if($excerpt == true && $blogSettings["postformat"] == "N")
{
if($blogSettings["excerptlength"] == '')
{
$excerpt_length = 250;
}
else
{
$excerpt_length = $blogSettings["excerptlength"];
}
echo $Blog->create_excerpt(html_entity_decode($post->content), 0, $excerpt_length);
}
}
if(!isset($_GET['post']) && $blogSettings['displayreadmore'] == 'Y')
{
echo '...  <br /><a href="'.$url.'" class="read_more_link">'.$blogSettings['readmore'].'</a>';
}
?>
</p>
I attach the entire file.

Salu2 de jEsuSdA 8)