[Typo3] Gremlin: GIFBUILDER 256 color patch

JoH info at cybercraft.de
Sat Oct 22 19:29:12 CEST 2005


> Don't know why this is not working for your extension since the same
> "PATH_tslib" exists in many other extension that have been working
> flawless before.

After changing two lines the extension seems to work now.
There seems to be a problem since there is no definition of "PATH_tslib" in
"typo3/init.php".

So line 227 should be:

require_once(PATH_site."tslib/class.tslib_content.php");


After fixing this, there was a new error message, this time in the FE
output:
Fatal error: Cannot redeclare class tslib_cobj:ux_tslib_cobj in
/home/cmsbox/4any1.de/typo3conf/ext/kb_allcolors/class.ux_tslib_content.php
on line 250

After changing line 250 to

class ux_tslib_content extends tslib_cObj {

everything seems to be working fine.

The result is much better than before. No artefacts in background-images
around the letters anymore.

Have a look at this page http://nenni-art.4any1.de while keeping in mind
that all "transparency" inside or around letters is in fact a cropped 24bit
background image with some GIFBUILDER text rendered over it.
BTW: Don't complain about the design - that has not been our job!


Good job! And thanks for sharing, Bernhard!

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list