Home  >  Article  >  CMS Tutorial  >  What is the Mytag tag?

What is the Mytag tag?

angryTom
angryTomOriginal
2019-11-09 15:56:353701browse

What is the Mytag tag?

What is the Dreamweaver tag code Mytag tag

The Dreamweaver tag code Mytag is a custom macro mark.

Tag name: mytag

Function description: used to obtain the content of custom macro tags

Applicable scope: global use

Basic syntax :

{dede:mytag typeid='0' name=''/}

Related functions:

File\include\taglib\mytag.lib.php line 5

function lib_mytag(&$ctag, &$refObj)

Parameter description:

name = '' tag name, this item is a required attribute, the following 2 and 3 are optional attributes;

ismake = 'yes|no' The default is no, indicating the set pure HTML code, yes represents the code containing the section mark;

typeid = '' represents the ID of the column to which it belongs. The default is 0, which represents the common display content of all columns. In lists and document templates, the typeid defaults to this list or document. The column ID of itself.

Recommended tutorial: dedecms tutorial

The above is the detailed content of What is the Mytag tag?. 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