Solved

how to build a view with views?

Posted on 2010-11-12
3
207 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
  • 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 500 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In this article, we will look at our content management system as a whole, to get an idea of how we will start to manage these content items.
This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now