Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

how to build a view with views?

Posted on 2010-11-12
3
Medium Priority
?
214 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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…
Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

604 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