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

Changes in views_upload.inc don't show in Views Edit screen but other changes do show in View

I'm working on a simple patch to views. Why won't my changes to options in views_upload.inc function upload_views_tables show in Views Create/Edit screen, but other changes to the display portion of the same file do show up in View mode? This verifies for me that at I am at least working with the right file...

Specifically, I'm adding some options to the "File: All files" field, but the changes don't take effect.

thanks!

problem with writing uid into DB when creating content automatically

Hi there,

I wrote a module that creates content automatically. Everything is working fine except author is Anonymous - it writes uid=0 into database when at the same time watchdog shows correct user name under which cron job logs in and executes the module. I tried printing $user->uid from the code and it works, but adding it to the content node array through $node['uid']=$user->uid; - doesn't work :( All other $node[] variables are being saved in a DB just fine.

I appreciate any suggestions. Thank you.

how to remove "Request new password"?

Hi guys.

I try to remove this text line: "Request new password"?
how to do that?

i would also like to change width of username and passwords forms.

just don't know how to do that?

How to get term ids (tid) from translated terms

Dear Drupal-Community,

i was looking for a posibility to get all familiar term ids of one term id, familiar in sence of created translations depencies between taxonomy terms.
i need it for a individual module that i'm programing right now.

is there a simple function that i could use? a function that with one tid as a paremeter and it should give me an array with the translated terms.

thank you!

Creating an image as a link using l()

Hi,
I am busy rewriting a module for drupal 5. When I first wrote the module I hard coded the <a href> elements with the image inside them, as I could not pass <img> elements to l().

I have read up on the forums and some people suggest using css but this seems more suited to menus than the gallery I am working with.

Taxonomy Module

The taxonomy module easily allows to categorize nodes,
but i'd like to know how to achieve this.

A Lyrics website
There are Artists > Albums > Songs
The main content is lyrics of a song, so say i create a content of type Lyrics through cck.

Now is it a good idea to create Artist names and Albums as trees through taxonomy.
If doing so, i'd have the trouble of not being able to enter artist information or the album information separately.

Pages

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