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

My module causing strange error

I'm developing a module to intergrate project.module with a Subversion repository (project_svn.module). When I enable project_svn.module I get a strange bug: clicking edit on any type of node displays the edit fields for the project_project node! For example, clicking on edit for a story I get the following error messsage:

* A short project name is required.
* You must specify a project e-mail.

When I disable the project_svn.module everything goes back to normal.

Examining project_svn.module I can't see what might be causing this. I've renamed the non-hook functions to not use the project_svn prefix but this makes no difference.

If anyone could offer some insight into what might be causing this I would be most grateful:

<?php
/*
$Id: project_svn.module,v 1.3 2005/10/07 15:31:34 axon Exp $

Copyright (C) 2005 Ricardo Gladwell

This file is part of Drupal Subversion Project Module.

Drupal Subversion Project Module is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the License,
or (at your option) any later version.

Drupal Subversion Project Module is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of

Optional field URL in Profile module is being difficult

I made a field to let users give their website address on the registration page. I tried it with 'www.cnn.com' and got this:

The value provided for Website is not a valid URL.

So the system wants me to put in 'http://www.cnn.com'. I know that's a correct URL, but the average user doesn't give a f*** about http:// and may not even understand what went wrong.

Taxonomy_Image problem...

I have recently installed the Taxonomy_image module but cannot get it to work...

I am running Drupal 4.6.2 and when I try to upload a new image for a taxonomy term, under admin/taxonomy/image, it just shows a blank file, with the title of the term instead.

And when i check it out on my pages, it doesn't show-up...I have checked to see if the image was uploaded correctly in the files/category_pictures and it is there, but when I type it in the browser bar it doesn't work...??

Can somebody help plz...

phpList integration options

I just got this from the phpList Dev list. This is just another way to incorporate the functionality of phpList into a CMS. In this case EZ Publish:
http://ez.no/community/contribs/datatypes/phplist_module

Might just be useful look at their approach.

Mike

ps. Looks like phplist-2.10.1 is pretty stable. Love that it now includes FCKeditor 2.0. Like to see it brought into the massmailer module.

Hiding Child Pages

I cannot seem to find a solution for this. When creating a child book page I would like the user to be only offered the option of the names of the books in the "Parent" menu (between Title and Body). I even installed the Node Relativity module but I still cannot stop the menu from showing previously posted child pages. Please help.

Default value in form_file

Hi,

I'm starting to develope a module (newbie in PHP and Drupal) and maybe my problem is not so hard.
In one form of my module I want to give upload functionalities (images & other files).
It is possible to load the default value (the value originally stored in the database) in a form_file?

Thanks

Marcello

Pages

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