Close

Account

Documentation

Forum

Menu

Same Post Content showed when listed after a category selection

  • Post count: 32
    fsalvares
    November 8, 2017 at 11:33 am #25186

    Hi,

    When selecting a category to present a list of related posts, JNews is presenting the same content on all posts listed. It seems that it is repeating the content of the first post listed (guessing).

    The same behavior happens when presenting posts that resulted from a search.

    Here is snapshot that ilustrates what is happening: http://www.olharrefletido.com/misc/jegtheme-same-post-content-showed.jpg

    I have version 1.0.3 of JNews just installed.

    Thanks !

    Fernando (Brazil)

    Post count: 6417
    Adek
    November 9, 2017 at 2:18 am #25233

    Hi Fernando,

    We already notice that issue on our side and we will fix on next update. We will release hotfix update for this as soon. Thanks for your report anyway.

    Regards

    Post count: 32
    fsalvares
    November 9, 2017 at 7:13 am #25241

    Hi Adek,

    Thanks for your informantion.

    Fernando (Brazil)

    Post count: 6417
    Adek
    November 9, 2017 at 9:13 am #25247

    Hi Fernando,

    You’re welcome.

    Anyway, for meantime maybe you can try to go edit this file /jnews/class/Module/ModuleViewAbstract.php then jump into line 328. You will find this code $excerpt = get_the_excerpt($post->ID);. Then replace with this one $excerpt = $post->post_excerpt;

    Let us know if you still getting a problem in there.

    Thank you

    Post count: 32
    fsalvares
    November 9, 2017 at 10:23 am #25253

    Hi Adek,

    Applied patch you sent me. Problem fixed.

    Here it is working ok.

    http://www.olharrefletido.com/misc/jegtheme-same-post-content-showed-problem-solved.jpg

    Thanks again !

    Fernando (Brazil)

    Post count: 6417
    Adek
    November 10, 2017 at 1:14 am #25268

    Glad to hear that.

    Thank you

You must be logged in to reply to this topic.