Weave dream {Dede:listsql SQL} tag how to give the conditions in the SQL statement passed the value of column ID, kneeling for the big God pointing

Source: Internet
Author: User
In a list page need to call the article content and video content, but also to the corresponding data to do paging, after the milking milk found {dede:listsql sql= "select * from ' dede_archives ', ' Dede_ Addonarticle ' WHERE Dede_archives.typeid = Dede_addonarticle.typeid and Dede_archives.typeid = ~typeid~ ' pagesize= ' 10 '} This label, when give typeid passed fixed value time can be adjusted data out, I now need to dynamically get column ID values to query, remember to write {Dede:sql sql= ""} This label when used ~typeid~ dynamic pass value, can now in {dede: LISTSQL} tag does not get the value of typeid, do not know how the predecessor in this tag used to dynamically get the value of typeID, this label I used in the list_arclist.htm template ... Seek the expert pointing the mystery, dripping of grace no teeth unforgettable!


Reply to discussion (solution)

Early start is to see, Gao replies ....

Why is nobody pointing twos, the same page to adjust the data problem solved, now the new question is how I use the same page 2 {dede:pagelist1 listsize= ' 2 '/} tag, take out the relative pagination, without changing anything, in the list The list page uses two of the tabs, out of the pagination is the same ....

Baidu searched all over, with beg!

Pro, how do you solve this problem, I also encountered the same problem, seeking solutions.

Why is nobody pointing twos, the same page to adjust the data problem solved, now the new question is how I use the same page 2 {dede:pagelist1 listsize= ' 2 '/} tag, take out the relative pagination, without changing anything, in the list The list page uses two of the tabs, out of the pagination is the same ....



How to solve the landlord, ask the answer ....

The landlord later solved it???

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