The following code which is Javascript works on every other theme except Goofy. The theme is excellent and I have no idea why it has issues with this code. If anyone has any answer I would love to hear it. I have attached the code as a txt file as it contains javascript.

Thanks

CommentFileSizeAuthor
#5 goofy_modifed14.73 KBMad Maks
newsfeed.txt8 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

Me again.
I was looking at the CSS code and noticed the lines to strip out java code. Is this necessary for the blocks or is it a security feature? thx

peart75’s picture

i'm having the same issue, but it''s for a blog roll script. can you just take out the portion of the code and everything works fine? where are these lines located?

thanks,
drew

moshe weitzman’s picture

Title: Javascript issue with Goofy but no other theme to date. » reimplement block, node, and comment without javascript

there is no real reason why these HTMLs fragments have to be written out in javascript. As mentioned, it can break stuff.

Mad Maks’s picture

but is there a way to have a javacript (for example from weather.com) in a block?

Mad Maks’s picture

FileSize
14.73 KB

I am busy with the rewrite of the goofy them without the javascript. The node and the blocks are in the attached theme allready without JS, only the comment part still use JS.

please see if you find a error :-)

Mad Maks

Mad Maks’s picture

Title: reimplement block, node, and comment without javascript » Goofy.theme without JS
Anonymous’s picture

Mad Maks
There are couple of bugs.
First off all when I try to change some block I get error:

warning: Cannot modify header information - headers already sent

Second thing is number of guest. It shows some crazy number, and every time I reload page I get a number higher.

You can see it on http://zawireless.afz.biz/

Mad Maks’s picture

warning: Cannot modify header information - headers already sent

i will have a look in it.

Second thing is number of guest. It shows some crazy number, and every time I reload page I get a number higher.

I saw this behavior before, so i don't think it has something to do with my modification.

(nice to see that you use my mod allready on a life site :-) )

Mad Maks’s picture

i can not reproduce your error. i think it is a problem on your site. i have to say that i am using a newer version of my mod so maybe that is the solution. i will post later the newest version here. (have to migrate my changes to the orgional version)

Mad Maks’s picture

see my new report in http://drupal.org/node/17411

TDobes’s picture

As a result of the work in the other issue, a non-js version of the goofy theme is now in CVS.