Solved

how to build a view with views?

Posted on 2010-11-12
3
208 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Suggested Solutions

RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

895 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

14 Experts available now in Live!

Get 1:1 Help Now