republican-creole
Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » Webmasters and Developers » Drupal question
Search Topic:
Uniqs:
198
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[Need Info] Open Source Document Management system »
« date string to Unix_Timestamp syntax  
AuthorAll Replies


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 See Profile :

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 See Profile :

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.
-
Forums » Tech and Talk » OS and Software » Webmasters and Developers[Need Info] Open Source Document Management system »
« date string to Unix_Timestamp syntax  


Tuesday, 15-Dec 03:09:09 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [142] Verizon Kindly Forgives Kid's $21,917 3G Bandwidth Bill
· [103] Google To Sell Phone Directly To Consumers
· [72] TiVO Tries To Figure Out Where It Fits
· [55] Faster Verizon DSL Service Will Burn Your House Down
· [47] NY Times: AT&T 3G Network Is Secretly Awesome
· [29] Rural Broadband User? You're Screwed
· [26] Can Satire Take Down AT&T's 3G Network?
· [23] Sweden First To Get LTE Service
· [6] Monday Evening Links
· [1] Monday Morning Links
Most people now reading
· Ashen Verdict Rep farming guide (ICC 10) [World of Warcraft]
· personal check etiquette [General Questions]
· Lady Deathwhisper Strategy - 3.3 Live [World of Warcraft]
· Official Mediacom Email Discussion Thread [Mediacom]
· IMG 1.7 (IMG Updates and Discussion) [Verizon FIOS TV]
· Windows 7 boot manager editing questions [Microsoft Help]
· So independants will be out of business in..........? [Canadian Broadband]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· What frequency is better for a 25+ mile link [Wireless Service Providers]
· [Rant] BUG in MY FOOD, After i ate 90% of it.. [Rants, Raves, and Praise]