Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5480

    first of all, great theme.

    I made ​​some changes and created new “widgets” and then add in the “Template Builder”. http://d.pr/qG3A

    In this case I created one called “blog home” and show it in the main index (http://laive.evdomainserver.com) and looks the way I want, that is, only until before the “read more”.

    However, when I publish it in another template http://d.pr/Rnpl, such as “catalog” (http://laive.evdomainserver.com/catalogo-de-productos/) this shows the whole post . I researched all the code and can not find where to change this.

    I hope you have understood my question and can helpme.

    Thank you very much.

    #50468

    This problem should be fixed in the next update. The includes/helper-templates.php file is missing the $more variable declaration and a $more = 0; in the blog function.

    Open up includes/helper-templates.php and replace:

    function blog($element)
    {
    extract($element['saved_value'][0]);

    global $avia_config;

    with:

    function blog($element)
    {
    extract($element['saved_value'][0]);

    global $avia_config, $more;

    And replace:

    Code:
    echo “<div class=’template-blog content’>”;
    get_template_part(‘includes/loop’,’index’);

    with this:

    Code:
    echo “<div class=’template-blog content’>”;
    $more = 0;
    get_template_part( ‘includes/loop’, ‘index’ );

    #50469

    hey dude… thanks a lot… it works!!!

    #50470

    Glad that Icould help you :)

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Template Builde and show post’ is closed to new replies.