Views Module displaying date problem

Events happening in the community are now at Drupal community events on www.drupal.org.
shimaa_hosny's picture

Hello,

I am new user in Drupal and I am creating e-learning site, I have created table of courses that contains start_date & end_date. and another table of classes. As each course will contain number of classes.

  1. when the views displayed the values of start_date & end_date fields, it was 01/01/1970 Although the correct value in the database is 22/1/2011.
  2. I need to add to each colomn (delete link, add class link, list course classes link).
  3. How can I send user.uid as an argument in the url to filter the retrieved courses to be for the current logged in user or instructor.

Sorry for these basic questions but it is the first time to use drupal and I think the Views Module is the most powerful Module but really I can not find simple tutorial to use views api, So I need your help strongly.

Thanks In advance

Comments

use arguments

yuvraj_jain's picture

Use arguments that are available with views module that will allow to pass user.uid as an argument ...

this means that I will append

shimaa_hosny's picture

this means that I will append user.uid like "//mysite/mylink?user.uid=2" or what???, I have already added user.uid as argument and I can test filtering
from the views page but I need real example to pass the arg through url
Sorry as I am java developer and I am new in both drupal and php :)

Drupal in Education

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: