Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
HI
I want to make a views which will show only node posted on today. How could I do that. I used filter by date using offset '+0 day'. But its not working. Can anybody help me.
hi guys,
I am trying to re-sort the views results before they get displayed on the page.
The reason is that my view returns some query results that contains a bunch of node ids.
Then through a custom php function I do calculations based on those node ids returned by the view.
Is there a way to do that by hooking into views results after they come
back from the database but before they get displayed on the page?
Or is there a better way to do it all together?
There are many use cases in the real world where multiple applicant details are required in a single submission. For example, opening a bank account, applying for a mortgage or loan, booking flights or holidays, and applying for housing.
In each of these cases, the application is a single one but certain information within that application has to be repeated for each person applying. This is perhaps most common when opening a bank account in joint names.
I've noticed something with the Forms API, and the use of #prefix/suffix on the $form element : the code is injected before/after the current block used to display the form.
Is that a bug or a feature ? Doesn't seem very logical to me : the code should be inject right before/after the
element.