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

How to get the referring page Node ID?

I'm working on our breadcrumbs this morning, and would like to find the node ID of the referring page.

We are using url aliases, so for instance on this page: http://www.realself.com/laser_resurfacing_for_facial_skin_rejuvenation.html

I'd like to be able to see what node ID referred in, and provide that back to users as a breadcrumb.

where to turn on author info for flexinode

I just installed flexinode on 4.7.0b6. How do I get the author field to show up? There is no choice to add an author field? It doesn't show up on the node. I need to use the actual default Drupal author field (not just create one) because I am using tagnode to link it to the author's Drupal profile field. Similarly, how do I make the date submitted information show up?

The author and date fields are enabled for all nodes and show up on all other nodes.

Customizing the Upload Module

Good morning,

I'm trying to figure out how to customize the upload module for use in a module that I'm writing. The main purpose of the module I'm writing is to allow users to upload XML files from their computer. The upload form doesn't need anything other than the file text box and "Attach" button from the upload module. The title and body of the node will be set programatically by the data within the XML file.

My question is this: is it possible to customize the appearance of the upload module? Ideally, I'd like to do the following:

block only on profile

Ok, so I'm developing a block that only shows when viewing a user's profile.

If it's the users' own profile, it says "You have...." and runs a query based upon that user's users.uid field

If someone is viewing another user's profile, it will say " has..." and run a query based upon the viewed profile's users.uid field.

I can load a logged in user's users.uid field, but how do I get the field of the user who's profile is being viewed?

thanks!

Dynamic Page creation

How to create Dynamic pages. Now i can able to create static pages iwth Drupal initial features, pls i want according to my combination inputes , how can i cahnge display of contents each time.
I want dynamic page creation method used by Drupal tool

upload.module help

Hi,
I am attempting to make it so that my users can upload an unlimited number of files when they purchase a product from the website. Any ideas? I am thinking I can just copy and paste the correct lines from the upload.module to the store.module.

Thank you in advance for any help!
Cyrus

Pages

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