CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Template Issues? Not using html...

Print topic Send  topic

Author Message
tallmik

Posts: 23
Posted: 07/10/2007, 9:10 AM

Hi... wondering if anyone has any insights into this issue...

I want to replace the template that CCS produces with one i make myself, that happens to not be html. For some reason, the template variables don't get substituted.

HTML that works;

<html>
<head>
<meta name="GENERATOR" content="CodeCharge Studio 3.1.0.2">
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<title>Menu3</title>
</head>
<body>
<table>
<tr>
<td><a href="{event_list_Src}">Event</a></td>
<td><a href="{eventtype_list_Src}">Eventtype</a></td>
<td><a href="{country_list_Src}">Country</a></td>
<td><a href="{countrysubentit_list_Src}">Countrysubentity</a></td>
</tr>
</table>
</body>
</html>

Template that does not work;

<wall:document>
<wall:xmlpidtd />
<wall:head>
<wall:title>Menu3</wall:title>
<wall:menu_css />
</wall:head>
<wall:body>
<wall:menu colorize="true" autonumber="true">
<wall:a href="{event_list_Src}">Event</wall:a>
<wall:a href="{eventtype_list_Src}">Eventtype</wall:a>
<wall:a href="{country_list_Src}">Country</wall:a>
<wall:a href="{countrysubentit_list_Src}">Countrysubentity</wall:a>
</wall:menu>
</wall:body>
</wall:document>

The output shows blanks where the template variables are supposed to be.

Then... in another page, template substitutions work for the href variables in this portion;

<wall:h2>List of Event </wall:h2>
<!-- BEGIN Sorter Sorter_EventID --><wall:a href="{Sort_URL}">ID</wall:a>
<!-- BEGIN Asc_On --><wall:img src="Styles/None/Images/Asc.gif" border="0"><!-- END Asc_On -->
<!-- BEGIN Desc_On --><wall:img src="Styles/None/Images/Desc.gif" border="0"><!-- END Desc_On --><!-- END Sorter Sorter_EventID -->



But the variable substitution fails in this portion, but *only* for the href variable, the other variables are substituted as expected.

<!-- BEGIN Row -->
<wall:a href="{EventID_Src}">{EventID}</wall:a>
{Title} {StartDate} {City}
<wall:br>
<!-- END Row -->

It would seem to me that the {*_Src} variables behave differently than the others.

I'm using CCS 3.1.0.2, with PHP

I'm pulling my hair out! Anyone with any ideas?

Thx.

Michael
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.