sort criteria

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
figtree_development's picture

Natural Sort in Views of Webforms

I have created a simple internal auction system. I have a content type, a webform, and some views. I know I could have used drupal commerce and an auction module but honestly i didn't need all that extra overhead.

Content is created. Then assigned it to a particular auction(taxonomy term). I have a view for each auction. I created a webform. NID of the item is passed to the webform for ref.
The view displays a table of webform results (webform mysql module) that are assoc to the NID of the item. Therefore, only displaying the bids for that item.

Read more
lukio's picture

Usar codigo php en sort criteria (views)

Hola drupaleros!
Estoy buscando la forma de agregar codigo php en el sort criteria de views, porque las opciones que me dan por defecto no me sirven :(
Algo parecido al módulo Views PHP Filter[0]. Este módulo funciona en la sección Filtros de Views y NO en el Sort Criteria.

[0] http://drupal.org/project/viewsphpfilter

Exactamente mi problema es que tengo que ordenar por una fecha (cck field) tomando únicamente el día y NO el mes, ni el año. La opción por defecto de sort para fecha utiliza los tres datos.

si tienen alguna idea, agradecido :)

Saludos!
//
Luciano Rossi

Read more
Subscribe with RSS Syndicate content