• 티스토리 홈
  • 프로필사진
    TheStorybook
  • 방명록
  • 공지사항
  • 태그
  • 블로그 관리
  • 글 작성
TheStorybook
  • 프로필사진
    TheStorybook
    • 분류 전체보기 (223)
      • 시놀로지(Nas) (11)
      • XE(Rhymix) (131)
        • 레이아웃, 스킨 관련 (15)
        • 변수 응용 (109)
        • 문제 해결 (3)
        • 기타 메뉴얼 (1)
        • 기타 자료 (0)
      • 그누보드 (7)
      • 작업 소스들 (53)
      • 기타 (6)
      • 추천 사이트 (7)
  • 방문자 수
    • 전체:
    • 오늘:
    • 어제:
  • 최근 댓글
      등록된 댓글이 없습니다.
    • 최근 공지
      • 개인 자료 보관 blog
      등록된 공지가 없습니다.
    # Home
    # 공지사항
    #
    # 태그
    # 검색결과
    # 방명록
    • 글보기에서 바로 비밀글 변경하는 방법
      TheStorybook:
      document 모듈에 이런 쿼리문이 있더군요.modules/document/queries/updateDocumentsSecret.xml  이런 쿼리문이 있길래, 이걸 게시판 글보기에서 바로 실행할 수 있는 방법 없나요? 글보기 스킨에서 이렇게 하면  비밀글로 업데이트  실행해보면... 잘못된 요청입니다.ERR_ACT_NOT_FOUNDclasses/module/ModuleHandler.class.php:491이렇게 나오네요. updateDocumentsSecret 검색해보니 쿼리문만 있고 실제 콘트롤러나 뷰 등에서 사용되는 건 없는거 같군요..컬럼명도 is_secret인걸 보니 예전 xe, 시절 활용되던 쿼리문 이었군요    view.blade.php @if($oDocument->i..
      • 2025-02-03 04:18:04
    • 새로고침 없는 좋아요 버튼
      TheStorybook:
      기존에 사용하는 코드는 새로고침이 되버린다.https://thestorybook.tistory.com/202 modules/board/skins/user_board_dev 해당 게시판에서 구현한 적이 있는데 다시 코드 좀 살펴보러...=33 참고자료1) 새로고침 없는 댓글 애드온https://xetown.com/tips/11684462) 베스트 댓글 애드온https://xetown.com/download/235803) 나의 메뉴 위젯https://xetown.com/tips/7849224) 회원소개 위젯https://xetown.com/download/10220945) 댓글 추천/비추천 새로고침 없이 (코어 수정 방법)https://xetown.com/tips/1308336) 스케치북에서 새로고침 없는 ..
      • 2025-02-03 04:15:14
    • 글추천 버튼 (새로고침 됨)
      TheStorybook:
      list.blade.php 내가 한 추천이 있는 경우 좋아요 취소를, 추천한 이력이 없으면 추천하기 버튼이 뜬다.@if($document->getMyVote()) document_srl}'); return false;"> {$document->get('voted_count') ? $document->get('voted_count') : ''}@else document_srl}'); return false;"> {$document->get('voted_count') ? $document->get('voted_count') : ''}@endif   script.js function do_doc_VoteSubmit(module, action, target_srl) { saveScrollPosi..
      • 2025-02-03 04:11:26
    • 스크랩(threads) v1
      TheStorybook:
      eb_threads.scrap.v1 list.blade.php@if($is_logged) @php $oDB = DB::getInstance(); // 스크랩 카운트를 가져오는 쿼리 실행 => $scrap_count $query = 'SELECT count(*) AS count FROM member_scrap WHERE document_srl = ?'; $stmt = $oDB->query($query, $document->document_srl); $result = $stmt->fetchAll(); $scrapped_count = $result[0]->count; // 스크랩 회원 리스트를 가져오는 쿼리 실행 => $scrap..
      • 2025-02-03 04:07:55
    • 포스트글 썸네일 이미지
      스크랩 ec_imin
      TheStorybook:
      modules/contents/skins/ec_imin/form/file/view.htmlview.html{@ $args = new stdClass(); $args->document_srl = $oDocument->document_srl; $args->member_srl = $logged_info->member_srl; $scrapdocs = executeQuery('member.getScrapDocument', $args); $scrapdocs_count = 0; $scrapdocs_count = $scrapdocs->data->count;}{@ $scrapdocs_count = 0;}
      • 2025-02-03 04:05:41
    • 해시태그 자바스크립트
      TheStorybook:
      v.1 : 게시판이 붙을 경우 검색 안됨document.querySelectorAll(".content").forEach(content => {    content.innerHTML = content.innerHTML.replace(/#([\w가-힣_]+)/g, function (match, tag) {        return `${match}`;    });});#hashtagv.2 : 글 본문에서 검색 안됨document.querySelectorAll(".content").forEach(content => { // 현재 페이지 URL에서 마지막 경로(게시판 ID) 가져오기 const pathParts = window.location.pathname.split("/").filter(Bool..
      • 2025-02-03 04:04:30
    • 라이믹스 XE 설치경로 확인 코드
      TheStorybook:
      {Context::getRequestUri()}@{$document->getUserID()}{Context::get('request_uri')}@{$document->getUserID()} {Context::get('current_url')}@{$document->getUserID()} {$_SERVER['REQUEST_URI']}@{$document->getUserID()}
      • 2025-02-03 04:03:43
    • 회원정보에 적힌 url 에서 https:// 혹은 http:// 를 자르고 도메인만 보여주는 코드입니다
      TheStorybook:
      @php if (isset($_member_info->homepage)){ $url = $_member_info->homepage; // GET으로 넘어온 URL 값 $short_url = preg_replace("~^https?://~", "", $url); }@endphp@if($_member_info->homepage) · homepage}" target="_blank">{$short_url} @endif
      • 2025-02-03 04:03:13
    • 목록(리스트)화면 이미지 파일 출력 코
      TheStorybook:
      무조건 출력?@if($document->getUploadedFiles()) @foreach($document->getUploadedFiles() as $key => $file) @if(strpos($file->mime_type, 'image/') === 0) uploaded_filename}"> @php $path = pathinfo($file->source_filename); $ext = strtolower($path['extension']); @endphp @endif @endforeach @endif  v.2 : 파일..
      • 2025-02-02 21:59:36
    • 모바일에 출력 안할때 사용하는 코드
      TheStorybook:
      • 2025-02-02 11:01:48
    조회된 결과가 없습니다.
    [1][2][3][4][5][6][···][11]
    스킨 업데이트 안내
    현재 이용하고 계신 스킨의 버전보다 더 높은 최신 버전이 감지 되었습니다. 최신버전 스킨 파일을 다운로드 받을 수 있는 페이지로 이동하시겠습니까?
    ("아니오" 를 선택할 시 30일 동안 최신 버전이 감지되어도 모달 창이 표시되지 않습니다.)
    목차
    표시할 목차가 없습니다.
      • 안녕하세요
      • 감사해요
      • 잘있어요

      티스토리툴바