I find it difficult to understand how to make the Drupal 7 view do what I want. I have experience with Drupal, but not much in php programming itself.
What I use:
Druapl 7, View 3, Entity, Date
What I've done:
I created two views. One shows the latest type of content, and the other shows the rest. On the second type of content, you have a filter in which you can filter the content based on their category. (Categories are created with an entity module)
1 viewing options:
- Filter Criteria: Content Type
- Sorting criteria: start date (desc) (datemodule)
- Pager: displays the specified number of elements: 1 element.
2 viewing settings:
- Filter criteria: content type, selected category (set)
- Sorting criteria: start date (desc) (date module)
- : | , 1
:
1 , .
2 , "any". .
, , 1 .
:
, , "2- " ( ) ( , "1 " ).
, , , , - php-. , .
, .
node , . , , , , .
, , .
:
, .
"2 "
():
A: A
:
:
:
: B
:
1, , B, " B".
, 2 ( ) , : " A: A"