Hi all together,
I am new to the CMSMS community. I already have my basic installation up and running (1.0.8. Kona) but experience problems with the TrueTypeText Module (2.0.0-RC2).
To use image text, I am required to define at least one style, but when I try to my first new style, I get an error upon submission of the style name saying (also tried different casing and characters):
Notice: Only variable references should be returned by reference in
{path to cmsms}/modules/TruetypeText/class.style.php on line 33
Unable to save style
Unfortunatly, I am not much of a coder. I know a bit PHP to move stuff back and forth in my templates, but that's mainly it.
Is there a solution for my problem? Can I repair that with a few keystrokes? I browsed/searched the forum and web, but I probably already have tomatos on my eyes and couldn't find the solution. In that case, please excuse and point me to the solution.
I am always eager to learn more about the stuff behind, so any help is highly appreciated.
Thanks in advance
Best regards
Nils
---------------------------------------
Server specs:
------------------------
Apache 1.3.33 (Unix)
MySQL 4.0.25
PHP Version 4.4.7
GD Version bundled 2.0.28 compatible
FreeType support enabled
FreeType Linkage with freetype
CMS Specs:
------------------------
CMSMS 1.0.8. (Kona)
TrueTypeMod 2.0.0. - RC2
Additional cmsms modules/themes/plugins installed:
------------------------
none so far, pretty naked installation
Problem with TrueType Module / Can't create style
-
nhaack
Problem with TrueType Module / Can't create style
Last edited by nhaack on Mon Jul 02, 2007 12:09 am, edited 1 time in total.
-
nhaack
Re: Problem with TrueType Module / Can't create style
After frickeling around the whole night I switched to version 1.2.1. of TryeTypeText which will suit the purpose. It worked right from the spot.
I am still clueless, why the 2.0.0.RC2 doesn't work (or doesn't let me create styles) but hey, it is RC... so probably the stable release is more suitable for such users like me.
Thanks anyway. CMSMS really seems to be nice piece of software!
Best regards
Nils
I am still clueless, why the 2.0.0.RC2 doesn't work (or doesn't let me create styles) but hey, it is RC... so probably the stable release is more suitable for such users like me.
Thanks anyway. CMSMS really seems to be nice piece of software!
Best regards
Nils
Re: Problem with TrueType Module / Can't create style
Well, there seems to be a bug in my style class.
I'm sorry because I didn't have much time to follow Truetypetext development last months.
I'll try to see that next weeks...
I'm sorry because I didn't have much time to follow Truetypetext development last months.
I'll try to see that next weeks...
Re: Problem with TrueType Module / Can't create style
Well, perhaps can you do that :
replace line 33 of file class.style.php
by :
replace line 33 of file class.style.php
Code: Select all
return false;Code: Select all
$result = false; return $result;-
nhaack
Re: Problem with TrueType Module / Can't create style
Hi dam,
thanks for the pretty quick reply
. I really appreciate it since I am still at the very beginning of my CMSMS learning curve. I also really appreciate your effort put into the module. I think, since I will just use a modified ttf (monospace typewriter style) for headlines without any shadow or mirror styles I am perfectly fine with 1.2.1. as I got it working
.
I prefer having things as simple as possible, so the reduced options match my preferences and I don't have the feeling I miss some must-have-feature. Or shall i use 2.0.0RC2 in any case?
Best regards
Nils
thanks for the pretty quick reply
I prefer having things as simple as possible, so the reduced options match my preferences and I don't have the feeling I miss some must-have-feature. Or shall i use 2.0.0RC2 in any case?
Best regards
Nils
Re: Problem with TrueType Module / Can't create style
You're lucky : I don't spend a lot of time on this forum those days...nhaack wrote: Hi dam,
thanks for the pretty quick reply. I really appreciate it since I am still at the very beginning of my CMSMS learning curve.
I'll suggest you to use 2.0.0, because it's supposed to be betternhaack wrote: I also really appreciate your effort put into the module. I think, since I will just use a modified ttf (monospace typewriter style) for headlines without any shadow or mirror styles I am perfectly fine with 1.2.1. as I got it working.
I prefer having things as simple as possible, so the reduced options match my preferences and I don't have the feeling I miss some must-have-feature. Or shall i use 2.0.0RC2 in any case?
Best regards
Nils
And any feedback is welcome : it will help me to provide a bugfree 2.0.0 release...
Re: Problem with TrueType Module / Can't create style
I get a warning too when trying to add a style -
Code: Select all
Notice: Undefined variable: legendtext in root/lib/classes/module_support/modform.inc.php on line 566"One measures a circle, beginning anywhere" - Charles Fort
Re: Problem with TrueType Module / Can't create style
- first, got the same warning...
- second, any documentation would be welcome to use this very interesting but pretty obscure module : after creating a style, and putting an automatic replacement on html tag 'h2' (page title in the content), what must I do to make it works ?

Thanx !
Last edited by Franck on Thu Jul 19, 2007 12:53 pm, edited 1 time in total.
Re: Problem with TrueType Module / Can't create style
ok, back to version 1.2.1 that works fine for what I want...
v2 needs documentation and is really not user friendly imho.
v2 needs documentation and is really not user friendly imho.
-
cjg
Re: Problem with TrueType Module / Can't create style
Hello,
I am not a php coder, however to correct the below error:
Notice: Undefined variable: legendtext in root/lib/classes/module_support/modform.inc.php on line 566
edit modform.inc.php and locate the line:
$legend_text = cms_htmlentities($legendtext);
and change it to:
$legend_text = cms_htmlentities($legend_text);
Now this still leaves a problem as this module at this stage does not appear to work for me. When the above error was corrected, I get the same error that I got with 2.0.0, namely:
a red box with the error:
Unable to save style.
Is this version of the module actually working for anyone?
It seems that the versions before 2.0.0 have now been deleted, so I can not even try that.
Regards,
Christopher.
I am not a php coder, however to correct the below error:
Notice: Undefined variable: legendtext in root/lib/classes/module_support/modform.inc.php on line 566
edit modform.inc.php and locate the line:
$legend_text = cms_htmlentities($legendtext);
and change it to:
$legend_text = cms_htmlentities($legend_text);
Now this still leaves a problem as this module at this stage does not appear to work for me. When the above error was corrected, I get the same error that I got with 2.0.0, namely:
a red box with the error:
Unable to save style.
Is this version of the module actually working for anyone?
It seems that the versions before 2.0.0 have now been deleted, so I can not even try that.
Regards,
Christopher.


