How to add favourites in 5.7

Permalink
I could be missing an obvious step here but I can't work out how to add a favourite page to the dashboard in 5.7

TheRealSean
 
planist1 replied on at Permalink Reply
planist1
Did you ever find out how to do this?
planist1 replied on at Permalink Reply
planist1
Did you ever find out how to do this?
TheRealSean replied on at Permalink Reply
TheRealSean
No I've heard nothing, I don't think its possible in 5.7 yet.

I ran a quick search in the code and did not find much relating to that.
planist1 replied on at Permalink Reply
planist1
I found reference to it at concrete\src\Application\Service\Dashboard.php

Line 144 to 184

/*$class = 'icon-star';
      $qn = ConcreteDashboardMenu::getMine();
      $quicknav = $qn->getItems(false);
      if (in_array($c->getCollectionPath(), $quicknav)) {
         $class = 'icon-white icon-star';
      }
      */
      $html .= '<ul class="ccm-pane-header-icons">';
      if (!$help) {
         $ih = Loader::helper('concrete/ui/help');
         $pageHelp = $ih->getPages();
         if (isset($pageHelp[$c->getCollectionPath()])) {
            $help = $pageHelp[$c->getCollectionPath()];
         }
      }


I tried uncommenting, but it didn't work.

Also found it in concrete\controllers\panel\dashboard.php

Lines 11 to 59

class Dashboard extends BackendInterfacePageController {
   protected $viewPath = '/panels/dashboard';
   protected function canAccess() {
      $dh = Loader::helper('concrete/dashboard');
      return $dh->canRead();
   }
   public function view() {
      if ($this->request->get('tab')) {
         Cookie::set('panels/dashboard/tab', $this->request->get('tab'));
         $tab = $this->request->get('tab');
      } else {
         $tab = Cookie::get('panels/dashboard/tab');
      }
      $nav = array();
      if ($tab != 'favorites') {


Still no luck...
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi TheRealSean,

Have you posted a Github issue for this?
https://github.com/concrete5/concrete5-5.7.0/issues...
TheRealSean replied on at Permalink Reply
TheRealSean
No I have not posted any issues yet relating to this(in GitHub or on the
bug tracker), I was not sure if I was missing an amended step.

On Sunday, March 8, 2015, concrete5 Community <discussions@concretecms.com>
wrote:
Elstud replied on at Permalink Reply
Elstud
I am like you, looking how to change Favorites in Dashboard.

And, also, I don't know why I can't go back in full dashboard without typing in the adress bar (http://www.yourdomain/dashboard ) I like to see everything with sub-categories.

Thank you for your help.