Example of magnet tags
A Magnet tag is an Html tag linked to a TBS field. The Magnet tag is deleted when the field is deleted, i.e. when the field is null or empty string. A Magnet tag is defined using parameter magnet. The type of the tag (single or opening-closing) and its position are defined using parameter mtype.
Parameter | Value | Display |
---|---|---|
magnet=a | $url = 'www.tinybutstrong.com' | Link: TBS Site |
magnet=a;mtype=m+m | $url = 'www.tinybutstrong.com' | Link: TBS Site |
magnet=img;mtype=m* | $image = 'tbs_us_examples_prmmagnet.gif' | Image: |
magnet=br; mtype=*m | $line2 = '3rd floor' | Address: -------- 2 Main Street 3rd floor -------- |