How does Empire CMS move the TAGS attribute of information to the [Basic Information] tab?

888u

Last update at :2024-03-14,Edit by888u

When Empire cms adds/edits information, the TAGS attribute of the information is hidden in the tab [Option Settings]. If you put TAGS in the [Basic Information] tab, it can save time, effort and facilitate management. As shown in the picture:

Modification method

There are two steps to implement this function:

1. Modify the e/admin/AddNews.php file

Look for TAGS in this file, run up and down the code here to find the following code and delete it:

'; if(strstr($public_r['chtags'],','.$modid.',')) { $infotag_readonly=' readonly'; $infotag_copykeyboard=''; } ?> TAGS: > (separate multiples with "," commas)

2. Modify the special.field field of each data table

special.field is the system default field. At the end of the field's "Input form replacement html code", find and insert the code deleted in the first step.

Note: All data tables that need to use the tag function need to be modified in the second step.

Recommended site search: permanent free cloud server address, website registration domain name query, search IP, jsp space, free vps trial 7-day accelerator, cn domain name price, domain name query network, instant solution server, US host purchase, forum host,

How does Empire CMS move the TAGS attribute of information to the [Basic Information] tab?

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码