I'm looking to contribute to the drupal community by sponsoring a robust review module. I'm not entirely clear on the best and most drupal way to architect the thing. I'm thinking that reviews would be nodes, each of which would be associated with a parent node (pertaining to the object/book/design/etc being reviewed). I don't think that comments are robust enough to support all of the needed features.
I posted a issue about my problem with the Workspace module and nodeperm_role working together. Content created by any given user gets duplicated many times in the user's workspace, while content that was created by others (but the user can edit through nodeperm_role) gets treated normally by workspace (no redundant listings). Any help resolving this issue would be appreciated.
I've done some searches on this and everything that I can find seems to be pretty old and more concerned with getting images into a blog or textarea. My question is this:
What is the best way to add an image upload element to a node type? I am working on a module that need to allow two images to be uploaded along with other custom data. When viewed, the images must be shown as thumbnails that link to the larger images.
First let me say hello and it's good to see such an active support forum. I am a member of CubeCart and PHPWebsite and have sites running on those programs. Drupal looks as if I can switch my e-commerce sites because of the many options. I am however having a problem installing the e-commerce module. I have uploaded all to my server and have enabled the required modules but I cannot seem to configure my sql db and get loads of errors like this one:
Here is my problem. I have a large header on my page, and the page content starts 30 pixels below that. Except on a few of my pages I want to add stuff like a subheader or generate a sub nav for that certain section directly under the navigation. Can anybody tell me how to add a variable to the page theme? I would like to dump a variable such as "subHeader" and if it exists on the page then I display it. I tried to manipulate the breadcrumb but that didn't work.
Wondering if anyone has done any work before to customise the information stored about different types of users, so different input fields are available e.g. for a 'professional' user a drop down box with professional type (doctor, lawyer, etc.).
Am still familiarising myself with drupal's innards and have considered a number of possible ways to accomplish what I want.
Initially I thought of creating a different flexinode for each user type and allowing access to creation of each based on user type. I decided though that it was silly to create a separate portal for entering user data when this already exists (and would it be possible to integrate already existing data into a flexinode anyway? i.e. to enable editing of data existing elsewhere already such as email address) and moved onto customising the user edit facilities. I considered just using the profile module but this doesn't seem to have any notion of user types so if I add a category of information such as professional I have no way of only showing this when the user is a professional and something entirely or partially different when the user is an advertiser for example.
So, as I see it, a number of options. Take the profile module and have a play around to see if I can come up with what I'm after. Or, create a module to do what I want. I started work on a Professional module and then realised I'm going to have to duplicate for each type of user required. Maybe I should create a generic module to do all this and a CustomUser settings interface (looking similar to permissions control maybe) to specify what fields to make available for each user type.