How would I go about rearranging the order the Apps are listed in the frontend? I'm not seeing a sorting option in the backend to do this. Is it dependent upon the order of installation? Don't mind doing a DB edit if I have to.
$options = array('view' => 'dashboard', 'uid' => $this->my->id, 'key' => SOCIAL_TYPE_USER);
$options = array('view' => 'dashboard', 'uid' => $this->my->id, 'key' => SOCIAL_TYPE_USER,'sort' => 'title');
<div class="es-widget-body">
<?php if( $apps ){ ?>
<ul class="fd-nav fd-nav-stacked" data-dashboard-apps>
<?php foreach( $apps as $app ){ ?>
<li class="app-item<?php echo $appId == $app->id ? ' active' : '';?>"
data-id="<?php echo $app->id;?>"
data-layout="<?php echo $app->getViews( 'dashboard' )->type; ?>"
data-canvas-url="<?php echo FRoute::apps( array( 'id' => $app->getAlias() , 'layout' => 'canvas' ) );?>"
data-embed-url="<?php echo FRoute::dashboard( array( 'appId' => $app->getAlias() ) );?>"
data-title="<?php echo $this->html( 'string.escape' , $user->getName() ) . ' - ' . $app->get( 'title' ); ?>"
data-dashboardSidebar-menu
data-dashboardApps-item>
<a href="javascript:void(0);">
<img src="<?php echo $app->getIcon();?>" class="app-icon-small mr-5" /> <?php echo $app->getAppTitle(); ?>
<div class="label label-notification pull-right mr-10"></div>
</a>
</li>
<?php } ?>
</ul>
<?php } else { ?>
<div class="fd-small">
<?php echo JText::_( 'COM_EASYSOCIAL_DASHBOARD_NO_APPS_INSTALLED_YET' ); ?>
</div>
<?php } ?>
</div>
Hm, the change doesn't seem to commit no matter which column I select. I've tried clearing both site and browser cache with no visible change. Deleting the line entirely doesn't even seem to affect the site. Could it be something in my template?
Now to just figure out that weird listing between dashboard and profile...