This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Image module security issue

I got this from webhost:

Hello,

We have been reported the following problem:

JavaScript Into Pages?

Dang. I typed up a nice, long question and then hit "Preview", when it returned a "stopped because of suspicious content" instead of my preview. And because I couldn't give FireFox to give me the POST data that I could keep resending, I have to type it all over again. I hope I can think straight after thirty minutes of typing has to be redone. (On the other hand, if I have to retype it, maybe it will be more succinct.) Hmm, it seems the they don't want me putting real head and body tags into the e-mail. We'll just have to pretend.

So, I'm new to Drupal and can easily see how this stuff will make my life as w eebsite designer/programmer a bit more productive. As a proof of this, I am working on transforming a small, static site to Drupal so that the people I made the site for can make monthly, minor changes on their own instead of having my help. But I'm having a couple problems.

My main problem is the use of a JavaScript application to give a photo slideshow on one page. I've replicated most of the other content into a page node and created a menu for the site. But, as you can see, this thing has JavaScript in the head area and in the body tag. Here's the page that I'm trying to put into Drupal: http://whiterockcoffee.com/roasting.html

I was looking at the DrupalDocs.org site and found a number of useful things on starting my own module to recreate this slideshow. I'm thinking of creating a custom tag that I can parse and insert the right code, including the JavaScript, thanks to the filter_example.module. But as to how to get the JavaScript into the head area, I'm a bit confused.

Need help with jsdomenu..

I just recently grabbed jsdomenu, and it looks like it has the basics of what I need, however I am not sure if it is possible or how to get it to do the following:
1) Allow for multiple vocabulary, not just one selected.
2) Have each vocabulary have static/absolute placement around a div, that would encapsulate and image, so when clicking on the image it would show the menu for that vocabulary.

Bad feed, or weird aggregator behavior?

I'm trying to add the following podcast feed to my Drupal aggregator:
http://poempresent.uchicago.edu/poempresent_audio.rss

When I look at it, it's got 29 items listed. When I put it into iPodder and check the feed, I get 29 files downloaded. When I put it into the Drupal aggregator, though, it only gives me two items: the first one and the last one. Why only two? Why only those? Is this a problem with the feed or the aggregator? I don't get any watchdog messages or other errors.

Moshe Weitzman, help me!

Moshe,

Hi. I would like to mention that I am a fan of yours. I also would like to thank you for your response to an earlier question of mine about Organic groups. Now that I've gotten that off my chest, I have a question that I am hoping you will help me with.

If I have a node object (some posting like a story or a calendar event for example), how can I determine whether a particular group is in its audience?

Determining a user's current node

Hello,

Suppose that I am in user.module and I have a user object or a uid corresponding to a particular user. How can I determine what node that user is currently viewing?

Justin

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions