Extra Form
PHP PHP 7.4
CMS Rhymix 2.1

안녕하세요.

 

알림센터 Lite의 알림 갯수를 레이아웃에 불러오려고합니다.

 

가장 먼저 

$_ncenterlite_num 로 시동해보았으나 안되어 검색을 통해

 

 

https://xe1.xpressengine.com/qna/22988249

 

위 글을 참고하여

 

 

            {@
                $oNcenterliteModel = getModel('ncenterlite');
                $output = $oNcenterliteModel->getMyNotifyList();
                $totalcount = $output->page_navigation->total_count;
            }

 

 

{$totalcount->total_count}

 

해주었는데 아무 반응이 없네요.

혹시 최근에 변경된 것이 있을까요?

 

감사합니다.

 

 

  • profile
    $output->total_count 일텐데요.
  • profile profile

    바로 해결되었습니다 !! 감사합니다.

     

    이름도 겹칠까봐

                    $oNcenterliteModel = getModel('ncenterlite');
                    $ncenterlite_output = $oNcenterliteModel->getMyNotifyList();

     

    로 수정해서 사용중입니다 ㅎㅎ