Search
Wednesday, October 17, 2018
User manualsEasyDNNnews

EasyDNNnews User's manual

Integration of EasyDNNnews and DNN Banners module

Previous Article Integrate EasyDNNnews and EasyDNNgallery module
Next Article EasyDNNnews and Facebook integration

Integration of EasyDNNnews and DNN Banners module

If you setup vendor banner advertising on the portal or host you can use the in the EasyDNNnews module same as you would using Banners module. You can use this integration using a token in the template. First you need to go Admin>Vendors or Host>Vendors settings. You should see the following form:

Click On “Add New Vendor”. And fill in all required vendor details. The form should look like this:

Click on “Update” to save vendor details. After that you need to go back to the editing vendor details. Now you have option to edit vendor banner advertising. Go to editing details of that vendor and under “Banner Advertising” section click on “Add new banner”.

Fill in the details of banner and save them.

After that you can display banners in the EasyDNNnews module using a token.

Here is an example of a token:

This token will display one banner after every 3 articles. Here is the description of options:

Source:Portal - Select source for the banners.

- Possible values: Portal or Host

Type:banner - Select a type of Banner to display.

- Possible values: Banner, MicroButton, Button, Block, SkyScrapper, Text, Script,

Group:Main - Name of the Banners group.

Count:1 - Number of banners to display.

Repeat:3 - If we are listing articles repeat banners after n articles. If you are using this token in Article details or placing it before or after article list this parameter is ignored.

You can place token in any article List_ or Details_ template.

If you want to display banners before article list you can place token in the <!--ArticleRepeat:Before:--> section. In this case parameter Repeat is ignored. Here is an example:

<!--ArticleRepeat:Before:-->

<!--RepeatEnd:Before:-->

If you want to display banners after article list you can place token in the <!-- ArticleRepeat:After:--> section. In this case parameter Repeat is ignored. Here is an example:

<!--ArticleRepeat:After:-->

<!--RepeatEnd:After:-->

If you want to display banners in the article list you can place token in between

<!--ArticleTemplate--> and <!--ArticleEnd--> tokens. Here is example:

<!--ArticleTemplate-->

<article class="edn_article edn_clearFix">

[EasyDNNnews:HasArticlePermissions]

<div class="edn_adminActions">

<!--ArticleEnd-->

You can also place token anywhere in the Details_ template. In this case parameter Repeat is ignored. Here is example of displaying banner in header section:

<EDNHeader>

<article class="edn_article edn_articleDetails">

[EasyDNNnews:IfExists:Event]

<div class="edn_eventDetails edn_clearFix">

</EDNHeader>

Here is an example of image banner and what it may look like on the page when listing articles (depending on template and design):

Documents to download

Previous Article Integrate EasyDNNnews and EasyDNNgallery module
Next Article EasyDNNnews and Facebook integration
Print
Last update: 04.01.2016 / Rate this article:
5.0

Name:
Email:
Subject:
Message:
x

Table Of Contents

Categories

Copyright 2018 by EasyDNNsolutions Terms Of Use Privacy Statement