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

taxonomy_term_page, $str_tids confusion (on my behalf)

Hello,

I am currently developing a site i have written some custom modules for. These custom modules reference taxonomy terms for their content, but (pursuant to drupal structure, i believe) the menu callbacks in my modules prevent taxonomy_term_page from rendering said content. I would like to prevent the display of this content via taxonomy_term_page in the event that a user browses to the actual term url, as in site/taxonomy/term/term id. The reason being that if the user browses to the actual term destination, the callback is not routed to my module and is therefore displayed incorrectly.

As long as I have a callback in my module that generates content , I can disable the taxonomy_term_page callback and i get what i want if I browse to the actual term url, a page not found. However i am not sure that disabling the taxonomy_term_page callback is the best way to do this as i'd like to keep the core as true to a virginal install as possible. So, my questions arise in the following form:

1.) Is there a better way to prevent the display of term nodes in this case than disabling the callback?

2.) I am having a really hard time finding out where the value of the $str_tids param in the taxonomy_term_page function is being generated. I've printed it out, and because i am only working with one term in this case i get one term id. But where is that value coming from? I don't see a reference to arg() anywhere, so I'm lost as to where that value is being supplied. Also, I don't see a case in the function that handles $str_tids in the event that it is equal to the default param value other than drupal_not_found().

"event" module versus "eventfinder" module?

how exactly do these differ - i see that rsvp is designed for use with event, but eventfinder also appears to have very similar functions...was this a modified version for civicspace use?

please advise. thanks.

Distributed authentification problems

Hi all,

I have two websites running on the same server, one is drupal and one is a custom one. I wanted to authentificate users into drupal based on their accounts from the custom one, so I created a simple module for this. Even if the module_auth function returns true, Drupal still tells me "Sorry. Unrecognized username or password.".
Any idea what could be wrong?

Thanks.

How to translate specific modules?

Hi!

I'd like to make my module translations available to everybody, so hopefully they will be included with later versions of the modules.

What I've done so far is to translate the strings using the admin interface; I guess I can write all the translated strings in a file, anybody knows the procedure to follow so they can be included in the modules?

Thanks,
Toshiro.

new module: TAXONOMYNODE ??

Folks,
I wish to associate one node type with another. In my example, I want to have a EVENT node be labeled with a VENUE (i.e., a place like a restaurant) One way to do this would be to permit/enforce that a node type of your choice must be uniquely tagged against a term in a taxonomy.

pdfview error: Unsupported image type: gif

I have installed the pdfview.module but if i use it there is the following error: Unsupported image type: gif

In the fpdf docs i found that only jpg and png images are supportet :-(

Do you know a solution to fix the module so also gif-images will be shown as pdf?

An example of the error message: http://www.ebec.net/pdfview/view/1 from http://www.ebec.net/node/1

greetings from germany, holger

Pages

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