Getting NodeID of currently viewed Node in a module

Dear Community,

sorry for my newbie question but I did not get it to work :/. My module needs the Node-ID of the current viewed Node to filter the output correctly. I have searched the forum but nothing seems to work. I have tried using arg(0) or setting a new Variable with Rules Actions. But nothing did work for me.

I think that it cannot be that difficult... :/

Greetings
Zweistein

filter course info by 3 levels

Hi, Im using Drupal 7 and I have a course page with a lot of filtering that needs to happen and its got me a bit stuck

These are my content types:

Course Title (title of the course)

Course Details (includes dates and venues, I didn’t put this in Course title to solve the problem of reoccurring dates and venues the courses were running on, so this is linked to the Course Title via node reference, the admins of the site select from a list of titles when a course is going to run)

Venue (address of the venue, includes Location as a node reference as there maybe many courses running in the same county) When the admins add a course they select from a list if Venues

Location (county the course will be run)

On my Course Schedule page I have a View showing the Course titles with a list of Course Details underneath showing dates etc and it displays fine, I want to show the Location but not the Venue as the applicants will find that out when they apply.

Best module for CRM ?

Best module for CRM ?

one node connected to many nodes

I need a one-to-many relationship between my nodes.
I have teachers who have worked at various schools and I would like to have one node for the teacher but be able to connect it to the different schools.
I can only figure out how to create a new node for each teacher at one school. Is there a way to make a one-to-many relationship?
Thanks

Cannot translate Configuration page block headers in the Admin theme

Hi,

for some reason i cannot translate block headers on the Configuration page in the admin theme (view screenshot here). Im trying to translate from English to Estonian. The sublinks translate fine, but the headers are stubbornly English. I have tried the Localization Client, the i18n string translation thingie, even tried to translate these from the Menu > Management menu, to no effect.

It feels like string translation is the right place to do it, but it just doesnt work?

Cheers,
Ardi

Drawing module

Good morning,
Is there a module that a user can draw simple lines and texts over a predefined image. I just want to let the user to draw some squares and circles on a image.
thanks for the help.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x