2.PNG

플랫모바일 사용중인데 요기 앞에 게시글 번호 쓸수 있나요?

 

  • profile
    보통은 목록에 번호를 추가하면 나올텐데...
    스킨에서 지원하지 않는 모양입니다.

    해당 게시판 스킨 (modules->board->m.skins->스킨명 디렉토리 안에 있는 list.html 혹은 _list.html 파일을 여셔서 title출력부 앞에 {$no} 를 추가해주세요.

    title은 보통 $document->getTitle 으로 호출하니 비슷한 부분을 찾아보세요

    {$no} 를 입력시 해당 게시글의 고유번호가 출력됩니다.

    넣은후 nbsp(띄어쓰기) 던 margin값이던 조정하셔서 제목과 헷갈리지 않도록 위치조정 해주시면 됩니다.

    만약 스킨이 테이블구조로 되어있다면 열을 하나더 추가하셔두 되구요


    # 모바일 작성이라 깃허브 라이믹스 디폴트스킨에 의존하여 작성하였습니다. 실제 작업하려는 스킨과 일부부분이 상이할수도 있습니다 ㅠㅠ
  • profile ?

    말씀하신 링크에는

     

     

    {@ Context::addJsFile("./common/js/jquery.js", true, '', -100000) }
    {@ Context::addJsFile("./common/js/js_app.js", true, '', -100000) }
    {@ Context::addJsFile("./common/js/common.js", true, '', -100000) }
    {@ Context::addJsFile("./common/js/xml_handler.js", true, '', -100000) }
    {@ Context::addJsFile("./common/js/xml_js_filter.js", true, '', -100000) }
    {@ Context::loadLang('./modules/board/m.skins/default/lang')}
    <include target="_header.html" />
    <include target="read.html" cond="$oDocument->isExists()" />
        <!--@if($mi->board_type == 'news')-->
        {$no} <include target="_list_news.html" />
        <!--@elseif($mi->board_type == 'webzine')-->
        <include target="_list_webzine.html" />
        <!--@elseif($mi->board_type == 'gallery')-->
        <include target="_list_gallery.html" />
        <!--@elseif($mi->board_type == 'blogBox')-->
        <include target="_list_blogBox.html" />
        <!--@elseif($mi->board_type == 'talkBox')-->
        <include target="_list_talkBox.html" />
        <!--@else-->
        

        
        
        
        <include target="_list.html" />
        <!--@end-->
    <include target="_footer.html" />

     

     

     

    이렇게 나와있어서 위에 처럼 적용해도 안되는거 같습니다

    스킨은 news로 사용 하고 있구요! ㅠㅠ

  • ? profile
    동일 디렉토리 내의 _list_news.html 파일 입니다.