라이믹스에서 리스트에서 글본문 중 설문조사 영역이 노출 안되는 문제가 궁금합니다.


리스트에서 본문 내용을 출력하게 했는데요.

설문조사는 동작을 안하던데 이건 어떻게 해야 나오는지 혹시 아시는 분 계실까요?

{$document->getContent(false)}

 

이렇게 하면 글 본문 텍스트는 출력되는데 설문조사는 안나오네요 ㅠ


사용한 코드

@php
                         $maxLength = 350;
                         if(mb_strlen(strip_tags($document->getContent(false))) > $maxLength){
                            // $content = preg_replace('/<img[^>]*>/', '', $document->variables['content']);
                            // $shortContent = mb_substr($content, 0, $maxLength) . '...';
                            $fullUrl = getUrl('document_srl', $document->document_srl); // 문서의 URL 생성
                            $content = $document->getSummary($maxLength);
                            $content .= " <a href='" . $fullUrl . "' class='read-more'>더보기</a>";
                            echo $content;
                         }else{
//                          echo '이하';
                            $content = preg_replace('/<img[^>]*>/', '', $document->variables['content']);
//                           echo $document->getContent(false);
                            echo $content;
                         }
                         @endphp


                         @if($document->getUploadedFiles())
                         <div class="img-box">
                            @foreach($document->getUploadedFiles() as $key => $file)
                               <img src="{$file->uploaded_filename}">
                               @php
                                  $path = pathinfo($file->source_filename);
                                  $ext = strtolower($path['extension']);
                               @endphp
                            @endforeach
                         </div>
                         @endif
4