웹마스터 팁

현재 인쇄하기 버튼을 누르면 Content 영역만 출력이 되는데
확장변수 영역까지 출력을 원하시는 분을 위해 올려봅니다.

/zbxe/modules/document/tpl/print_page.html 에서 출력을 원하시는 위치에 다음을 포함시킵니다. 
(스타일은 변경하셔도 됩니다.)
파일 첨부된 파일을  위 폴더에 업로드 합니다.
이상 초보유저의 헤메다가 팁입니다 ^^




        <!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
        <table width="100%" cellpadding="0" cellspacing="0" class="extraVarsList" summary="" style="border-top:solid 1px #E0E1DB;border-left:solid 1px #E0E1DB;border-right:solid 1px #E0E1DB;">
        <col width="150" />
        <col />
        <!--@foreach($module_info->extra_vars as $key => $val)-->
            <!--@if($val->name)-->
        <tr>
            <th height="30" bgcolor="f9f9f9" style="border-bottom:solid 1px #E0E1DB; border-right:solid 1px #E0E1DB; padding-left:5px" scope="row" width="150"><div align="left"><font color="#838383">■ {$val->name}</font></div></th>
            <td style="border-bottom:solid 1px #E0E1DB; padding-left:5px">
                <!-- 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
               <font color="#838383"><!--#include("extra_var_value.html")--></font>
            </td>
        </tr>
            <!--@end-->
        <!--@end-->
  </table>
        <!--@end-->