TEIA.RU
Зеленый хостинг ТЭИА

Uptolike

LTCBTC - Bitfinex

feedspot

Syndicate content My RSS Feed
My RSS Feed
Updated: 5 days 19 hours ago

Sort a view by my content or content I can edit

Fri, 03/24/2023 - 11:02

Is there an easy way to sort editable content at the top of a views list? Our members can edit their own projects but not others. Surprisingly I've never had to do this before and not seeing an easy way to do it, but could be overlooking something.

submitted by /u/jpnoa
[visit reddit] [comments]
Categories: World News

Trying to sort a views result by a global views conditional field

Fri, 03/24/2023 - 11:01

I'm attempting to use hook_views_pre_render in a Drupal 8.9.20 site to sort the results of a view by a global views conditional field and I could really use some help. I've spent some hours searching forums with no luck.

Here's my code so far.

/* * Implements hook_views_pre_render */ function mk_timing_views_pre_render($view) { if (($view->id() == 'mk_driver_results')) { $view->result['sort_by'] = 'views_conditional_field_9'; $view->result['sort_order'] = 'ASC'; } }
Categories: World News

Decade

Fri, 03/24/2023 - 11:01
Categories: World News

Variety Coffee

Fri, 03/24/2023 - 11:01
Categories: World News

Annapurna

Fri, 03/24/2023 - 11:01
Categories: World News

Principal

Fri, 03/24/2023 - 11:01
Categories: World News

Partner

Fri, 03/24/2023 - 11:01
Categories: World News

Pudding

Fri, 03/24/2023 - 11:01
Categories: World News

Works in Progress

Fri, 03/24/2023 - 11:01
Categories: World News

Powerful Webb Telescope Spots Dust Storm On Planet Outside Our Solar System

Fri, 03/24/2023 - 10:08

Illustration via NASA, ESA, CSA, Joseph Olmsted (STScI)

 


In another breakthrough by the James Webb Space Telescope, the ultra-powerful gadget recently detected a dust storm outside of our solar system for the first time ever—on a “massive brown dwarf” exoplanet situated an estimated 40 lightyears away.



It appears the volatile conditions in the atmosphere of planet VHS 1256 b (say that three times fast) feel akin to having hot sand whip across your face, as its clouds are made up of silicate particles that range from fine specks to small grains. Ouch.



From its observations, the team predicts that when the silicates in the clouds get too heavy from time to time, they begin to rain onto the planet, which apparently houses water, methane, carbon monoxide, and evidence of carbon dioxide.


 



Image via NASA, ESA, CSA, Joseph Olmsted (STScI), science via Brittany Miles (University of Arizona), Sasha Hinkley (University of Exeter), Beth Biller (University of Edinburgh), Andrew Skemer (UC Santa Cruz)

 


During its 22-hour day, VHS 1256 b’s atmosphere constantly mixes and swirls, causing the hotter material to rise up. This results in a change of brightness that is so dramatic the researchers think it is the most variable planetary-mass object known to date.



Scientists posit one of the reasons the planet’s skies are so turbulent is because of its young age, formed only 150 million years ago. Over the next billions of years, the celestial body will change and cool, bringing about a more settled atmosphere.



As a display of the Webb Telescope’s prowess, this is the first time a device has identified so many features for a single target at once, and going forward, the researchers plan to make the most of its high-resolution infrared data to learn much more about VHS 1256 b.


 


 


 


[via Futurism and BBC, images via various sources]

Categories: World News

Просто хороший хостинг