  Tenar
join:2008-01-02 Midland, ON
| Drupal question
I'm doing a side project / blog thing and I want to use Drupal. I don't have much experience with it though as I would usually just write my own CMS.
I want to have some custom database fields to go along with certain page types. For example, I want do a review of a product and I want to store the rating as a separate int.
I'm looking for some direction on how to go about doing this. Do I need a custom module or template or can I do this with some plug-ins? |
|
  TearAbite
join:2001-07-25 Rancho Cucamonga, CA
·surpasshosting
·Charter Pipeline
| if you plan on using Drupal for a while I would recomment finding a module that does what you need instead of trying to monkey with the core - or, write your own module (dont touch the core!).
For ratings i believe there are several modules to choose from. Have you checked through the Module pile at Drupal.org? |
|
  Tenar
join:2008-01-02 Midland, ON
| reply to Tenar I feel like such a newb here you'll have to forgive me.
I've looked though some of them, for example, it looks like this module might do what I want:
»drupal.org/project/views_customfield
so I'm going to try that.
So far I've managed to install a theme and turn on some other modules. But the administrator interface is a lot more tricky than I expected.
If I create a block, can I insert php code into it and have it exicute? |
|
  usa2k Please PRAY for Rebekah Premium,MVM join:2003-01-26 Canton, MI clubs:
·VOIPo
·WOW Internet and C..
·Broadvox Direct
1 edit | A great non-programmer start would be to read the Using Drupal book. There is an example that combines modules for amazon products, 5-Star rating module, and such to produce a review.
The book example is at »reviews.usingdrupal.com/
Its a good way to explore the Drupal CMS quickly. --
Jim, VoIP 12/2002, VOIPo 2/2007 FAH-Tool~Pets~Join Artist-24 |
|
  TearAbite
join:2001-07-25 Rancho Cucamonga, CA
·surpasshosting
·Charter Pipeline
| reply to Tenar said by Tenar :If I create a block, can I insert php code into it and have it exicute? YES - as long as you set the Input Format of the block contents to "php". --
Don't hate OS X users because of YOUR poor choice in operating systems. |
|
 dibbb
join:2003-09-19
·Time Warner VOIP
| reply to Tenar There's a rating module called "five stars" or something like that that allows users to give 1 to 5 stars like a Youtube rating. is that what you're talking about? -- Certified Medisoft reseller. |
|
  Tenar
join:2008-01-02 Midland, ON
| said by dibbb :There's a rating module called "five stars" or something like that that allows users to give 1 to 5 stars like a Youtube rating. is that what you're talking about? Yeah sort of, I'm sure I will have other custom fields I will want to put in though. I don't want everything to be in a text field in the database. I'll want to sort and display different types of data.
I usually work with custom CMS (at my work we write our own in CFML) so I know what I want the program to do, but this time I want to learn how to do it using this CMS.
Thanks for all the advice, I'm going to look more carefully at the modules that are available. |
|