


What are the specifications for the writing format of DreamWeaver template tags?
What are the specifications for the writing format of Dreamweaver template tags?
1. Writing format and precautions for the Dreamweaver template tag:
1. Writing format:
① {dede: tag Name parameter='value' Parameter='value'} Bottom template {/dede:tag name}
② {dede:tag name parameter='value'/}
2. Precautions :
① Label writing must use half-width state;
② For example, the label call in 1-① must have a closed label starting from the label name and exist in the underlying template;
③ For example 1-② there is no underlying template representation, and there is no closing tag; its style is written into the corresponding tag source code.
2. The concept and calling method of the underlying template:
1. What is the underlying template?
The underlying template is not a template! It is the specific content to be displayed on the actual page;
2. Application of the underlying template:
Calling method [field: field name /]
Example:
{dede:arclist row='6' titlelen='20'} <li><a href="[field:arcurl/]" title="[field:fulltitle/]">[field:title/]</a></li> {/dede:arclist}
3. Use of custom macro tags and smart tag wizard
Calling method:
{dede:mytag name='标记名称' ismake='yes/no'/}
4. SQL tag:
1. Introduction to SQL tag:
SQL tag is an advanced application that directly uses SQL query statements to query the database and output it. It is characterized by being more flexible, convenient and powerful
2.SQL tag writing format:
{dede:sql sql="complete SQL query statement"}
[field:field name/]
{/dede:sql}
3. SQL call example:
{dede:sql sql="select * From dede_archives where typeid = 10 limit 0,10"}
[field:title/]
{/dede:sql}
5: Other commonly used tags
1. Question and answer tag ask
{dede:ask row='10' qtype='ok' tid='0' titlelen='40'}
[field: title/]
{/dede:ask}
Parameters:
row: number of items
qtype: question type new commend ok notok high
Bottom field:
tid tidname title url typeurl
2. Friendly link flink
{dede:flink row='10' type='image'/ }
Parameters:
row: quantity
qtype: output type textall text image
titlelen: the maximum number of characters in the site
linktype :Link position 1 is the inner page, 2 is the homepage, 0 is not reviewed
typeid: site type typeid="type ID"
The above is the detailed content of What are the specifications for the writing format of DreamWeaver template tags?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.
