Home > Article > CMS Tutorial > 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}
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='30' row='10' } <li ><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li> {/dede:arclist}
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!