You are hereCompose tips

Compose tips


  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs are automatically recognized. The <br /> line break, <p> paragraph and </p> close paragraph tags are inserted automatically. If paragraphs are not recognized simply add a couple blank lines.
  • Flash Filter

    The basic syntax for embedding a flash file (.swf), flash movie (.flv) or audio file (.mp3) is:

    [flash:filename.swf]

    If you would like to override SWF Tools and flash player default settings, you can specify additional parameters. For example:

    Flash Filter will accept following parameters:
    • params : You can specify values for output inside <param> tags with the <embed> html. Typical values are bgcolor and wmode. Example: params="wmode=true&&bgcolor=#00FF00"
    • flashvars : You can specify values for output as flashvars, which become available to the flash player. Refer to the documentation of the flash player you are using to know what flashvar options are available. Example: flashvars="autostart=true&&volume=80"
    • files : Optional list of files to be passed, you'll normally define files relative to your Drupal files directory. Example: files="name1=image.jpg&&name2=movie.flv"
    • methods : Optional information about how to display the file. The most common usage is to specify a particular media player and thus override the settings page. Example: methods="player=onepixelout_mp3"

    WARNING: with params, flashvars and othervars, pass multiple values separated by &&.

  • Paging Help

    Break long pages into smaller ones by means of a "page" tag:

    first page here.
    <!--pagebreak-->
    second page here.
    <!--pagebreak-->
    more pages here.
    
  • To add a lightbox to your images, add rel="lightbox" attribute to any link tag to activate the lightbox. For example:

    <a href="image-1.jpg" rel="lightbox" title="my caption">image #1</a>

    The title attribute in the link tag is optional. The addition of this attribute enables the display of a caption with the image displayed in the lightbox.

    If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:

    <a href="image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
    <a href="image-2.jpg" rel="lightbox[roadtrip]">image #2</a>
    <a href="image-3.jpg" rel="lightbox[roadtrip]">image #3</a>

    There are no limits to the number of image sets per page or how many images are allowed in each set.

    If you wish to turn the caption into a link, format your caption in the following way:

    <a href="image-1.jpg" rel="lightbox" title='<a href="http://www.yourlink.com">View Image Details</a>'>image #1</a>

  • Image links from G2 are formatted for use with Lightbox.V2
  • Images can be added to this post.
  • You may link to files uploaded with the current node using special tags. The tags will be replaced by the corresponding files. For example: Suppose you uploaded three files (in this order):

    • imag1.png (referred as file #1)
    • file1.pdf (referred as file #2)
    • imag2.png (referred as file #3)
    [inline:1=test]  or  [inline:imag1.png=test]
    will be replaced by <img src=imag1.png alt=test>
    [file:1=test]  or  [file:imag1.png=test]
    will be replaced by <a href=imag1.png>test</a>
    [attachment:2=test]  or  [attachment:file1.pdf=test]
    will be replaced by <a href=file1.pdf.png>test</a>
  • SSP slideshows can be added to this post. Example: [ssp|path=path/to/your/ssp/feed|width=300|height=200].
  • Flash node macros can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <iframe><br><style type="text/css"><td><tr><table><div><div style="display:none"><script><embed><img><img src=>

    This site allows HTML content. While learning all of HTML may feel intimidating, learning how to use a very small number of the most basic HTML "tags" is very easy. This table provides examples for each tag that is enabled on this site.

    For more information see W3C's HTML Specifications or use your favorite search engine to find other sites that explain HTML.

    Tag DescriptionYou TypeYou Get
    Anchors are used to make links to other pages.<a href="http://blogs.roanoke.com/oneyearlater">One year later</a>One year later
    Emphasized<em>Emphasized</em>Emphasized
    Strong<strong>Strong</strong>Strong
    Cited<cite>Cited</cite>Cited
    Coded text used to show programming source code<code>Coded</code>Coded
    Unordered list - use the <li> to begin each list item<ul> <li>First item</li> <li>Second item</li> </ul>
    • First item
    • Second item
    Ordered list - use the <li> to begin each list item<ol> <li>First item</li> <li>Second item</li> </ol>
    1. First item
    2. Second item
    Definition lists are similar to other HTML lists. <dl> begins the definition list, <dt> begins the definition term and <dd> begins the definition description.<dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition</dd> </dl>
    First term
    First definition
    Second term
    Second definition
    No help provided for tag iframe.
    By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibilityText with <br />line breakText with
    line break
    No help provided for tag style.
    Table<table> <tr><th>Table header</th></tr> <tr><td>Table cell</td></tr> </table>
    Table header
    Table cell
    No help provided for tag div.
    No help provided for tag div.
    No help provided for tag script.
    No help provided for tag embed.
    No help provided for tag img.
    No help provided for tag img.

    Most unusual characters can be directly entered without any problems.

    If you do encounter problems, try using HTML character entities. A common example looks like &amp; for an ampersand & character. For a full list of entities see HTML's entities page. Some of the available characters include:

    Character DescriptionYou TypeYou Get
    Ampersand&amp;&
    Greater than&gt;>
    Less than&lt;<
    Quotation mark&quot;"