In the {dede: listsqlsql} tag of Zhimeng {dede: listsqlsql}, how can I pass the column ID value to the condition in the SQL statement.

Source: Internet
Author: User
In the {dede: listsqlsql} tag of Zhimeng {dede: listsqlsql}, how does one pass the column ID value to the condition in the SQL statement .... on a list page, you need to call the article content and video content under this topic. you also need to paging the corresponding data and find {dede: listsql dream {dede: in the listsql SQL} label, how does one pass the column ID value to the conditions in the SQL statement ....
On a list page, you need to call the article content and video content under this topic. you also need to paging the corresponding data and find the {dede: listsql SQL = "SELECT * FROM 'dede _ archives ', 'dede _ addonarticle' where dede_archives.typeid = dede_addonarticle.typeid and dede_archives.typeid = ~ Typeid ~ "Pagesize = '10'}. when you pass a fixed value to the typeid, you can call the data. now I need to dynamically obtain the value of the column ID for query, remember to use the tag {dede: SQL = ""} before ~ Typeid ~ The typeid value cannot be obtained in the {dede: listsql} label dynamically. I do not know how the predecessor dynamically obtains the value of typeid in this label, this label is used in the list_arclist.htm template ...... please give us some advice and never forget the grace of dripping water! Share:
------ Solution --------------------
I don't know much about it. help me !!!!!!!!!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.