?
Solved

how to build a view with views?

Posted on 2010-11-12
3
Medium Priority
?
213 Views
Last Modified: 2012-05-10
hi

i am new to drupal and using the views module.

i want to make an home page view that has the latest 5 articles, 5latest books and so on.

i have my html and jquery to display them in a separate html page.

so i want to get the latest of each category and use my own html for that.


how can i achieve that?

best regards

ron
0
Comment
Question by:derrida
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Thomas4019
ID: 34121773
Views is complicated a little difficult to learn. You're simply going to put about 30 minutes to learn it. I would google "views tutorial". There are some good podcasts out there.

Then you could use this, http://pras.net.np/blogs/styling-views-using-output-rewrite, to have full control of the HTML output.
0
 
LVL 1

Author Comment

by:derrida
ID: 34121963
hi

thanks for the answer.

i have already used the views several time but i have problem to take the last records from each category.

is that so complicated?

i know how to do it with php itself but not with views.
0
 
LVL 17

Accepted Solution

by:
Thomas4019 earned 2000 total points
ID: 34122026
Hmm, that is a little difficult. You might have to make a view for each category and use Panels to glue them together. Or you could change your requirements and simply show the 20 latest of all the types and not care about each type.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question