The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/showthread.php 26 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/showthread.php 26 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/showthread.php 26 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/showthread.php 137 forum_permissions
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1380 fetch_forum_permissions
/inc/functions.php 2909 forum_permissions
/showthread.php 621 build_forum_jump
Warning [2] Trying to access array offset on value of type null - Line: 488 - File: inc/db_mysqli.php PHP 8.1.31 (Linux)
File Line Function
/inc/db_mysqli.php 488 errorHandler->error
/showthread.php 722 DB_MySQLi->fetch_field
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(732) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(732) : eval()'d code 5 errorHandler->error
/showthread.php 732 eval
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions_user.php 844 is_member
/inc/functions_post.php 406 purgespammer_show
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(474) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php(474) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 474 eval
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 660 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 660 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showimages" - Line: 741 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 741 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 746 - File: inc/functions_post.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions_post.php 746 errorHandler->error
/showthread.php 1070 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1506 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/showthread.php 1506 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 30 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 30 errorHandler->error
/showthread.php 1533 eval
Warning [2] Undefined variable $addremovesubscription - Line: 79 - File: showthread.php(1533) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/showthread.php(1533) : eval()'d code 79 errorHandler->error
/showthread.php 1533 eval



FORUMS


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Customizing Print View Layout
#1
Hey Guys,

I am trying to implement a custom print view using the Export Manager. I am having some trouble, surely related to the way I am calling the tags. Can someone help me understand what I am doing wrong?

I have built a custom table. We only want to print one record per page. I have populated table rows with tags such as
Code:
{display_field_by_colname col_name="first_name"}
.

The page is not showing any results when I attempt to view a record using the newly created view. Here is all of the code I am trying to use:

Code:
<body>
{foreach from=$submissions item=submission}
<table border="1" cellspacing="0" cellpadding="0" width="100%">
  <tbody>
    <tr>
      <td colspan="2" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>PT NAME:</strong></span><span class="regtext"><strong> </strong></span></p></td>
      <td colspan="2" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>DOB:</strong></span><span class="regtext"><strong> </strong></span></p></td>
      <td colspan="2" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>PCP:</strong></span></p></td>
      <td width="176" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>ON CALL:</strong></span><span class="regtext"><strong> </strong></span></p></td>
    </tr>
    <tr>
      <td colspan="2" valign="top"><span class="regtext">{display_field_by_colname col_name="first_name","last_name"}</span></td>
      <td colspan="2" valign="top"><span class="regtext">{display_field_by_colname col_name="dob"}</span></td>
      <td colspan="2" valign="top"><span class="regtext">{display_field_by_colname col_name="care_provider"}</span></td>
      <td width="176" valign="top"><span class="regtext">{display_field_by_colname col_name="on_call"}</span></td>
    </tr>
    <tr>
      <td colspan="3" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>CALLER:</strong> <br />
      </span></p></td>
      <td colspan="4" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>PHONE:</strong> <br />
      </span></p></td>
    </tr>
    <tr>
      <td colspan="3" valign="top"><span class="regtext">{display_field_by_colname col_name="caller_firstname"}</span> <span class="regtext">{display_field_by_colname col_name="caller_lastname"}</span></td>
      <td colspan="4" valign="top"><span class="regtext">{display_field_by_colname col_name="phone_number"}</span></td>
    </tr>
    <tr>
      <td height="18" colspan="7" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>C/O: </strong><br />
      </span></p></td>
    </tr>
    <tr>
      <td height="27" colspan="7" valign="top"><span class="regtext">{display_field_by_colname col_name="co"}</span></td>
    </tr>
    <tr>
      <td colspan="7" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>DISPOSITION: <br />
      </strong></span></p></td>
    </tr>
    <tr>
      <td colspan="7" valign="top"><span class="regtext">{display_field_by_colname col_name="disposition"}</span></td>
    </tr>
    <tr>
      <td colspan="4" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>DRUG ALLERGIES: </strong></span></p></td>
      <td width="180" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>RX:</strong></span></p></td>
      <td colspan="2" valign="top" bgcolor="#CCCCCC"><p><span class="regtext"><strong>DX:</strong></span></p></td>
    </tr>
    <tr>
      <td colspan="4" valign="top"><span class="regtext">{display_field_by_colname col_name="drug_allergies"}</span></td>
      <td width="180" valign="top"><span class="regtext">{display_field_by_colname col_name="rx"}</span></td>
      <td colspan="2" valign="top"><span class="regtext">{display_field_by_colname col_name="diagnosis"}</span></td>
    </tr>
    <tr>
      <td colspan="4" valign="top" bgcolor="#CCCCCC"><p class="regtext"><strong>NURSE ID</strong></p></td>
      <td valign="top" bgcolor="#CCCCCC"><p class="regtext"><strong>DATE OF CALL</strong></td>
      <td colspan="2" valign="top" bgcolor="#CCCCCC"><p class="regtext"><strong>TIME OF CALL</strong></tr>
    <tr>
      <td colspan="4" valign="top"><span class="regtext">{display_field_by_colname col_name="nurse_id"}</span></td>
      <td valign="top"><span class="regtext">{display_field_by_colname col_name="date_of_call"}</span></td>
      <td colspan="2" valign="top"><span class="regtext">{display_field_by_colname col_name="time_of_call"}</span></td>
    </tr>
    <tr height="0">
      <td width="120"></td>
      <td width="119"></td>
      <td width="172"></td>
      <td width="0"></td>
      <td width="180"></td>
      <td width="57"></td>
      <td width="176"></td>
    </tr>
  </tbody>
</table>
<p class="boldreg"> Home Care Advice</p>
<p><span class="regtext">{display_field_by_colname col_name="homecare1"}</span></p>
<p><span class="regtext">{display_field_by_colname col_name="homecare2"}</span></p>
<p><span class="regtext">{display_field_by_colname col_name="homecare3"}</span></p>
<p>&nbsp;</p>
<div class="no_print">{$LANG.phrase_new_page}</div>
<br class="page_break" />
{/foreach}
</body>
</html>

Any insight on what I am doing wrong here? Thanks in advance!
Reply
#2
Did you ever get an answer to this? I have the same question.
Reply
#3
Anyone can help on this topic please...as I'm also stuck with this..thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)