{dede:channelartlist typeid='30'}{dede:field name='typename'/}{/dede:channelartlist} 上面的是错误的因为{dede:field name=typeid runphp="yes"}(@me=="")此处的@me==.....
分类:
其他好文 时间:
2015-04-29 19:40:38
阅读次数:
134
{dede:arclist channelid='18' addfields='language,pfz' orderby="pfz" orderway="asc" row='10' typeid='8,9'} [field:language/][field:title/][field:pf...
分类:
其他好文 时间:
2015-04-26 19:38:49
阅读次数:
142
出现此问题的原因是由于onclick中的方法名称与其id名称重复,手机无法识别。如下:加急 function a(typeid,atypeid){ Goto }
分类:
移动开发 时间:
2015-04-25 09:19:20
阅读次数:
161
ajax中使用json传递数据时,其它数据类型都不是问题,但是如果服务器端生成的JSON中有bool类型的数据时,到客户端解析时出现了小小的问题,总结如下: 服务器返回的JSON为: 代码如下: {"TypeID":[1037],"Title":"河北软件职业技术学院","Intro":"",...
分类:
Web程序 时间:
2015-04-24 13:58:51
阅读次数:
200
测试代码:#include #include template void ref (T const& x){ std::cout void nonref(T x){ std::cout << "x in nonref(T): " << typeid(x).name() << std::e...
分类:
其他好文 时间:
2015-04-24 01:03:07
阅读次数:
186
1、获取所有的顶级栏目列表带链接:{dede:channel type='top' row='8' currentstyle='~typename~"}[field:typename/]{/dede:channel}2、获取指定的顶级栏目带链接:{dede:type typeid='id'}[fie...
分类:
其他好文 时间:
2015-04-22 17:36:36
阅读次数:
266
商品类别下拉菜单动态化数据库中建立TypeGoods表(typeId,typeName),字符串创建商品类型Bean,TypeGoods.javapackagemybean;publicclassTypeGoods{privateStringtypeId;privateStringtypeName;publicStringgetTypeId(){returntypeId;}publicvoidsetTypeId(StringtypeId){thi..
分类:
其他好文 时间:
2015-04-17 11:49:00
阅读次数:
147
{dede:arclist typeid='17' addfields='body' channelid='1' row='4' orderby='id'} [field:body function='cn_substr(@me,400)'/]...[详情] 重点:addfields=...
分类:
其他好文 时间:
2015-04-16 11:46:16
阅读次数:
123
#include "stdafx.h"#include using namespace std;templateclass Cat{public: void eat() { printf("eat %s",typeid(T).name()); }};class Fis...
分类:
编程语言 时间:
2015-04-15 18:31:16
阅读次数:
142
我们在用织梦系统制作网站时,经常会用到channel标签来调子栏目。但是,很多朋友会遇到这种情况在使用channel标签来调子栏目的时候,指定 “type=son typeid=x” 发现currentstyle无效。今天笔者就跟大家分享一下解决方法。1、解决channel标签currentstyl...
分类:
其他好文 时间:
2015-04-10 09:28:52
阅读次数:
142