Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • rjclaudin Friend
    #156348

    My JA Teline III V2 dont show sections with Sobi2 and Myblog component.

    If u see source code, you see correctly the html, but template dont show…
    look for example here

    a post in myblog
    http://www.periodistas-es.org/blogs/ana-de-luis/yo-no-vote-a-zp

    a user profile in myblog
    http://www.periodistas-es.org/blogs/autor/ana-de-luis

    Check source code for see text…

    and for sobi 2 look this
    http://www.periodistas-es.org/sobi2/alojamiento

    aman204 Friend
    #362642

    You can try go to ::

    templates/ja_teline_iii_v2/hook.php and change this::

    //custom_body_class
    function custom_body_class () {
    $cls = ”;
    if (JRequest::getCmd (‘view’) == ‘frontpage’) $cls .= ‘ frontpage’;
    return $cls;
    }

    to

    //custom_body_class
    function custom_body_class () {
    $cls = ”;
    if (JRequest::getCmd (‘view’) == ”) $cls .= ‘ frontpage’;
    return $cls;
    }

    rjclaudin Friend
    #362708

    OK let me explain, I used somedays ago this change for see Jomscial…the problem is:

    if hook have:

    //custom_body_class
    function custom_body_class () {
    $cls = '';
    if (JRequest::getCmd ('view') == 'frontpage') $cls .= ' frontpage';
    return $cls;
    }

    Extention “Myblog” work
    http://www.periodistas-es.org/blogs/concierto-de-javier-krahe-en-elaborigen-de-cercedilla
    Extention Sobi2 work
    http://www.periodistas-es.org/sobi2/alojamiento

    but Extention JomSocial dont work
    http://www.periodistas-es.org/comunidad/inicio
    have format index.php?option=com_community&view=frontpage

    y the other case if

    //custom_body_class
    function custom_body_class () {
    $cls = '';
    if (JRequest::getCmd ('view') == '') $cls .= ' frontpage';
    return $cls;
    }

    Jomsocial work but the other not

    how can i make for all work….

    corwin1 Friend
    #362740

    this is not a solution… Others componens doesn’t work after that fix. For example JReviews doesn’t work after that fix…

    aman204 Friend
    #362759

    Hi rjclaudin,

    It does work fine for jomsocial if we remove in this code syntax as seen here in this thread:

    http://www.joomlart.com/forums/topic/no-jomsocial-frontpage/

    as It got sorted for another member here.

    I am still, able to see specific class attribute in your case for jomsocial frontpage

    Hi corwin1,

    Can you provide direct link where you have jreviews installed to take closer look 🙂

    rjclaudin Friend
    #362827

    if you use firebug and change line
    <body class=”fs3 frontpage” id=”bd”> to <body class=”fs3″ id=”bd”>
    then appears all jomsocial page correctLY

    the final solution

    function custom_body_class () {
    $cls = '';
    $option = JRequest::getVar( 'option' ,'');
    if (JRequest::getCmd ('view') == 'frontpage' && $option == 'com_content') $cls .= ' frontpage';
    return $cls;
    }

    now all works:D

    corwin1 Friend
    #362896

    <em>@rjclaudin 203499 wrote:</em><blockquote>if you use firebug and change line
    <body class=”fs3 frontpage” id=”bd”> to <body class=”fs3″ id=”bd”>
    then appears all jomsocial page correctLY

    the final solution

    function custom_body_class () {
    $cls = '';
    $option = JRequest::getVar( 'option' ,'');
    if (JRequest::getCmd ('view') == 'frontpage' && $option == 'com_content') $cls .= ' frontpage';
    return $cls;
    }

    now all works:D</blockquote>

    HI rjclaudin, after your fix JomSocial and JReviews are working properly. Thanks

    corwin1 Friend
    #363328

    <em>@corwin1 203607 wrote:</em><blockquote>HI rjclaudin, after your fix JomSocial and JReviews are working properly. Thanks</blockquote>

    I found that Ja News Frontpage is not working properly with that fix… I get informations from JA News Frontpage and down under there are featured articles one more time… which is completly useless….

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

This topic contains 8 replies, has 3 voices, and was last updated by  corwin1 14 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum