Ecshop system, classified calling of paging articles

Source: Internet
Author: User
Ecshop system, paging articles Classification call http://wenku.baidu.com/link? Url = wh_I9dJVofR8uVRPVY_cS9Dt8nQf_tZJb4HB6zv1Yt0FQ6786MlZro-5CAxIwNGFGXbIcoDCZH46rRg2IxEAjkUaHYPl-WNb7D8cOmd-pFe
The method you just followed can only be called on the index. dwt page...
I want to call the document category on the article. dwt page. the above method is not applicable.


Reply to discussion (solution)

Does the controller file corresponding to article write the call data and call functions?

Does the controller file corresponding to article write the call data and call functions?



  • It is not displayed in the file of the call Library. it cannot be added directly to article, so there is no problem on the homepage .....

    Not in article. dwt
    Is there any call or function in article. php like in index. php?

    Not in article. dwt
    Is there any call or function in article. php like in index. php?
    No $ smarty-> assign ('New _ articles ', index_get_new_articles () in article. php

    No data template file is not called. the article. php and index. php are added in the same way.

    No data template file is an uncallable article. php and index. the same article is added in php. php adds the $ smarty-> assign ('New _ articles ', index_get_new_articles (); // an error will be reported in the latest article. Obviously, this method applies only to the homepage, the document content template cannot be used.

    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.