TPL template file visual editing related issues

Source: Internet
Author: User
TPL template file Visual editing issues
Now the PHP project is the way to hang the TPL file, but when you edit the TPL file, both the picture and the style file are replaced with the program path so that the visualization is not visible when editing in the DW. How do you get this problem?
For example, thinkphp template files in the image or the CSS file call path is used __public__/, in the DW to use visual effects to do the program, the pictures are not displayed, of course, I can put here are set to absolute path, but this change after the interface after the release of the change back.
Is there a convenient way to deal with this problem? Thank you!!


------Solution--------------------
Can't you build a directory called __public__, put the picture or CSS file in 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.