I found a bug with the module. It would show the title of ALL node, even the unpublished ones.
Another bug was with the height variable. If the variable was 0 the text height would be 0. Internet Explorer 7 would not show the Marquee, other browsers were fine.
New features and changes:
We use this module for a notice on our Intranet web site for our users, such as a server outage. We created a new content type/Node type called a notice, which we can publish or unpublish and modify as necessary. I added a style or format variable to allow users to change the font color, size, etc of the Title as necessary. No quotes are necessary. We have the Scroll Format for our "notice" as: color: red;font-size: x-large;
I changed the format of the Marquee text to allow for the style formatting mentioned above. And changed the link to the node to a "Read more" link.
I also changed the code so the entire block data is not processed if there is nothing to show. In out environment if there are not any published Node types, the block is not even created. This would save bandwidth and processor type for an active web sites.
| Comment | File | Size | Author |
|---|---|---|---|
| scrolltext.module_1.patch | 3.02 KB | pvanhorn |
Comments
Comment #1
drupalnesia commentedVersion 5.x-1.2 Now display only Published node, see this issue http://drupal.org/node/194720
Another bug was with the height variable: yes, use must use "200" instead "0" in IE7. I don't know how to fix this bug.
Scroll Format: please use DIV id="scrolltext" to format the text using CSS file
And changed the link to the node to a "Read more" link: Scrolltext still using entire Title as link
I also changed the code so the entire block data is not processed if there is nothing to show: Thanks, added to 5.x-1.2
Thanks for many suggestions and patch code.