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

I'd like some fresh eyes please

I'm not a module developer however one module (CSS) which I was using in 4.6 is not available for 4.7 so I'm trying to rewrite it.

I've been stuck in the Forms API for the last 2 days but being totally new to Drupal and not a great PHP coder, I think I'm stuck between a rock and a hard place.

summary.. simple I hope!
I would like a textarea on the add/edit node page so I can input extra CSS which I plan to then call into the head per node as required, and as raw text between <style></style> tags.. I don't want an import (.. I could use the raw text to do that if I do later)

these forms are controlled by permissions too.

Taxonomy Access Control too Fine-Grained

I've been looking at TAC and trying to figure out how to get it to meet the needs of my site, but it's just not happening. Here's the situation:

We want to restrict access to certain taxonomy vocabularies when someone is creating content (e.g. a blog entry). TAC does a good job with this, but it is too fine-grained, making our site run somewhat slow when it goes through and verifies each part of the vocabulary against a user's permissions.

Problem writing to the database

I am trying to add some custom fields to my drupal module, but am having problems actually getting the data to the database. In the database there is a field I added called "htype" and is a char(8) field. In the form hook my line is:

$form['htype'] = array('#type' => 'textfield', '#title' => t('Type'),'#default_value' => $node->htype );

However when I hit submit, nothing shows up in the databse.
I am new to this kind of drupal modification, so I could be way off on this, any suggestions?
Thanks

Newbie: MENU_CALLBACK / URL caching problem?

After making some test changes to the taxonomy.module file, the "taxonomy/term/#" and "taxonomy/term/#/0/feed" URLs started redirecting to the frontpage of my site (my 404 error page).

I've restored the original taxonomy.module and reloaded it in the admin/modules menu with no luck. I've also tried clearing the cache table (and cleaning my browser cache) but the problem have not disappeared.

Needing 2 different authors (e.g. technical/responsible) for a node

It's a curious situation to be build, cause I need indeed 2 (possibly different) authors for a node.

Both users reside in the users-table. The responsibe author is assigned by the technical author, but for revision reasons I cannot overwrite the node-owner.

Is there an easy way to add a responsible-field below the written text?

I think it will be easy with an own node-type, but I'm not sure that this would be the best way to solve it.
Great would be a autocompletion in the manner of freetagging.

Problems with CVS application form on Drupal.org

Hi there,

Hope this is an appropriate forum. I've just tried to submit the cvs application form at http://drupal.org/cvs-account

The thing is, it keeps hitting me with the error "The CVS password you have chosen is too short". I have tried a range of long/short/secure passwords, but it always hits me with the same error.

Any suggestions? Am i missing something here?

Cheers
Chris

Pages

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