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
|
 |
 |
|