Home > CMS Tutorial > DEDECMS > How to use dedecms [field:fulltitle/] tag

How to use dedecms [field:fulltitle/] tag

藏色散人
Release: 2019-12-09 09:49:27
Original
2483 people have browsed it

How to use dedecms [field:fulltitle/] tag

How to use the dedecms [field:fulltitle/] tag?

In the process of making templates, we usually limit the length of article titles for the sake of beauty, such as:

Recommended learning: 梦Weavercms

{dede:arclist titlelen='30' row='10' }  
<li><a href="[field:arcurl/]">[field:title/]</a></li>  
{/dede:arclist}
Copy after login

The titlelen='30' in this tag section limits the length of the article title [field:title/] tag to no more than 30 bytes.

If our article title exceeds 30 bytes, readers will find it to be a very incomplete article title at first glance.

Dreamweaver provides a special tag [field:fulltitle/] which is not restricted by titlelen='30' when used and can call the full title.

Then we can write the above tag like this:

{dede:arclist titlelen=&#39;30&#39; row=&#39;10&#39; }  
<li ><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li>  
{/dede:arclist}
Copy after login

After calling this, the reader can see the complete title by placing the mouse on the title.

The above is the detailed content of How to use dedecms [field:fulltitle/] tag. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template