By richrf on
Hi,
I am new to Drupal and looking for an alternative to Wordprss. I want to do something like this site:
However, I would like to have 2 entries for each of these: Top Rated, Most Popular, Featured Picks, on the home page, following the News section. Is it possible to do this using Drupal. Also, if anyone has seen a site like this as an example, I would appreciate it.
Thanks for your help.
Rich
Comments
I am not sure what you mean,
I am not sure what you mean, and I can't find the: Top Rated, Most Popular, Featured Picks on the website.
Do you mean the blocks on the right side of the screen or the posts?
If you mean the blocks on the right side:
Yes you could have multiple ones of those. You can also choose which pages you want to show them on.
Edit: By the way nodes are things as stories and pages. Widgets (in Wordpress) are blocks in Drupal (except they can do more out of the box)
Hope it helps
Hi there, Thanks for your
Hi there,
Thanks for your help.
If you look at the site that I am referencing in my original post, (DrupalModules.com), you will see in the top menu, that you can click on the tabs to find "Top Rated", "Most Downloaded", etc. . I would like to do the same, but also have the first two or three of each of these listings on the home page. So the home page will have a region for Top Rated, Most Downloaded, etc.
Also, are there modules available to get this information, or do I need to do my own customized programming?
Thanks again for your help.
Rich
I'm new to helping...
...but I've been toying with and learning Drupal for about a year so I'm by no means a developer. But I'll try here... The tabs you are referring to at the top of the page are part of the 'navigation menu'. On Drupal, you can have several menu regions, but for the sake of simplicity since you want the block, inline style like on that page, I'm going to guide you to a theme called 'litejazz'.
If you type that in the search box on here, it should bring up the page to download that theme from. They have VERY good documentation on that theme and even give instructions on installing and configuring. If you know any css, you can change the colors for everything. If you don't, they have three colors to choose from there- red, blue, and green.
Now for your "top rated", "most downloaded", and etc. to show up on your front page, you first have to create your front page. First go to your site configuration->clean urls and make sure you have those enabled. Then go to site building->modules and check the box next to "Path" and click 'submit configuration' to enable url aliases. Then go to site configuration->site information and make sure that's all filled out. In the last box, it asks where Drupal should point the front page, type front_page in that box. Then go to create content->Page and fill in everything there. The title for the menu (navigation) link should be something like "home". When you get to the url alias box, type in "front_page". Fill out the rest and submit that. Now you should have a new link in your navigation menu for "home" or whatever you called it. Click on it and make sure your text is there for your front page.
NOW, go to adminster->blocks. At the top, there are tabs. Click on the "add new block" tab. Give your block a title for Drupal (where it says title- this is for the database and will not show on your page.) So title it "Top Rated" and then add your text to the box. Submit that. It takes you back to the blocks page. Find your block that you just created. Click on "configure". Here, you have two title boxes with the first already filled in. Leave that one alone and fill in the second one with what you want your users to see as the title. On this page, you can also specify which page(s) you want or don't want the block to appear. Click on "only show this block on the listed pages" and in the box below, add "front_page". Fill in the rest and save your settings. Back on the blocks page, you need to tell Drupal where you want it on the page. Choices are usually left side bar, right side bar, header, footer. Once you choose where to put it, save those settings. Now go back to your "home" page and you should see your block in all its glory.
Now, this does not produce a block that updates automatically. That requires a module plug in or writing your own module. However, I do believe that there are modules available for this exact thing. (Check in the modules page.) Question: If you're going to have a "Top Rated" block, then do you also need a voting application (module)? If that's the case, I just wrote all of this out for nothing when I could have just pointed you to the modules to install and enable. Much easier. But at least you know how to make a block now if you didn't before...lol.
Hi proudleo, Thank you for
Hi proudleo,
Thank you for your very detailed answer. It may be that Drupal cannot do what I want it to do.
Let me see if I can explain in a bit more detail. I would like the main content region of my homepage to contain the "Top Listings" so it looks something like this:
News
News Posting 1
News Posting 2
New Listings
New Listings Posting 1
New Listings Posting 2
Top Listings
Top Listings Posting 1
Top Listings Posting 2
Most Popular
Most Popular Listing Post 1
Most Popular Listing Post 2
In the site that I references, there were menu links to the Top, Most Popular, etc. It may be like this because of the limitations of Drupal. What I am looking to do, is to take the first two postings for these pages and place them on the homepage. Can this be done without a lot of coding and hacking?
Thank you for assistance. It is very much appreciated.
Rich
Absolutely!
Blocks can be placed anywhere in your page that your theme has a region for. For example, the 'litejazz' theme has 6 additional regions than normal themes. There are 3 boxes above the content area and three boxes below the content area. However, the design is collapsable so that if you only use one of those boxes, it will expand across the page the fill the space.
And blocks themselves can be thought of as "mini content" areas. In the body, if you have full html filter on, you can use full html. Php filter and you can use php. A block doesn't have to just be a title and a paragraph. In my opinion, blocks are there so that we can move content to many areas of the page while keeping them organized. As well as using modules on specific blocks- like Top Rated, Most recent comments, random image, etc.- that will automatically update without having to be manually entered every update.
I'm at work right now otherwise I'd go make one real quick and show you. Alas, that will have to wait until late tonight. Give me a few specifics, though. Are you wanting the titles of the specific "top Rated" to be hypertext? Should the body contain just the link heading or a teaser of the contents of the message?
Ok Rich...
..go to www.adoptamodel.com/drupal/testing and you can see the page I made there with two blocks in the content section. I used your examples. I'm using 'litejazz' theme and put the blocks in the 'content bottom' area.
Please don't pay any attention to my theming right now as my site is completely still in development. You can't really see the "Top Rated" because of my background being almost the same color and I haven't finished theming in the colors and such. Let me know once you look at it so I can delete it before I forget...lol.
Hi there proudleo, Thanks
Hi there proudleo,
Thanks much for all of the assistance and links. I think I am almost there.
Based upon your posts and some other documentation I am reading, it is possible to create Views as blocks and as pages. I want to do something similar to what you are doing, but instead of creating the Views in blocks, I would like to have multiple Views in the main content page. It looks like this is possible, though I haven't found an example yet, nor do I know the exact procedures to do it. But it looks as though by using Views in the main content page, I can do it. Does this sound right?
I was looking into Wordpress, and I can do it in Wordpress, by hacking the Index page of the Wordpress code. It seems that with Drupal, I can use the Views module, so that I do not have to hack the code directly. In other words, customize at a higher level of abstraction. Does this sound right?
Thanks again for all of your help.
Rich
Rich
I didn't think of that!!!
Ha...I'm trying to make it harder than it is...lol.
I haven't started working with Views module yet, so I'm not sure of all of it's capabilities. Another good one to check out would be 'Panels'.
But yeah. Views is probably a good (and cleaner/neater) way to go.