Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • yerg Friend
    #118665

    Since upgrading to 1.0.12 the Spotlight area has been misbehaving.

    Clicking on a link to an article, or the read more, on the front page takes you to that article and the spotlight remains. Even though the module concerned has it’s setting to only show on the front page.

    Heres a link to try

    Any ideas as to why?

    — edit —

    I thought this issue was related to socio tag but it’s not. I can switch that off and the same issue is still there.

    kallan Friend
    #214311

    I had a look and it seemed to work correctly – have you resolved this issue?

    Khanh Le Moderator
    #214322

    Hi yerg,

    That’s not your problem or template problem. The problem comes from Joomla version 1.0.12. To fix this problem, you need modify joomla code: replace function _Itemid( &$row ) in file components/com_content/content.html.php by the the function in Joomla v1.0.11.

    yerg Friend
    #214329

    hmmm

    ok so what do I need to do with this now … _Itemid( &$row ) ??

    I’m a dab hand at implemtation and getting Joomla doing stuff but I’m rather a dead head when it comes to coding 😉

    Khanh Le Moderator
    #214332

    Ok, you need modify function _Itemid. Open file components/com_content/content.html.php, search this code:


    function _Itemid( &$row ) {
    global $task, $Itemid, $mainframe;
    $row->_Itemid = $Itemid;

    if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
    // where Itemid value is returned, do not add Itemid to url
    $row->Itemid_link = '&Itemid='. $row->_Itemid;
    } else {
    // where Itemid value is NOT returned, do not add Itemid to url
    $row->Itemid_link = '';
    }
    }

    And replace with:


    function _Itemid( &$row ) {
    global $task, $Itemid, $mainframe;

    if ( $task != 'view' && $task != 'category' ) {
    $row->_Itemid = $mainframe->getItemid( $row->id, 0, 0 );
    } else {
    // when viewing a content item, it is not necessary to calculate the Itemid
    $row->_Itemid = $Itemid;
    }

    if ( $row->_Itemid && $row->_Itemid != 99999999 ) {
    // where Itemid value is returned, do not add Itemid to url
    $row->Itemid_link = '&Itemid='. $row->_Itemid;
    } else {
    // where Itemid value is NOT returned, do not add Itemid to url
    $row->Itemid_link = '';
    }
    }

    yerg Friend
    #214545

    Apologies for not getting back but the forum hasn’t emailed me as it should. Will see how this goes.
    Many thanks

    yerg Friend
    #214603

    Nope made no difference

    If you go here and click on the red word Accountability you’ll see what the problem is.

    Khanh Le Moderator
    #214604

    I visit your site and click on the red word but cannot see any strange problem.

    yerg Friend
    #214721

    Cleaning the server cache helps. < red faced >

    Heads up to the admin guys This forum does not send emails relating to topics I am subscribed to. I’ve yet to receive one from any that I requested.

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

This topic contains 9 replies, has 3 voices, and was last updated by  yerg 17 years, 9 months ago.

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