normal Replace the Dragons Joomla 2.5

9 years 7 months ago - 6 years 2 months ago #617 by bram
Replace the Dragons Joomla 2.5 was created by bram
Use DF_DRAGONS in your xhelpers.php to replace the text 'Just dragons here'
define('DF_DRAGONS','Nothing found');

to redirect to a diferrent page:

define('DF_DRAGONS',' <script language="JavaScript"> window.location = \'https://www.example.com\' </script>');


This feature might move to the menu configuration in the future.


  • Posts: 1421
  • Thank you received: 234

  • Gender: Unknown
  • Birthdate: Unknown
  • Last edit: 6 years 2 months ago by bram.

    Please Log in or Create an account to join the conversation.

    6 years 2 months ago #3854 by prijsreus
    Replied by prijsreus on topic Replace the Dragons svn:1513
    Hi, i asume i need to use helpers.php in the '/public_html/components/com_datafeeds/helpers' folder. When i add the code the website freezes.
    I put the code on the bottom of the page like:

    define('DF_DRAGONS','Nothing found');
    }
    }


  • Posts: 8
  • Thank you received: 0

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in or Create an account to join the conversation.

    6 years 2 months ago #3860 by bram
    Replied by bram on topic Replace the Dragons svn:1513
    it should be in xhelpers.php and your example as to many }'s

    and for joomla 3 it changed : affiliatefeeds.nl/datafeeds-configuratio...s-joomla-3.html#3859


  • Posts: 1421
  • Thank you received: 234

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in or Create an account to join the conversation.

    Time to create page: 0.178 seconds