In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How do I add phpcms fragments? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
How to add fragments to phpcms: first, insert the fragment tag in the format of "{block ('news', 1)}" directly into the template; then go to the background template management and click "Visualization" to see the link to add fragments.
Phpcms add fragments:
Insert the fragment tag in {block ('news', 1)} format directly into the template, then go to the background template management and click "Visualization" to see the link to add the fragment.
Fragment parameter description:
1. The first parameter "news" is the unique identity of the page. You can name it yourself.
2. The second parameter "1" is the fragment sequence number of the current page and is a positive integer, which ensures that the same page will not be repeated.
How to create a new fragment
1. Select the template that adds the fragment, and write a statement like {pc:block pos= "chuangxinji_index_left"} {/ pc} in the place you want to add. "chuangxinji_index_left" is the identity of the page, and the second parameter can be omitted.
2. Content in the background-"content release Management -" fragment Management, click the next content page (if the added fragment is on the content page, click on the content page; if it is on the home page, click on the home page). On the newly redirected page, "fragment: fragment name" appears where the fragment is added. Click on the fragment, click add fragment, and click OK after the fragment is configured.
3, refresh, in the fragment management, the set fragment chuangxinji_index_left will appear, click the "maintain content" icon, and then edit the fragment in the edit box.
This is the end of the answer to the question on how to add phpcms fragments. I hope the above content can be of some help to you. If you still have a lot of doubts to solve, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.