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

Module works only for the administrator

Hi,
I have been working on an updated version of htmltidy, but, crazy as it sounds, the module does not work properly if the user is not logged in as administrator.

If the user is not logged in and is using Internet Explorer of Firefox, only a white page will be displayed. Instead, works correctly with Opera and Curl (and some other file fetching tools).

Any suggestion? I have of course cleared the cache.

You can see the module here: http://drupal.org/node/80160

Andres

Very new, need snippet help

I want to display everything a user has posted, basically display a list. I found this snippet:

http://drupal.org/node/63965

and cannot get it to work. Does it not work in drupal 4.7? What I did is create a page, pasted the code into it, and then click php as the type of page. After I did that it dispalys a blank page. I'm guessing I'm missing a step.

Getting arguments from URL for hook

I want to take an argument from the URL, ie: http://localhost/?q=node/add/retailer/12345.
And be able to use 12345 in the retailer_form_alter hook.
Can this be done?
Basically if this argument is not provided I want to display a message instead of the form?
Any help would be appreciated.
Cheers

Hopefully a simple question

I'm grappling with learning drupal and have made a custom node type of my own.

I now want to create a custom form for that node so that I can specify a relation between this node and another.

How can I go about creating another form for this module into which the user can put the other node name or select from a drop down list?

Basically, can you define futher forms and update actions past the CRUD ones with drupal, or are you stuck with the add/update form?
Cheers

UPS Tracking Fix **UPDATE**

Not sure if this will help anyone out, but I have been racking my brain all day on a Module for UPS package tracking. I found a quicker, easier solution for those of us that are a little less gifted in coding. here is the code for a Block to add to one of your rails for Customer UPS tracking. If any one has a module that does this let me know I got tired of attempting to believe I can code well. lol.

Cannot open . -- writing module to pull in xml feed -- help please

I am writting a module that pulls in xml from a remote host. I'm using fopen to open this file. At anyrate I've tested this inside and outside of Drupal. Out side of Drupal it works just fine. Inside of Drupal I get "Cannot open ." and a white screen when executing the code. Can anyone explain why this is? Below is the code I'm executing.

Pages

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