This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

group by clause in views

I was going through the views module which is a fantastic module. I can use the order by and filter, but I could not see any group by clause. Does any one know how to do that. There is a group multiple values, but I could not find what difference it made to my view.

What I want to do is something like: Create a paged list view based on a specific field say date. Using the theme wizard, I could get the group by, but the problem is that nodes per page is always hardcoded in the view, where as I need it to be dynamic, because if the date A has (say 10 nodes) then it should show 10 nodes, and when I click on the page2, it should automatically show the number of nodes for dateB (and there could be just 5 nodes for dateB).
PS: I can use the argument field for date and get a list of all nodes for that date, but that is not what I want. I hope I could make it clear, for example it would look like:

  • node1.date1......
  • node2.date1......
  • node3.date1......
  • node4.date1......
  • node5.date1......
  • 1 2 3 4 5 .... next>> Last>>

    clicking on 2/next should show:

  • node1.date2......
  • node2.date2......
  • node3.date2......
  • Views - Recent content of viewed user with mysite module

    hi guys,

    hope anyone will help me.

    i use 2.x of mysite and included a view droplet named "my links"

    i want that a visitor will see the links of showed user.

    how i can do this?

    i tryd some agrs with the "UID = Author" Argument but dont work..

    any way to get mysite user id and use it with an argument ?

    
    global $user;
    
    $loggedin = $GLOBALS['user']->uid;
    $ownerid = $node->uid;
    
      return array(0 => $ownerid);
    
    

    what can i do this?

    greets

    Lausch

    CCK: How to automate insertion of comma-separated data from a text field with multiple values?

    Hello,

    I'm a newbie with Drupal and could not find an answer to the following problem in the forum nor the documentation, hence this post.

    I'm trying to use CCK to provide a single text field with the capability of inserting multiple values, separated by commas, or semi-colons. E.g.: entering "Doe, John; Doe, Jane" in the input field, it would split values by the separator, then proceed to the correct insertion of data.

    Let's say John Doe and Jane Doe are "authors" -- not users, and the input field is displayed at the creation of an "article".

    Block visibility without php

    i am new to drupal. and have just gotten familiar enough with the system to do some things. i have added the nice_menus module and am trying to display mutiple menu blocks on seperate pages ... so the main page will show the main block menu then each page you goto after that will have a different block.. but i cannot get anything but the > <> to work... are the pages listed differntly? i have tried things like and node/12/* for everything under that node! and i do not know alot about php..

    SELECT query and strange results

    I am trying to search a node_ table and I am getting odd results. Some things that I search for return results while others that I know are in the db don't. For instance, if I search for "Viking" it will return all of the Viking Lodge units. If I search for "Franz" or "Klammer" it will not return the Franz Klammer Lodge units. If I search for "Lodge" it will return all results for both Viking Lodge and Franz Klammer Lodge.

    At first I thought that it may have been a collation issue, but the site and the field are both utf8.

    Chatroom Error

    I'm trying to install a chatroom on my site. When I install the module, I get an error message stating:

    Pages

    Subscribe with RSS Subscribe to RSS - Module development and code questions