Embedding Content and Modules

Embedding Content

Within the body text, content can embed links to or images from other content. The general form is like this: [content_name:View#option_name=Option Value]. You can view the content_name / URL name by going to the edit page for a piece of content. The View is a class that determines the way that the content will be displayed, and the option name and value are options for that view. Some of the commonly used views are:

Link: A link to the content

Summary: A short synopsis of the content

Full: The entire content item

DownloadLink: A link to download a file

Thumb: An Image thumbnail

Mid: A mid-sized version of an Image

Img: A full-sized Image

Player: A Media player

 

Thankfully, you don't have to remember any of these cryptic codes. To insert a new content simply click the Groupy icon to open up a dialog which will allow you to insert a new piece of content. The first screen will allow you to select the type of content you want to insert, the second will take you to the content form, and finally a form to select which view you would like to use and enter options. In the view options dialog a preview appears at the top of the dialog to let you know what the html you will insert will look like. Below the preview there is a select that allows you to choose which view you would like to use, followed by a description of the type of view you have selected. Any options below that are specific to the view you have selected. To search for existing content click the icon next to it with a magnifier, search, click select on the content you want to embed, and then select the view. You may edit or these pieces of content, or change how they appear by right clicking on them and selecting Insert / Edit or Find Existing content.

Content View Option Dialog 

Embedding Modules

You may also insert modules into the body of a page. They can list other pieces of content comments, show a form, or do any number of other interesting things. Clicking on the insert Groupy module icon will open up a dialog that allows you to select a module, and fill out the appropriate module options. The syntax for embedding a module is: (module_name#option1=option1 value|option2=option 2 value). Right clicking on an existing module will open the same dialog to allow you to edit the module options. See Modules for a complete listing of modules included in Groupy.

Module Options Dialog