Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • prakdis Friend
    #124535

    hi,

    as per demo, i set module JA-News on the front page, when I click at category title and/or read more for each category, it will show its content on FRONTPAGE. The problem is there are left, right module & other modules on the f/page.

    I want it to display on a NEW PAGE without other module. In nut, in full page, just the for the content.

    This is how it work now. When I click at the link of the JA-News module on the frontpage, it pont to http://abc.com/index.php?option=com_content&task=view&id=116&Itemid=1

    but I want it to link to http://abc.com.net/index.php?option=com_content&task=view&id=116
    (without &Itemid=1)

    so, after a long writing, i actually want to know how to make the link point to
    http://abc.com.net/index.php?option=com_content&task=view&id=116

    thanks

    prakdis Friend
    #235003

    SOLVED

    go to modules/mod_janews.php

    find this line :

    $link = sefRelToAbs( ‘index.php?option=com_content&task=view&id=’. $row->id . $Itemid );

    and change it to :
    $link = sefRelToAbs( ‘index.php?option=com_content&task=view&id=’. $row->id);

    bingo, it will link to new page.

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

This topic contains 2 replies, has 1 voice, and was last updated by  prakdis 16 years, 11 months ago.

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