Add / Edit Template

Top  Previous  Next

Editing a template and adding a new one is done on the same screen. The image below shows a Template being edited.

 

 

 

template_edit

 

 

On the top of the form, you enter Template Name. This name appears on "Template List" and "Settings".

 

Template Body is the most important thing you should concentrate. Reading the Template Structure may be very helpful before modifying the template body. Also you can use our free templates that you can download from the web site, http://dnn.destech.net/. From the main page, go to Modules | The Funnel | Resources.

 

You can view the available tokens at the bottom of this page.

 

warning Preview displays a random nugget and also it may be randomly chosen from a non-visible nugget. Also, only a single slot is displayed.

 

 

 

Link Nature

 

We use funneling to direct our visitors to other pages. So, the way we display the link is important. There are 4 ways of displaying the link:

 

 

LINK NATURE

APPEARANCE OF PARAMETERS

INFORMATION

Caption

template_edit_caption

If you choose "Caption" as the link nature, you provide a caption. This caption will appear in all [LINK] tokens when you use this template. Choose a versatile caption such as "click for more" or "details" etc.

Use Title

template_edit_title

Or you can select the title of the Nugget as the link. But here, you should give a character limit, because some titles may be too long and may corrupt the structure of the template.

Image

template_edit_image

As an alternative, you can use images, such as GIF or JPG buttons.

 

From the Link Image parameter, you can choose an image to use as the link. This is the standard DotNetNuke file chooser component.

No Link

template_edit_nolink

Or you may not use any links. This is the case when you use Nuggets just as informative boxes (eg. quote of the day or tip of the applications)

 

 

Please note that, the Link Nature is the property of the template, so you cannot change this feature for a sole instance of The Funnel (by Settings). If you want a slightest variation, you should define another template.

 

Additionally, you cannot use different "Link Nature"s within the same template.

 

warning You'll notice that, when you click Update, the page calls itself. This may feel weird at first, but this feature is implemented on purpose. When you modify the template, you need to update the form in order to see the proper Preview. By the form calling itself, you can carry on this task easily. When you are finished with modifying the template, just navigate to somewhere else. Be sure that the template is saved.

 

warning This module does not check the syntax of the template, so you should be careful with the code.