안녕하세요.
라이믹스 1.9.9.4에서 1.9.9.6으로 업데이트 진행했습니다.
초보라 파일질라에서 그냥 업뎃하고 보니 다 동작은 하는데, 수직형 타임라인에서 하나의 에러가 발생하네요.
Error #0 "Call to undefined method contentItem::getExtraEidValue()" in widgets/content/skins/vertical-timeline/_history.html on line 8
common/framework/debug.php:663
에러 메세지인데, 딱히 문제점은 없어 보이는데 왜 안되는지 모르겠습니다.
혹시 원인을 알수 있을까요?
_history.html
1<!--@if($colorset=='white')-->
2 <load target="./css/_history.css" />
3<!--@elseif($colorset=='black')-->
4 <load target="./css/_history2.css" />
5<!--@end-->
6<!--@foreach($widget_info->content_items as $key => $item)-->
7{@ $new_sort[$key] = $item->getExtraEidValue('event_date'); }
8<!--@end-->
{@ array_multisort($new_sort,SORT_DESC,$widget_info->content_items); }
<ul id="cd-timeline" class="cd-container">
content 위젯에서 $widget_info->content_items에는 contentItem 클래스의 오브젝트들이 들어 있고, contentItem 클래스에는 getExtraEidValue라는 메소드(함수)가 존재하지 않습니다.
documentItem 클래스에 있는 함수이므로 저걸 저기다 쓰면 제대로 작동할 리가 없는데... 저 함수를 왜 content 위젯 스킨에서 사용하고 있는지 개발자분 설명을 좀 들어봐야 할 것 같네요. @윤삼님