亲爱的朋友们,本人想用KESION的系统做个企业网站,设想是中英文版的,原理是通过自设SQL字段,并赋予中英文区别。就比如说一个产品名称,我设两个字体,一个是英文的,一个是中文的,都在同一页面提交,然后通过调用不同的字段来达到中英文版的功能。现在碰到了个大问题。自己设的SQL字段提交的内容,通过SQL标签调用,前台不显示调用内容。。全是空的。就是该显示内容的地方不显示,留空了。郁闷的。
我用的是5.0 RTF-8版本。我自己在文章频道下新建了十几个自定义字段。然后用这些自定义的字段把原来科汛的那个添加文章页面给改了。详细的看最下面的截图。可是这些自定义的字段内容怎么调出来呢。。。我在后台添加一篇文章,数据库是写进去的。就是前台不出来。。。
请各位大哥帮我一下,非常急呢
SQL语句:
select ID,Title,KS_available,KS_big,KS_delivery,KS_feature,KS_original,KS_packing,KS_priceterm,KS_shelftime,KS_specification from KS_Article
循环体:
<table align="center" width="708" border="0" cellspacing="0" cellpadding="0" height="304" >
<tr height="6">
<td rowspan="12" align="center" valign="top" width="356">
<div id="imageshow">
<a href="{$Field(ID,GetInfoUrl,1,1)}"
alt="{$Field(Title,Text,0,...,0,)}"target="_blank">
<img width="333" height="250" src="{$Field(KS_big,Text,0,...,0,)}" border="0" alt="{$Field(Title,Text,0,...,0,)}" class="image">
</a>
</a>{$Field(KS_feature,Text,0,...,0,)}
</div>
<div id="clickbig">
dddd{$Field(KS_available,Text,0,...,2,)}</div>
</td>
<td align="left" valign="top" width="344" colspan="4" class="bigfont">Descriptions<hr></td>
</tr>
<tr height="6">
<td align="left" valign="top" width="77" class="boldfont">Original:</td>
<td align="left" valign="top" width="93">{$Field(KS_original,Text,0,...,0,)}</td>
<td align="left" valign="top" width="82" class="boldfont">Lead time:</td>
<td align="left" valign="top" width="86">{$Field(KS_delivery,Text,0,...,0,)}</td>
</tr>
<tr height="6">
<td align="left" valign="top" width="77" class="boldfont">Price Term:</td>
<td align="left" valign="top" width="93">{$Field(KS_priceterm,Text,0,...,0,)}</td>
<td align="left" valign="top" width="82" class="boldfont">Shelf Time:</td>
<td align="left" valign="top" width="86">{$Field(KS_shelftime,Text,0,...,0,)}</td>
</tr>
<tr height="6">
<td align="left" valign="top" width="77" class="boldfont">Availability:</td>
<td align="left" valign="top" width="93">{$Field(KS_available,Text,0,...,0,)}</td>
<td align="left" valign="top" width="82" class="boldfont"> </td>
<td align="left" valign="top" width="86"></td>
</tr>
<tr height="6">
<td align="left" valign="top" width="344" colspan="4" class="boldfont">Packing</td>
</tr>
<tr height="6">
<td colspan="4" align="left" valign="top" width="352">
{$Field(KS_packing,Text,0,...,0,)}</td>
</tr>
<tr height="6">
<td align="left" valign="top" width="344" colspan="4" class="boldfont">Specification:</td>
</tr>
<tr height="6">
<td align="left" valign="top" width="344" colspan="4">{$Field(KS_specification,Text,0,...,0,)}</td>
</tr>
<tr height="10">
<td align="left" valign="top" width="344" colspan="4" height="10"></td>
</tr>
<tr height="19">
<td align="left" valign="top" width="344" colspan="4" class="bigfont">
Features<hr></td>
</tr>
<tr>
<td colspan="4" align="left" valign="top" width="352">{$Field(KS_feature,Text,0,...,0,)}</td>
</tr>
<tr>
<td colspan="4" align="left" valign="top" width="352"> </td>
</tr>
</table>
自设字段截图:
此主题相关图片如下:1.jpg