정보&강의 구글통합검색과 해쉬태그 애드온 사용시 에러 출력 해결
- 운영자
- 191
- 0
err : './modules/integration_search/skins/yjsoft_ggcse/document.html' template file does not exists.
해쉬태그를 도입하면 해쉬태그를 모아서 보여주는 기능이 통합검색을 통해서 이루어진다.
해당 메시지는 구글통합검색을 사용할 때 나오는 에러인데 이 에러를 해결하는 방법은 다음과 같다.
index.html 파일을 복사해서 document.html라는 이름으로 저장한다.
document.html 파일는 아래의 소스가 존재하면 된다.
<!--#include("header.html")--> <script> (function() { var cx = '{$module_info->googleSearchCX}'; var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true; gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//www.google.com/cse/cse.js?cx=' + cx; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s); })(); </script> <gcse:searchresults-only></gcse:searchresults-only>
이런 글도 찾아보세요!
댓글 0
권한이 없습니다. 로그인