Form Tools
Export Module - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8)
+--- Forum: Modules (https://forums.formtools.org/forumdisplay.php?fid=16)
+--- Thread: Export Module (/showthread.php?tid=1950)



Export Module - hurst75 - Mar 13th, 2012

Hi Ben,

I'm trying to set up a custom template and seem to be making progress.
I have downloaded the "function.display_field_by_colname.php" function and have uploaded it to the /modules/export_manager/smarty folder.

My template is very simple and is as follows;

Code:
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
  <title>Management Quotation</title>
</head>
<body>
<table
style="width: 595px; text-align: left; margin-left: auto; margin-right: auto; height: 779px;"
border="0" cellpadding="0" cellspacing="0">
  <tbody>
    <tr align="right">
      <td style="height: 149px; text-align: center;"><img
style="width: 400px; height: 109px;" alt=""
src="xxxxxxx"></td>
    </tr>
    <tr align="center">
      <td style="height: 411px;"><img
style="width: 455px; height: 499px;" alt=""
src="xxxxxxx"></td>
    </tr>
    <tr align="center">
      <td style="height: 38px;">
      <h1><span style="font-family: Calibri;">Asbestos
Survey Proposal</span></h1>
      </td>
    </tr>
    <tr align="center">
      <td style="height: 29px;">
      <h2><span style="font-family: Calibri;">For
{display_field_by_colname col_name="col_2"}</span></h2>
      </td>
    </tr>
    <tr align="center">
      <td style="height: 79px;"><img
style="width: 560px; height: 35px;" alt=""
src="xxxxxx"></td>
    </tr>
  </tbody>
</table>
<br>
</body>
</html>

The page is coming up ok but the field value which is being called by {display_field_by_colname col_name="col_2"} is not showing up.
I've used the "DB Column" assigned names when viewed in "edit form" on the fields tab;
[attachment=168]

Is this right? What am I missing?

Many thanks in advance.




RE: Export Module - hurst75 - Mar 26th, 2012

*Bump*[/b]


RE: Export Module - hahziz001 - Jan 17th, 2020

Hi there have a look on Car Rental at Montreal airport


RE: Export Module - Johnathan Barton - Sep 24th, 2021

Here the coding help would be wise to all and hp people are getting great help as well. through sharing the bugs solution, we were able to fix our code and develop the rushessay review application. Your suggestions are quite valuable to all please continue sharing.