Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm building a custom module, how do I make a file field that uploads a JPEG into the file system? and then displays this image on the node? I've written a custom theming function so it needs to be compatible with that.
ability to sort (desc or asc) node summaries according to: node with latest review/ratings written, node with highest average ranking, node with most ratings/reviews, node with most pageviews. The resulted sort should also be in a tabularized form, organized as title, pageviews, overall average rating, date posted and a summary of the latest review. See http://reviews.wdwmagic.com//censura.php?tsid=2&cmd=browse&category=30 for the sorting function and tabular display I am talking about.
A simple search area where one can search through the reviews by their criteria and return results displayed similar to above.
The detailed/full page of the node that is being rated/reviewed should have the all the different criteria ratings displayed at the top and each poster's rating displayed next to the comments after the story. see http://reviews.wdwmagic.com//censura.php?tsid=2&cmd=details&itemid=363 for clarification
I have just added the ability to list the options of a profile field if the field is given but a value isn't to the profile module.
For example, right now /profile shows all public user information, /profile/profile_school shows a blank page and profile/profile_school/Miami University shows all public info on users for that school. I have written the code that allows a list of all possible schools to show up.
Introduction
I'm developing a site for a small software company (selling and supporting GIS (Geographical Information Systems) software). The site will be a community site where users of the GIS software can exchange scripts, place questions in the forum etc.
Why do I need 'read-only' fields in the profile module ?
One important request of the company is to be able to put the license information of the user's software online. This is just some text with the license codes and some more info. The support folks get a lot of questions about the license codes (esp. with upgrades) so a place where the customer can retrieve these online would be very handy. The only catch is that the current profile.module does support private fields but no read-only fields. Only an admin should be able to edit a 'read-only' field.
How to add a 'read-only' field option ?
There are several ways of implementing this. I've thought of:
Using flexinode to define a 'license node type' and the access-control features to limit access to this file. But this is quite cumbersome. I could code a php block to show a link when a user is logged in. It can be done, but not within my limited resources.
Build a module that integrates with the user account pages like notify.module and contact.module. Bu I think this is a bit overkill for such a small feature.
I know their has been work to get the regular Blog post etc to recognize enclosures. But we are making a tech podcasts feature site and using the aggreator to pull all of the participants content. Is there a plan to add enclosure recognition on the aggregator side of the house.
This is another opportunity for Drupal to shine but it's aggregator again is not keeping up with the times.
Sites like bloglines etc have already added it. I understand they are a different model but a well designed drupal site could do the same thing.