We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

re-ordering things in the add new widget? | Forum

Graham
Graham Aug 24 '13
Is there a way to change the order of the add new widget (blog, group, photo, event, etc)
dave Leader
dave Aug 25 '13
If i remember correctly they are displayed from an array sorted ascending.  Is there a reason you would like to sort them differently.  It would require core change im sure.
Graham
Graham Aug 25 '13
At the moment they in a different order to the top menu, it looks odd but mostly my site is all about events. The add event is 6th out of 7 adds, I'd like to make it first.


Is there a file I need to amend? 

ross Team
ross Aug 26 '13
Topic was moved from General Questions.
Daisy Team
Daisy Sep 5 '13
Unfortunately, for now there are no methods you can use to order the items in this component. The system simply adds the items using foreach statement:

{foreach from=$items item='item'}
<a class="ow_add_content {$item.iconClass}" href="{$item.url}">{$item.label}</a>
{/foreach}

 The only way to add the items order is adding the hardcoded items into this component template.