Skip to main content

Sort by Customfield

Exposer by nx-designs can sort your articles by customfield, but of course you have to create and fill them with information first. It doesn't matter if they are date fields, integer or text… btw: you should not try to sort by a customfield of type image, how useless that would be is self-evident...

Quick info: customfield creation

You can define custom fields in the Joomla! backend via Content --> Fields. It is important that you remember the name of the field. We will need this later in Exposer.

In our planetarium demo list we have sorted the entries by the field "distance to sun". The name of the field is "distance":

exposer demo planetarium distance

 

And this is what the parameters for sorting in Exposer look like:

exposer distance module sortby

Please note:

The custom field that is used for sorting does not necessarily have to be used in the template.

Result

  • 149 Mio km
    Earth
  • 224 Mio km
    Mars
  • 778 Mio km
    Jupiter
  • 4478 Mio km
    Neptune

Earth

Our home planet is the third planet from the Sun, and the only place we know of so far that’s inhabited by living things.

While Earth is only the fifth largest planet in the solar system, it is the only world in our solar system with liquid water on the surface. Just slightly larger than nearby Venus, Earth is the biggest of the four planets closest to the Sun, all of which are made of rock and metal.

The name Earth is at least 1,000 years old. All of the planets, except for Earth, were named after Greek and Roman gods and goddesses. However, the name Earth is a Germanic word, which simply means “the ground.”

Mars

The fourth planet from the Sun, Mars is a dusty, cold, desert world with a very thin atmosphere.

This dynamic planet has seasons, polar ice caps and weather and canyons and extinct volacanoes, evidence of an even more active past.

Mars is one of the most explored bodies in our solar system, and it's the only planet where we've sent rovers to roam the alien landscape. NASA currently has three spacecraft in orbit, one rover and one lander on the surface and another rover under construction here on Earth. India and ESA also have spacecraft in orbit above Mars. These robotic explorers have found lots of evidence that Mars was much wetter and warmer, with a thicker atmosphere, billions of years ago.

Jupiter

Jupiter has a long history surprising scientists—all the way back to 1610 when Galileo Galilei found the first moons beyond Earth. That discovery changed the way we see the universe.

Fifth in line from the Sun, Jupiter is, by far, the largest planet in the solar system – more than twice as massive as all the other planets combined.

Jupiter's familiar stripes and swirls are actually cold, windy clouds of ammonia and water, floating in an atmosphere of hydrogen and helium. Jupiter’s iconic Great Red Spot is a giant storm bigger than Earth that has raged for hundreds of years.

Neptune

Dark, cold and whipped by supersonic winds, ice giant Neptune is the eighth and most distant planet in our solar system.

More than 30 times as far from the Sun as Earth, Neptune is the only planet in our solar system not visible to the naked eye and the first predicted by mathematics before its discovery. In 2011 Neptune completed its first 165-year orbit since its discovery in 1846.