X
X
xunagid2018-01-07 16:42:28
Node.js
xunagid, 2018-01-07 16:42:28

How to fix certain rows at certain positions when selecting in mysql or drupal views?

Hey!
There is a news feed in which the news are listed by the date they were added. But at the same time, it becomes necessary to pin some news in the feed, for example, the 1st, 3rd, 4th and 7th news.
Is there any way to do this in drupal view or just in mysql query?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stockholm Syndrome, 2019-10-26
@levzik

instead of arrays, you now need to use the series() and parallel() methods

A
Alexander Nikiforov, 2019-11-12
@catAdmiral

This is now the syntax for gulp5dc9fe0412f08086027517.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question