Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • rhys_daniels Friend
    #136706

    I want the “Fireboard” link in the footer to open in a new window. Please can you tell me what file requires editing.

    Ive attached a screenshot so you can see the link im referring to.


    1. fireboard-url
    rhys_daniels Friend
    #289582

    <em>@rhys_daniels 103354 wrote:</em><blockquote>I want the “Fireboard” link in the footer to open in a new window. Please can you tell me what file requires editing.

    Ive attached a screenshot so you can see the link im referring to.</blockquote>

    Anyone with any ideas on the fix for this issue?

    reachthesky Friend
    #289702

    yes mate, make sure you add the following Extra line to the code. it will eventually look like this:

    Powered by <a href=”http://www.urlink.com” target=”_blank”>Fireboard </a>

    target=”_blank means to open in a new page. that should do it for you.

    rhys_daniels Friend
    #289731

    <em>@reachthesky 110061 wrote:</em><blockquote>yes mate, make sure you add the following Extra line to the code. it will eventually look like this:

    Powered by <a href=”http://www.urlink.com” target=”_blank”>Fireboard </a>

    target=”_blank means to open in a new page. that should do it for you.</blockquote>

    Hi reachthesky

    What file do i need to edit in order to make the amendamants?

    reachthesky Friend
    #289758

    have you checked in components/com_fireboard/fireboard.php , or forum.css

    rhys_daniels Friend
    #289787

    <em>@reachthesky 110137 wrote:</em><blockquote>have you checked in components/com_fireboard/fireboard.php , or forum.css</blockquote>

    I found the code that needs editing.

    The files located @ components/com_fireboard/sources/fb_link.class.php

    The code is below:

    function GetCreditsLink()
    {
    return fb_link::GetSefHrefLink(‘http://www.bestofjoomla.com’, ‘FireBoard’, ‘FireBoard’, ‘follow’);
    }

    One thing though no matter how i have tried to enter the _blank extension it doesent open in a new window.

    Does anyone know what i need to add/edit to the above code for the link to open in a new window???

    rhys_daniels Friend
    #289791

    <em>@rhys_daniels 103354 wrote:</em><blockquote>I want the “Fireboard” link in the footer to open in a new window. Please can you tell me what file requires editing.

    Ive attached a screenshot so you can see the link im referring to.</blockquote>

    Please open file componentscom_fireboardsourcesfb_link.class.php, at about line 35, find follwing script:

    function GetCreditsLink()
    {
    return fb_link::GetSefHrefLink(‘http://www.bestofjoomla.com’, ‘FireBoard’, ‘FireBoard’, ‘follow’);
    }

    and change to:

    function GetCreditsLink()
    {
    return fb_link::GetSefHrefLink(‘http://www.bestofjoomla.com’, ‘FireBoard’, ‘FireBoard’, ‘follow’,”,”,’ target=”_blank”‘);
    }

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

This topic contains 7 replies, has 2 voices, and was last updated by  rhys_daniels 15 years, 9 months ago.

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