would love to see it run.. on D6

Comments

catorghans’s picture

Status: Active » Needs review
StatusFileSize
new17.42 KB

I made a Drupal 6 version.

I am not using all it's functionality AND it's my first drupal 6 module, so please test carefully.

Macronomicus’s picture

This appears to be only partially working ... at least for me.

First, I could not seem to resolve the font path on my test environment, which unfortunately is a WAMP setup.
Had to move it to my online LAMP server to get the paths to resolve correctly.

Now all I see is a black box in place of my replaced title ... and in the cache directory those created images are all black as well.

I'm guessing it may just be my font or some issue with the GD library.

Not sure if anyone else had similar issues...
I will keep pecking away at it and post back here what I find.

Thanks for starting this port!!!

Macronomicus’s picture

I think its my choice of background color... #E8DEC
For some reason it wont work with that and creates a black image instead.
Strange and annoying ... as thats the color of my main page elements which the titles lay atop.
Im so close! It works when I make the background white! lol

Macronomicus’s picture

Status: Needs review » Reviewed & tested by the community

OMG im so lame!

lol I didnt even notice thats only 5 characters instead of E8DEC1 which it should be.
.....thinking lack of sleep is catching up to me!
Dohh!

So yea I can confirm that your patch works and is ready for prime-time!

catorghans’s picture

great.

I used it on my second site, where it also worked as it should: www.hbll.nl
(the top menu is signwritered)

Macronomicus’s picture

Nice site ... were you able to set some sort of anti-aliasing? Your fonts seem to come out very clean.
Thanks again for this most excellent D.6 Port!
^_^

catorghans’s picture

I always use the background color of the site as the background color of the image (even if I make the background transparent)

decafdennis’s picture

Before checking this in, note that catorghans has reordered some of the functions, and that the files have windows line endings.

catorghans’s picture

thanks, the line endings will not happen again (switched to linux)

Macronomicus’s picture

Is there some particular way to handle block titles in D6?
I have been able to make filters as well as replace my page titles ... but for some reason im not able to get the block titles done with the example provided which I have below.

<?php
$signwriter = signwriter_load_profile('block_title');
$signwriter->text = $block->subject;
$url = signwriter_url($signwriter);
print '<img src="'. signwriter_url($signwriter) .'" alt="'. $block->subject .'" />';
?>

If I figure it out I will post back here.

pillarsdotnet’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new16.27 KB

Ahem! A zipfile containing the complete edited module is *not* a patch.

I have compared your edited version with today's cvs HEAD checkout and minimized the number of changes.

The resultant patch is attached; I have not tested it, so I am changing the status back to "code needs review".

agileware’s picture

There is now a 6 dev version up which has this patch with some bug fixes plus the most recent changes that were done to the 5 version.

It seems to be stable but if peolpe can test it out that would be great.

Thanks.

agileware’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.