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

Custom folders

Can you help me with this question:

How can users create custom directories and upload files to them?

Also i want to know how i can do this automatic?

undefined/defined function

How can i add/define function to my drupal 4.7 site.

I am trying to use a second db(mssql) for a module i am building.
But to connect to a mssql db you need functions that can't be used in drupal.

mssql_connect()
mssql_select_db()
..
.

my question: Can/Where do i add these function's

Sawmill screen size tags in your $footer

Anyone analysing their Drupal web logs using Sawmill?

If so, I've created a module that easily adds screen dimensions to your logs. It adds the blank image reference to your $footer, so it can be used on most themes without modification. It's tiny, but certainly makes adding sawmill support easy, especially if you have alot of Drupal sites.

Note that you don't have to have Sawmill to use this module -- we're only adding log lines here so that screen dimensions can be determined.

live discussions block link go to last comment

live dicussions module is a great module for tracking comments but i am curious if there is a way to modify it to link the comment items listed on the block to the latest comment under the nodes.

the previous version of the live discussions was working like that (4.6) but in the 4.7 version it goes to the first comment.

any body with any idea?

required field doesn't work no more

hi,

I use Drupal form Api and "#required" value to force field input.
But it doesn't work any more since I use "if ..." to test some "submit" returned values.

Is there a way to get a value returned if a field is still empty, thanks to "#required" option.

Regards.

trying to use multiple db mssql and mysql

I am running a drupal 4.7 site on a mysql db. I am building a module that needs data from a mssql db.

In this node it explains how to do it with 2 mysql db's. http://drupal.org/node/18429
But is it possible to use both mysql and mssql db's.

I need the mssql data when adding a product. the product specs are in the mssql db. When i got the data, its needs to be stored in the mysql db, and the mssql connect can be closed.

Pages

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