views

vfranklyn's picture

Problem with SQL statement in Views D7

Hi there, I'm hoping a SQL ninja will find it in his or her heart to provide me with some advice.

I've created a page view which does the following:

  1. Pulls in nodes from two different content types
  2. Filters by two different term references, one for each content type.

It's not working, although in my mind (and limited sql understanding), it should. I think maybe there's an issue with the inner joins, because it seems the sql statement would working if they weren't there.

Anyways, I've attached two images, one of the api and one of the actual sql statement.

Read more
geoffAuthor's picture

views help?

I have been building an ecommerce section on a website - and using Ubercart module on Drupal 7. I have trouble displaying only one product on a page using views - if I create a view displaying product title, description, images, etc - it shows all my products.
Is there a setting somewhere, where I can set the system to show only one product that should be on the page?

Read more
michaelsilverman's picture

Views

Have an existing website with multiple Views on a single page built with Panels module. Each of the views uses Pager. When any of the Pagers are clicked all of them advance. How can I make it so that each of the Pagers work interdependently?

Read more
shortexxx's picture

Resizing images within a view

Hi all, I'm fairly new to drupal 6 and had a slight query which I'm hoping somebody can help me with.

I have created a view called "News" and wish to display most recent news(obv). I have enabled the CCK for users to upload images when creating a new news article. The problem being that when user upload images to news articles, they will uploaded in various sizes.

In the view I have created called "News", I wish to use the "Rewrite the output of this field" option to resize the image automatically but this seems to be a big problem as I'm not too familiar with html or php.

Read more
gomezbl's picture

Explicity rendering of views

Hi, I'm trying to explicity rendering at code level a view defined in my solution.

This is, suppose the name of the view is my_last_comments, and I'd like to show that view in a very specific place in my page template, say, so I'd like to get the view rendered in a preprocess variable such as:

function theme_preprocess( &$vars ) {
$vars['mylastcommentsview'] = view_render( 'my_last_comments' );
}

Got the idea?. I've looked for that in views module function but I couldn't find anything.

I'd appreciate some help in this.

Thanks

Read more
christefano's picture

Drupal Dojo Session: OrganicGroups+Panels on GDO = Excellent interface for your group members!

Start: 
2010-10-19 15:30 - 16:00 America/New_York
Organizers: 
Event type: 
User group meeting

October 19 3:30PM ET / 12:30PM PT
Session: OrganicGroups+Panels on GDO = Excellent interface for your group members!
Leader: Christefano from the LA Drupal group
Register to attend here: https://www1.gotomeeting.com/register/473293624

Join Christefano as he shows us how to gain awesome functionality from your GDO group. There is a lot that can be done but few ppl are doing it. Find out how and start doing it! :-)

Read more
becw's picture

Drupal Dojo Session: Views 2 - Writing plugins, handlers, and supporting new tables.

Start: 
2010-07-27 12:30 - 13:30 America/New_York
Organizers: 
Event type: 
Online meeting (eg. IRC meeting)

Views is an incredibly powerful module if you know how to use it. If you know how to extend it, well, you're golden. But how do all of Views' moving parts fit together?

This session will attempt to explain the over-arching design of the Views 2 module, and how one goes about writing plugins, handlers, and supporting new tables. The goal will be to give attendees a sense of how Views is put together, and therefore how to extend it gracefully. There will be much reading of code.

Read more
dougvann's picture

Drupal Dojo session: Extending your Views-Displays with Relationships and Node-Reference

Start: 
2010-04-27 12:30 - 13:30 America/New_York
Organizers: 
Event type: 
User group meeting

Description

If you look at the top-middle of the VIEWS interface there is a section labeled RELATIONSHIPS. Have you ever wondered what that is for? Well, we're going to dig in to it and show you.

First where going to build a content type that uses the Node_Reference field and create a few nodes. Then we're going to create a view that takes advantage of this.

See you there!

To Attend

Registration Web Link: https://www1.gotomeeting.com/register/796197592

Read more
idcm@drupal.org's picture

Passing an Argument from the URL to view block

I am not sure if this is an appropriate discussion topic to post here. If not, my apologies. I saw how others had posted views arguments solutions here and thought if I could get this resolved, it would make a nice addition to the dojo.

I just created a forum help request on D.O at http://drupal.org/node/544884 and was wondering if anyone was familiar with the challenge of passing a URL argument to a view block.

I look forward to any advice you can share.

Thanks
c

Read more
rocknlnx's picture

Trying to create a front/home page my way

Hi all:

Read more
Subscribe with RSS Syndicate content