The Empire CMS system tags tags appear empty tags tag solution

Source: Internet
Author: User

Specific Solutions

/*
e/class/t_functions.php
Search
*/

The code is as follows Copy Code
$str. = $jg. ' <a href= "'. $tagsurl. '" target= "_blank" > ". $r [$i]. ' </a> '. $br;
$JG = $br? ': $SHOWJG;


* Change to * *

The code is as follows Copy Code
if (!empty ($r [$i])) {
$str. = $jg. ' <a href= "'. $tagsurl. '" target= "_blank" > ". $r [$i]. ' </a> '. $br;
$JG = $br? ': $SHOWJG;
}

Personal summary, appear blank label is certainly not a system of problems, I just judge if it is empty label on the filter, we can refer to the following Imperial CMS system tags tags use parameters

[Showtags] Category ID, display quantity, display quantity per line, display sort, show only recommendation, recommend tags property, show spacer, whether to display information number, link additional parameters [/SHOWTAGS]6M5 Love design Studio

Parameter parameter description
Category ID ' null for Unrestricted, view tags category id6m5 love design Studio

Multiple can be used, the number lattice open, such as ' 1,2 ' 6m5 Love design Studio
Content page displays the current tags can be used ' selfinfo ' 6M5 Love design studio
 
Displays the number of previous records, 0 shows all (' Selfinfo ' This setting is not valid)
Show number of lines per line show how many tags,0 for no wrap
Display sort Use default setting ' null can be, default is ' TagID desc ' (' selfinfo ' This setting is invalid)
Show only recommended tags,0 only recommended for unrestricted , 1 is restricted (' selfinfo ' This setting is invalid)
Recommended tags properties if it is recommended tags, whether the content to be bold or Garon (' selfinfo ' This setting is not valid) 6M5 Love design Studio
Set ' s ' means bold, ' r ' means Garon, At the same time, bold Garon with the ' s,r '
Display spacer tags between the separator, the default is ' &nbsp; '
Whether the amount of information displayed in tags after the number of information displayed, 0 is not displayed, 1 for display (' Selfinfo ' This setting is not valid)
Link additional parameters can be specified after tags link add parameters, such as: ' &tempid= template ID '

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.