Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use phpcms Linkage menu

Shulou Source: shulou.com Published: 2022-06-02 05:35:10 10月03日 Update

How to use the phpcms linkage menu? This problem may be often seen in our daily study or work. I hope you can gain a lot from this question. The following is the reference content that the editor brings to you, let's take a look at it!

How to use phpcms Linkage menu

In phpcms, the management location of linkage menu is located in "background-extension-linkage menu". Custom addition is supported, and linkage menu is generally used:

When you create a custom field in the data model, the field type is set to "Linkage menu"

Then select your regional linkage menu through the linkage menu list at the "menu id" option, and you can set the way to return the value of the linkage menu. This linkage menu item can then appear in the content add editing interface, which is a common method.

Second, call the linkage menu directly in the phpcms template, this method is not commonly used.

The specific method is to go to the background-expand-linkage menu list, you will see that each linkage menu has a calling code, copy and paste this code to the location of the template you want. But according to experience, this is not enough, because although the linkage menu fell out through this code, but because of the lack of css, js files when displaying with this order, the display is often abnormal, so you need to ensure that statics/js/dialog.js, statics/js/linkage/js/pop.js, statics/css/dialog.css and other files are introduced into your template at the same time. You need to know something about phpcms.

Thank you for reading! After reading the above, do you have a general idea of how to use the phpcms linkage menu? I hope the content of the article will be helpful to all of you. If you want to know more about the relevant articles, you are welcome to follow the industry information channel.

Tags: Menu content method code template usage location background field commonly used file article this method problem not enough at the same time region data method more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Apple Shulou Tech Info Shulou Information Microsoft