By santoro on
I want to create online magazine with 1) list of upcoming PC games and 2) list of already released PC games. All games in these lists will be linked to their profiles (something like this: http://dvdmg.com/june.shtml). I need Drupal to sort all game links to these two lists according to their release dates (for example: if some game has been just released, system would automatically transfer link to this game from "list of upcoming games" to "list of released games").
Can anybody help me with this? I'm Drupal novice, so I don't if there is any module or how can this be done. Thanks for any advice!
Comments
Views
I would use views to sort the nodes by release date. You would need two views. One for released items and one for upcoming items.
You will need CCK to make a special form to enter the release date along with the other information..
Is there some guide to do
Is there some guide to do such lists I need or (preferaby) is there some kind-hearted person who can provide me step-by-step solution how to do this? (screenshots of settings would suffice :-)) Please... :-) I installed these modules, but it would take me ages to find out how to solve this :-) I will be very greatful for any (more detailed) help.
I think for any of local experts it'll be peace of cake. Both list ("already released games" and "upcoming games") its suppose to look very simple (like this: http://dvdmg.com/july.shtml - with extra column with various "genres": like action game, strategy, adveture etc.). That's all :-)
Did you check the
Did you check the handbooks?
http://drupal.org/node/109604
http://drupal.org/node/101723
Yes, I did. But it's rather
Yes, I did. But it's rather complicated for a beginner :-)
Until now I only found out I probably need to create new content "PC games release list" with fields "game title", "release date of particular game". I'd like to create some field with "main releases" like here (main attractions): http://dvdmg.com/july.shtml (with little posters of main game releases), but that would be probably complicated. Then maybe I should create a category "genres" with terms such "action", "strategy" and so on.
And in Views I probably need to create "table view" and add fields "title of game", "release date" and then somehow fileld "genres"? As for the rest - I'm little bit confused with all of these settings. I'm not sure I can work it out without help :-)
Your Guide
You will need to download and install CCK, Content Templates, Views, Date, Link. There may be others depending on your needs, but this is the base.
To start off, you will need to decide in advance what all the fields that you will need. These will be created in CCK.
Next you will have to decide what outputs you will want. This will be handled with Views and Content Templates module.
Since this is a date related site, you probably should install the Date module.
I would go to site like the one that you want to make and find out what terms they use to describe the content. After you have done that you will need to use Taxonomy or Categories to create a classification scheme for your content.
Once the classification is created, you will want to use CCK to make the content type and the input form.
The viewing of details about each movie will be handled by the Content Templates module. You can control the teaser and the node formating very easily from here. You will need to know how to use HTML and CSS to format your output.
The presentation of lists of upcoming and released movies will be handled by the Views module. You probably will need one for released, another for upcoming, and another for out this week.
CCK module is he most straight forward to use. You can go to content types. Look for the menu option at the top of the page that says "# Add content type". Then just fill out the form. After you have done this you will want to create the fields.
Click on the "Add field" menu to start adding fields to the form.
The "Display fields" menu allows you to determine what is shown where and how it is shown.
The "Manage fields" menu option allows you to determine the order of the fields on the input form.
Once you have created all your fields, determined the order on the input form, and determined which fields will show where, you can craft the look of the output. for that you will want to click on the menu option called "Template". Thos wil allow you to craft the look of the teaser, the node, and the RSS feed.
Under site building you will find Views. This will allow you to create custom lists of nodes. With Views, you will be able to create blocks and pages. be sure that the tick is clicked for having views create either the block or page.
Click "Add" and start filling out the form. You will nee to give it a name and a description. You can also specify who can se this vied.
Either fill out the section for a page or a block.
Then you will need to go to the "Fields" section to tell it what fields to display.
The "Filters" section will allow you to determine which records get displated. This where you will specify the node type and the date range.
You might need to play with the "Sort Criteria" to get you output to appear as you want.
Hope this helps you.
The above should gt you started with your project.
Good luck with your site.
Thank you! Your guide was
Thank you! Your guide was very helpful! ;-) There is only one thing I don't understard - how can I exactly define in views that any movie from "upcoming" will be automatically moved to "released" in day of its release date? (if release date of title "XY" is for instance 4. 6. 2008, that means the system will move this title from "upcoming" to "released" on 4. 6. 2008)
Using Node Created Time
Using the "Node Created Time" as an example. You would create two views. One for future and one for released.
You would open one of these views and to to the "Fields" section and add the date. Then you would tell it that you want all the records that are in the future by selecting for the "Operator" " Is Greater Than Or Equal" Then for the "Value" enter "now".
For the released you want to Have the "Operator" set to "Is Less Than Or Equal"
So the lists will be automatically updated when a release date is reached.
Hope that helps you.
I'd like to sort pages by
I'd like to sort pages by the date, which is specified via a Date module (the date is actually a birthday date).
I created the fields, had them specified and the Views module refuses to sort them by it.
Also, I can't sort the nodes by the title (albeit in a Cyrillic language and by values of another text field). Does it only work in English or something?
Thanks.