Skip to main content Help Control Panel

Login   A+   A-

Community «   Discussion forum «   Bug tracker «  

How to order extra boxes?

Luginbuhl Anselmo -- on Mar. 26 2007
How can we order extra boxes?

The extra boxes from the extra boxes section came always first? I've tried to change the rank of both the section an the created boxes but nothing appen.
And the others boxes (displaing the content of others section) are ordered by the rank of the section.

It could be usefull to be able to order the boxes in a different order, not linked with the section of the content they are displaing.
Bernard
avatar
from nearby-an-airport
Associate, 6581 posts

on Mar. 26 2007


If you look at index.php, you will see that YACS considers first articles, then list of articles, which are supposed to be less precise and then, less important.

The trade-off for you is to create a list in an article configured to be displayed in an extra box. This can be a fixed list (using usual conventions to create lists) or a dynamic one, using advanced codes (for example, [published=section:123] to list pages published recently in section 123) as described in help page for miscelleanous codes.
Fw_crocodile
151 posts

inspired from Bernard on Mar. 27 2007


Bernard: ça fonctionne, mais le problème dans ce cas ce que l'ordre d'apparition des articles dans le boxe n'est plus celui de la page d'index. Et par exemple dans le cas des rendez-vous çela pourait poser un "problème".

Rate this page
Posted by Fw_crocodile on Mar. 26 2007, (popular)