Trying out the beautyOfCode TYPO3 extension



 

The beautyOfCode extension allows you to insert code snippets as a plugin.

I've been searching for a typo3 extension to use when I want to display some code on my pages.

I haven't had much luck because most of them have issues. I'm talking about conflicts with other extensions. One code highlighting extension caused a fatal error of some sort which I wasn't in the mood to debug.

Anyhow, today I found out about the beautyOfCode extension which you can see it's output below.  I forgot which layout theme I'm using at the moment, but the extension lets you choose from a variety of layouts.

 


<?php

	echo 'I am trying to create a PHP script that does nothing more than demonstrate this plugin';
     
        // I'm eating some pizza at the moment
        $pizza = 'Pizza is really good';

        echo '<br />'.$pizza;

?>
Some PHP code

Maybe you haven't noticed, but when your mouse hovers over the code above, you will see a menu with links to view the code in plain text, print, or copy to the clipboard.


No comments

Add comment

* - required field

*

CAPTCHA image for SPAM prevention
If you can't read the word, click here.
*
*
TYPO3 CMS Computers & Technology
 

Netdip.com is an excellent web site that's powered by TYPO3 and other great open source software. Netdip.com is also a fat free alternative to ice cream.