日期:2014-05-17  浏览次数:20492 次

关于 DEDE 的 ~typeid~ 的写法的问题
~typeid~ 这个 写法,是希望根据分类动态选择内容,

比如:

{dede:sql sql='SELECT ar.id, ar.litpic,ar.title,ar.description FROM ... where ar.typeid=~typeid~' },

it does work ,but where to find the explain of this tag?

如何找到这个标签在哪里解释的?我用 ~typeid~找了整站,除了模板里有,米看见程序里有如何解释的过程,

求解!
------解决方案--------------------
估计是模板里写错了
~topid~ 误写作 ~typeid~