Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • assadniang Friend
    #128593

    Hello,

    How can I add links ex: (<a href=”http://www….”>This Link</a>) to the front page news?
    Whenever I add a link it does not show up in the front page news.

    Thanks

    Sherlock Friend
    #249380

    Hi assadniang !
    What joomla version do you use ? 1.5 or 1.0
    With joomla 1.5 you open mod_janews_fp.php file , find code section at about line 28:


    if (count($rows)) {
    $path = JModuleHelper::getLayoutPath('mod_janews_fp', $fp_layout);
    if (file_exists($path)) {
    require($path);
    }
    }

    change to :


    echo "<a href="http://www....">This Link</a>";
    if (count($rows)) {
    $path = JModuleHelper::getLayoutPath('mod_janews_fp', $fp_layout);
    if (file_exists($path)) {
    require($path);
    }
    }

    assadniang Friend
    #249413

    I want to be able to add the link from the editor, because it is not a static link, it might change from time to time. When I input a link from the editor, and I go to the front page it does not show up. Looks like it strips out the link.

    Thanks

    Sherlock Friend
    #249508

    Hi assadniang !
    If you want it add link from editor , You must add it to all articles Which is select is display front page . Please view image attachment for detail :

    assadniang Friend
    #249530

    Hio,
    Thank You for your answer, but I don’t think you understand my question.

    Whenever I add a link inside the editor to show up on the front page module (ja_news_fp), it does not show up on the frontpage. There is a code somewhere that strips the html. I want to bypass that.

    Sherlock Friend
    #249656

    assadniang !
    i have understood this problem , Please send link of your site and admin information via pm , i will check it for you ! I think that have a problem in html link code .

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

This topic contains 6 replies, has 2 voices, and was last updated by  Sherlock 16 years, 6 months ago.

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