How do you get root link of your Joomla! instalation?
Like this:
JURI::root()
Taken from here.
To download file you can use php script as it is described here, but in Joomla! you must add this line of code:
ĂÂ while( @ob_end_clean() );
You should switch to html view and enter, for example:
<pre xml:html><!-- your HTML code here --></pre>
Don't forget to turn on GeSHi plugin in the plugin manager!
Taken from here.ĂÂ
Page 7 of 7