Home  >  Article  >  CMS Tutorial  >  How to use DEDECMS to move the mouse to the title to display the complete title

How to use DEDECMS to move the mouse to the title to display the complete title

藏色散人
藏色散人Original
2020-01-07 09:43:432630browse

How to use DEDECMS to move the mouse to the title to display the complete title

How does DEDECMS move the mouse to the title to display the complete title?

Dream Weaver DEDECMS limits the title length and moves the mouse to the title to display the complete title

Recommended learning: Dream Weaver cms

DEDECMS has If the title limit character is very short, moving the mouse over the title will display the incomplete title anchor text. In this case, we can change the call tag of the anchor text. Let’s see the specific operation:

Our normal The code for calling the tag is as follows:

{dede:arclist  titlelen=""40"" orderby=pubdate} 
[field:title/] 
{/dede:arclist}

The code marked in red is the key. The meaning of the code marked in red is: calling the title hyperlink, title="[field:title/]" means the title output of the call For title information, we replace this with the following code:

{dede:arclist  titlelen=""40"" orderby=pubdate} 
[field:title/] 
{/dede:arclist}

Pay attention to the code marked in red. In fact, the entire code just replaces title="[field:title/]" with title="[ field:fulltitle/]" is fine. Now you can preview whether the title displayed in this way can fully display the complete title anchor text information.

The above is the detailed content of How to use DEDECMS to move the mouse to the title to display the complete title. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn