Page 4 of 16

Posted: Thu 8. Apr 2004, 16:50
by Fulvio Romanin
errrr.....
i know i always ask for the moon, but couldn't it be possible to make the GT tag spaw-compatible so we can decide the font directly in the WYSIWYG editor and see all the fonts there? :)

(hides)

Posted: Thu 8. Apr 2004, 16:52
by Jérôme
Wohow. You and your SPAW ;). No, this will not be possible, I fear. This is just a replacement tag, nothing else - you can't "include" other replacement tags in SPAW, do you?

Posted: Thu 8. Apr 2004, 16:58
by Fulvio Romanin
*SIGH* :wink:

Posted: Thu 8. Apr 2004, 17:04
by frold
Fulvio Romanin wrote:errrr.....
i know i always ask for the moon, but couldn't it be possible to make the GT tag spaw-compatible so we can decide the font directly in the WYSIWYG editor and see all the fonts there? :)

(hides)
Well you can use the replacement tags inside spaw!!

Posted: Thu 8. Apr 2004, 17:07
by Fulvio Romanin
yes, of course
but since i'm a lazyass i'd like to just have the selector with the font name, and that's all...consider how easy it might be to have clients decide their own font.....


besides that, to whom it may concern: i'm moving forward with my flash frontend after a long, forced pause...

Posted: Thu 8. Apr 2004, 17:07
by pSouper
would you like some stars and a few planet with that moon too Frold :)
maybe I could warm then up a little too

Posted: Thu 8. Apr 2004, 17:10
by frold
Fulvio Romanin wrote:yes, of course
but since i'm a lazyass i'd like to just have the selector with the font name, and that's all...consider how easy it might be to have clients decide their own font.....
In spaw you can define your own stiles maybe jerome can make a hack for that :D

Posted: Thu 8. Apr 2004, 17:35
by frold
Req: maybe you could make a preview of the fonts under the Fonts

Posted: Thu 8. Apr 2004, 18:16
by frold
another REQ

instead of tags like this:

{GT:tri_b:24:003366:text} it would be cool if you could do like this:

{GT:tri_b:24:003366}text{/GT} or something like that cause then you could use this tags for all the other replacements tags like:


{GT:tri_b:24:003366}{BREADCRUMB}{/GT}

{GT:tri_b:24:003366}{AUTHOR}{/GT}

{GT:tri_b:24:003366}{DATE_LONG}{/GT}

etc-.

Posted: Thu 8. Apr 2004, 18:18
by Jérôme
Good idea, frold, I will try to to implement this.

Posted: Thu 8. Apr 2004, 20:25
by Jérôme
I have just released Version 1.0.1. This will fix some bugs. There are some more, but for them I will need more time.

The replacement tag has changed slightly:

{GT:font_shortname:fontsize:color:(backgroundcolor):text}

backgroundcolor is optional (that is why it is in brackets)

Posted: Thu 8. Apr 2004, 22:51
by snobba
Now we can make great looking navbars with this function! I am sure that this will be an option for navbartable in the future!

But mine just don't want to work! I have installed it a couple of times by now (also the new one) but in IE it just shows that a pictures should be there but it can't find it! And in Mozilla it just shows the text..the properties of the 'picture' is

Code: Select all

http://localhost/NITROMEDIA_CMS/include/inc_module/mod_graphical_text/inc_fonts/fontizer.php?font=trebuchet.ttf&size=10&color=000000&bgcolor=ffffff&text=testingtext
From the tag: {GT:tre:10:000000:ffffff:testingtext}
And this path is good! And I can then also see that he finds the shortcut because it displays the .tff name..

????? Such a useful function and I can't use it! :cry: :cry:

I also tried to change to GD1 and IM out /on and so on but I just do not know if this matters at all..?

Greetings from Martin

Posted: Thu 8. Apr 2004, 23:38
by Jérôme
For Mozilla it is also a broken picture, but it displays the ALT-Text, that is why it looks irritating.

To be honest, I don't know why this does not work in your browser, because the path seems to be correct, as you say it.

It could be a GD-issue, but I don't know which - as you need GD for phpwcms I thought that this would always work :/

Can you try the same thing on a real server to test if this works?

Posted: Thu 8. Apr 2004, 23:43
by Jérôme
For the test you could try to set the font in fontizer.php manually and statically, if it works when you put the full path to the font.

Search the line

Code: Select all

$fonttype="$font";
and change $font to the full path to one of your font-files.

So we can see if it has something to do with the location.

(Don't wonder about this line, it is so because me myself I tested something ;))

Posted: Thu 8. Apr 2004, 23:59
by snobba
Noop...still nothing... :cry:

Well I have to leave it for now, after all it is just a 'lazymachine' :wink: and everything can be done by hand as normally..(trying to convince myself that I do not really need it :) )

And I didn't know that it didn't work for Mozilla..Like when everything looks exactly how I intended...

Thanks J.!

Martin