Mar 13th, 2012, 5:38 PM
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;
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;
Is this right? What am I missing?
Many thanks in advance.
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;
Is this right? What am I missing?
Many thanks in advance.