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

warning: imagegif() [function.imagegif]: Unable to open [image] for writing in [path]

I'm getting this with error with the flexinode image:

warning: imagegif() [function.imagegif]: Unable to open 'files/DOCSWEB-4_th.gif' for writing in /home/searcyc/public_html/includes/image.inc on line 300.

What permissions do I need for images? The rights are 755, though I thought all files should be 644. And what's the ownership - 'nobody'?

Category Module: Find Distant Parent Path to root?

Hello,

I'm working with the category module, and I have a problem. I'm attempting to add some functionality into the module, but I'm running into a problem:

I'm using active select, so I have a hierarchy of hidden containers. What I need is the Distant Parent path to root - that is, given a category, I need an array of it's distant parent category, it's distant parent category's distant parent category, and so on until the root Container. How would I go about getting this accomplished?

any help would be great,
Thanks!

Zenphoto integration

hello there,

that is my first post hire. So, my question is did anyone use www.Zenphoto.org gallery? and if not, how can I integrate it for my Drupa? Thanks a lot

PS: sorry for my broken English.

Defining path to custom stylesheet for each instance of a node-type

I've created a module to import html pages, and I need to be able to load a custom stylesheet that is different for each instance of the node-type. I have created the necessary form and database code to get the path into a field in the database, but I can't figure out how to retrieve that path so that the custom stylesheet is used when the node is viewed. I've tried several variations of the following:

Get a list of terms when creating a custom node

Now that I have created a simple custom node, i would like to add a category selection in my form so that my custom node can be categorised. Is taxonomy_form the function to use for this? If not, can someone point me in the right direction?

Only show top-level book on Category page

I'm assuming that I can do this somehow with Views?

What I want is for the Category index page to only show top-level book pages, as well as pages, stories etc. So, I'd envision something like the following showing up on example.com/memory:

BOOKS ABOUT Memory:

>> FAQs
>> Techniques

NEWS ARTICLES ABOUT Memory:

- FBI discover Mice aremore intelligent than President
- Mice discover FBI lack any genuine intelligence

PAGES ABOUT Memory:

- Feedback we've received
- Why we started this site

And so on...

Pages

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