[EasyDNNnews:ReadMore:Title] <a href=\"[EasyDNNnews:ReadMore]\"></a> o List_ [EasyDNNnews:Author:Link] Description: o List_ By default it shows “Read more” or it o Details_ canbe set into something else in .rescx file. o List_ o Details_ How to use it template: o List_ <a href=\"[EasyDNNnews:ReadMore]\"> o Details_ [EasyDNNnews:ReadMore:Title]</a> Description: o List_ Article author. o Details_ Example: o Details_ User name o Details_ :Link - Displays a link that will list o List_ all author’s articles. o Details_ [EasyDNNnews:Image] Description: o List_ [EasyDNNnews:Image:Width:100:Height:100 Main article image. o Details_ ] How to use it in template: o List_ <img src=\"[EasyDNNnews:Image]\"/> o Details_ [EasyDNNnews:Image:Visibility] Description: o List_ [EasyDNNnews:IfExists:Image] Main article image with width and height o Details_ [EasyDNNnews:EndIf:Image] set. o List_[EasyDNNnews:IfNotExists:Image] Description: o Details_[EasyDNNnews:EndIf:Image] If the image does not exist it does not o List_ shows the element where is set. o Details_ [EasyDNNnews:PublishDateShort] Example: [EasyDNNnews:PublishDateTime] <div class=“imageclass“ [EasyDNNnews:Image:Visibility]> [EasyDNNnews:PublishDate] <img src=“[EasyDNNnews:Image]“</> </div> [EasyDNNnews:PublishYear] If an image exists then the content [EasyDNNnews:Month] placed between these tokens will be [EasyDNNnews:PublishDay] displayed. If an image does not exist then the content placed between these tokens will be displayed. Description: Publish date. Example: 11/27/2011 Description: Publish date and time. Example: 11/27/2011 2:35:00 PM Description: Publish date with day and month names. Example: Sunday, November 27, 2011 Description: Publish year. Example: 2011 Description: Publish month. Example: 11 Description: Publish day.[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 50
[EasyDNNnews:PublishMonthString] Example: o List_ 27 o Details_ Description: Short publish month. Example: Nov, Dec, Oct… Description: Shows all article categories separated by comma with active link. Example: Category1, Category2, Category3[EasyDNNnews:Categories separator=\", \" separator=\"\" - the content placed o List_ nolink] between quotation marks will be o Details_ displayed between the categories. By default the categories will be separated o List_ with comma “,”. o Details_ nolink – this option will display the o List_ categories only as a text without a o Details_ link. o List_ o Article content[EasyDNNnews:Tags separator=\", \" Description: o Article content nolink] Shows all article tags separated by o Article content comma with active link. o Article content Example: o List_ Tag1, Tag2, Tag3 o Details_ o List_ separator=\"\" - the content placed o Details_ between quotation marks will be o List_ displayed between the tags. By default o Details_ the tags will be separated with comma o Article content “,”. nolink – this option will display the tags only as a text without a link. [EasyDNNnews:Comments] Description: [EasyDNNnews:ArticleLink] Number of comments. [EasyDNNnews:PaidContentStart] [EasyDNNnews:PaidContentEnd] Description: Link to article details.[EasyDNNnews:UnPaidContentStart] Description: [EasyDNNnews:UnPaidContentEnd] Marks the start of paid content. [EasyDNNnews:NumberOfViews] Description: [EasyDNNnews:ArticleRating] Marks the end of paid content. [EasyDNNnewsLocalizedText: Description: SomeText.Text] Marks the start of non-paid content which is displayed when user does not [EasyDNNnews:PageBreak] have privileges to see the paid content. Description: Marks the end of non-paid content which is displayed when user does not have privileges to see the paid content. Description: Number of article views. Description: Shows article rating. In Details_ gives option to rate article. Description: All words in template can be localized by adding SomeText.Text record with value into .rescx file. Description: With this token article can be split into multiple pages. Put this in the[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 51
[EasyDNNnews:CurrentPageURL] text where you want to split the o Details_ [EasyDNNnews:RelatedArticles] article. o Details_ [EasyDNNnews:DocumentList] Description: Display current article URL. o Details_ [EasyDNNnews:ItemOrderClasses][EasyDNNnewsSystemToken:SysFacebookLike Description: o List_ Displays related articles. Button] o List_[EasyDNNnewsSystemToken:SysFacebookShar Description: o Details_ Displays documents that were added to o List_ eButton] the article. o Details_ [EasyDNNnewsSystemToken:SysTwitter] o List_ [EasyDNNnewsSystemToken:SysGooglePlus] Description: o Details_ [EasyDNNnewsSystemToken:SysAddThis] It displays two classes for use in CSS. o List_ First one is “odd” or “even” and the o Details_ [EasyDNNnews:CatalogBreadCrumbTitle] second one is “itemnumber”. o List_ [EasyDNNnews:CatalogBreadCrumbLink] Description: o Details_ Facebook Like button. [EasyDNNnews:CatalogCategoryTitle] o List_Catalog_ Description: o Details_Catalog_ Facebook Share button. It is placed inside <!-- Description: BreadCrumbTemplate--> pane Twitter Button. o List_Catalog_ Description: o Details_Catalog_ Google Plus button. It is placed inside <!-- Description: BreadCrumbTemplate--> AddThis service button with Facebook, Twitter and Google Plus. o List_Catalog_ o Details_Catalog_ Description: Category name in BreadCrumb pane. It is placed inside <!-- HeaderTemplate--> Example: <!--CategoryTemplate--> Category1 o List_Catalog_ Description: o Details_Catalog_ Display BreadCrumb link of current category position. It is placed inside <!-- HeaderTemplate--> Example: <!--CategoryTemplate--> Category 1 > category 2 o List_Catalog_ Description: o Details_Catalog_ Displays category title. It is placed inside <!-- Example: CategoryTemplate--> Category 1 o List_Catalog_ Description: Displays category description. It is placed inside <!-- CategoryTemplate-->[EasyDNNnews:CatalogCategoryDescription ] o List_Catalog_ Description: It is placed inside <!-- Displays category link. CategoryTemplate-->[EasyDNNnews:CatalogCategoryURL] o List_Catalog_ [EasyDNNnews:CatalogCategoryImage] Description: It is placed inside <!-- Category image. CategoryTemplate-->[EasyDNNnews:CatalogCategoryImage:Width :300:Height:200] How to use it template: <img src=\"[EasyDNNnews:CatalogCategoryImage]\" /> Description: Category image with width and height set to 300x200.[EasyDNNnews:CatalogCategoryImage:Visib Description: ility] If the image does not exist it does not shows the element where is set. Example:[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 52
[EasyDNNnews:IfMediaType:Image] … <div class=“imageclass“ o Details_[EasyDNNnews:EndIfMediaType [EasyDNNnews:CatalogCategoryImage:Visibi lity]><img src=“[EasyDNNnews:CatalogCategoryImage]“ </></div> Description: Between these two tokens you can place the HMTL that would be show if the main article image is set.[EasyDNNnews:IfMediaType:EmbedMedia]…[E Description: o Details_asyDNNnews:EndIfMediaType] Between these two tokens you can place the HTML and the token that will be shown in the main article is set to another media than image.[EasyDNNnews:MainMedia:Widht:600:Height Description::300] Token has two parameters Width and Height. IT is the size in pixels of the media that will be shown o Details_ [EasyDNNnewsComment:DateAdded] Description: o Comments_ [EasyDNNnewsComment:Author] Comment added date.. o Comments_ o Comments_ [EasyDNNnewsComment:GravatarImage] Description: o Comments_ [EasyDNNnewsComment:Comment] Comment author. o CategoryMenu o CategoryMenu [EasyDNNcategories:ArticleCount] Description: o CategoryMenu [EasyDNNcategories:Link] Shows comment’s authors Gravatar image. o CategoryMenu o CategoryMenu [EasyDNNcategories:Description] Description: [EasyDNNcategories:Title] Displays comment. o Details_ [EasyDNNcategories:RSSCategoryURL] Description: o Details_ Number of articles in category.[EasyDNNnews:IfExists:AuthorProfile] Description: Category link. Description: Category description. Description: Category title. Description: Category RSS URL. Description: This token marks the start of the profile of the author. The following tokens should be placed between the start and end profile tokens: Description:[EasyDNNnews:Author:FirstName] DNN name of the author (user). [EasyDNNnews:Author:LastName] Description: o Details_ [EasyDNNnews:Author:FullInfo] DNN name of the author (user). o Details_[EasyDNNnews:Author:ShortInfo] o Details_ Description: Author's biography that will be displayed in Lightbox. Author's biography can be localized by editing the „FullBioText.Text“ record into .rscx file. Description: A short info about the author which appears on the page.[EasyDNNnews:Author:DateAdded] Description: o Details_ [EasyDNNnews:Author:Link] Date of when author's profile is added. o Details_ Description: o List_ Displays a link which will list all[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 53
[EasyDNNnews:Author:RSSURL] author's articles. o Details_ [EasyDNNnews:Author:Contact] o Details_ Description:[EasyDNNnews:Author:Image:Width:65:Heig Displays a link to the author's rss. o Details_ht:50:Resize:Crop] o Details_ Description: o Details_ [EasyDNNnews:Author:Facebook] Displays the author’s contact form in o Details_ [EasyDNNnews:Author:Twitter] Lightbox. o Details_ o Details_ [EasyDNNnews:Author:GooglePlus] Description: [EasyDNNnews:Author:LinkedIn] Displays the author's photo or avatar. o Details_ It is possible to set: width, height, [EasyDNNnews:EndIf:AuthorProfile] resize (Crop or Proportional). o Details_ o Details_ [EasyDNNnews:IfExists:AuthorGroup] Description: o Details_ A link to the author's Facebook page. o Details_ Description: o Details_ A link to the author's Twitter page. o Details_ o Details_ Description: o Details_ A link to the author's Google+ page. o Details_ Description: A link to the author's LinkedIn page. o Details_ Description: o List_ This token marks the end of the author’s o Details_ box. Description: Marks the start of the profile group. The following tokens should be placed between the start and end group tokens: [EasyDNNnews:Author:GroupName] Description: [EasyDNNnews:Author:GroupInfo] Displays the group’s name. [EasyDNNnews:Author:GroupContact] Description:[EasyDNNnews:Author:GroupImage:Width:65 Displays the group’s info.:Height:50:Resize:Crop] Description: [EasyDNNnews:Author:GroupFacebook] Opens the group’s contact form in [EasyDNNnews:Author:GroupTwitter] Lightbox. [EasyDNNnews:Author:GroupGooglePlus] Description: [EasyDNNnews:Author:GroupLinkedIn] Displays the author’s photo or avatar. It is possible to set width, height and [EasyDNNnews:EndIf:AuthorGroup] resize option (crop or proportional). [EasyDNNnews:ArticleMaps] Description: A link to the group’s Facebook page. Description: A link to the group’s Twitter page. Description: A link to the group’s Google+ page. Description: A link to the group’s LinkedIn page. Description: This token marks the end of the group’s box. All the box related tokens should be placed between the start and end group tokens. Description: This token displays a Google map if the map exists. Description:[EasyDNNnews:EventDate] Displays a date formatted according to an event type. Example: The event starts and ends on the same day. It is not all-day event: 7/4/2012 12:00 AM - 16:00 PM . The event last for more than one day. It[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 54
is all-day event: 7/4/2012 12:00 AM - 7/5/2012 12:00 PM The event starts and ends the same day. It is all day event: 7/4/2012 The event last for more than one day. It is all-day event:[EasyDNNnews:EventStartDate] 7/4/2012 - 7/5/2012 o List_[EasyDNNnews:EventStartTime] o Details_ Description: Start date of the event. Description: Example: 7/4/2012 Start time of the event. Description: Example: Start time of the event. 12:00 PM Example: 12:00 PM[EasyDNNnews:EventEndDate] Description: Description: End date of the event. End date of the event. Example: Example: 7/5/2012 7/5/2012 [EasyDNNnews:EventEndTime] Description: Description:[EasyDNNnews:EventStartDay] End time of the event. End time of the event. Example: Example: 12:00 PM 12:00 PM Description: Description: Start day of event. This will display Start day of event. This only day in month. will display only day in Example: month. 5 Example: 5[EasyDNNnews:EventStartMonth] Description: Description: Start month of event. This will display Start month of event. This only month number. will display only month Example: number. 7 Example: 7[EasyDNNnews:EventStartYear] Description: Description: Year of event. This will display only Year of event. This will year. display only year. Example: Example: 2012 2012[EasyDNNnews:EventEndDay] Description: Description: End day of event. This will display only End day of event. This will day in month. display only day in month. Example: Example: 6 6[EasyDNNnews:EventEndMonth] Description: Description: End month of event. This will display End month of event. This only month number. will display only month Example: number. 7 Example: 7[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 55
[EasyDNNnews:EventEndYear] Description: Description: Year when event ends. This will display Year when event ends. This[EasyDNNnews:EventStartMonthNam only year. will display only year. eShort] Example: Example: 2012 2012 Description: Description: Starting month of event. This will Starting month of event. display short month name. This will display short Example: month name. Jun Example: Jun[EasyDNNnews:EventEndMonthNameS Description: Description: hort] Ending month of event. This will display Ending month of event. This short month name. will display short month Example: name. Jul Example: Jul[EasyDNNnews:EventStartMonthNam Description: Description: eLong] Starting month of event. This will Starting month of event. display full month name. This will display full Example: month name. July Example: July[EasyDNNnews:EventEndMonthNameL Description: Description: ong] Ending month of event. This will display Ending month of event. This full month name. will display full month[EasyDNNnews:EventStartDayNameS Example: name. hort] August Example: August Description: Starting day of event. This will display Description: short day name. Starting day of event. This Example: will display short day Wed name. Example: Wed[EasyDNNnews:EventEndDayNameSho Description: Description: rt] Ending day of event. This will display Ending day of event. This short day name. will display short day Example: name. Fri Example: Fri[EasyDNNnews:EventStartDayNameL Description: Description: ong] Starting day of event. This will display Starting day of event. This full day name. will display full day name.[EasyDNNnews:EventEndDayNameLon Example: Example: g] Wednesday Wednesday Description: Description: Ending day of event. This will display Ending day of event. This full day name. will display full day name. Example: Example: Friday FridayExplanation in what template tokens can be used:* List_ (works in templates List_Article_ i List_Catalog_ )* Details_ (works in templates Details_Article_ i Details_Catalog_)* List_Catalog_ (works in only in template List_Catalog_)* Details_Catalog_ (works in only in template Details_Catalog_)* Comments_ (works in only in template Comments_)* CategoryMenu (works in only in category template in module EasyDNNnews CategoryMenu)* CategoryMenu (works in only in category template in module EasyDNNnews CategoryMenu)* Article content (works in only in article content adding editor) **Limit, Width and Height inside token have bigger priority then the values set in module settings.[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 56
8.2. Templates and themesEasyDNNnews display articles using HTML templates. In the HTML template you can put TOKENSwhich in their places display title, subtitle, publish date, article text, article image…Templates are located in the folder /DesktopModules/EasyDNNnews/Templates/.Templates can be organized by portals. U the folder /Templates/_default/ are templates visible to allusers of all portals. If templates are placed inside folder /Templates/0/ then they are visible only tothe users of portal 0.8.3. Structure of Templates folder/Templates/(number of portal)/name of template/News/- here are located templates for EasyDNNnews main module. They are saved as HTML with List_ orDetails_ prefix./Templates/(number of portal)/nameoftemplate/Search/- here are located templates for EasyDNNnews Search module/Templates/(number of portal)/nameoftemplate/CategoryMenu/- here are located templates for EasyDNNnews CategoryMenu module/Templates/(number of portal)/nameoftemplate/StyleCSS/- here are located CSS from template display styles. Templates can have additional display styles.Display styles usually contain various color schemes./Templates/(number of portal)/nameoftemplate/nameoftemplate.css- Main template CSS. It should be named same as the template.Example how the folders for template BlogOne are organized: /Templates/_default/BlogOne/News/ /Templates/_default/BlogOne/Search/ /Templates/_default/BlogOne/CategoryMenu/ /Templates/_default/BlogOne/StylesCSS/ /Templates/_default/BlogOne/BlogOne.css[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 57
8.4. Structure of HTML templatesHTML is consisting of List Article templates and Details Article templates layout. List Article template – contains template for displaying article in a list Detail Article template – contains template for displaying article details Comments template – contains template for displaying commentsList and Details templates are different for Article display and Catalog display.Defined HTML templates must contain prefixes: For Article display: o List_Article_name.htm o Details_Article_name.htm o Comments_name.htm For Catalog display: o List_Catalog_name.htm o Details_Catalog_name.htm o Comments_name.htmYou can have unlimited number of list and details templates, but you must contain their prefixes(Example: List_Article_name1.htm, List_Article_name2.htm… Details_Article_noimage.htm,Details_Article_withimage.htm…).8.4.1. List and Details HTML templates1. List templates – displaying article in listThere are two types of displaying articles with List templates: 1. Displaying articles in simple mode– Articles are displayed in list, one below other. In the template is defined the display of only one article which is repeated. 2. Displaying articles in advanced mode (MultiArticleTemplate) – In this display type you create advanced article list layout which is static and does not repeat itself. You can set different order and structure of articles (Example: First article with large, title and subtitle, second and third with small image and without subtitle …).2. Details templatesDetails template is used for displaying article details. Details template is divided into panes. Insidepane is placed HTML with tokens. For example: if you wish to add below comments social sharingbuttons then the token is placed into Bottom Panel. If you wish to have title above the gallery thenthe token is placed into Header pane. With this type of management there is a great flexibility inediting the details template.[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 58
Structure of panes in Details_ template: HEADER PANE -- GALLERY TOP POSITION -- CONTENT TOP PANE CONTENT PANE CONTENT BOTTOM PANE -- GALLERY BOTTOM POSITION -- FOOTER PANE -- COMMENTS -- BOTTOM PANE8.5. CSS themesCSS is saved in the template root folder /nameoftemplate/nameoftemplate.css and must be namedsame as template directory (Example: if the theme is called nameoftemplate, CSS must be callednameoftemplate.css. Names are case sensitive).Based on the template name main CSS selector if defined in the CSS file: #EDN_nameoftemplateU main CSS (nameoftemplate.css) are located styles for templates for main news module and theother modules (Calendar, Search, CategoryMenu and TagCloud). CSS classes can be called globally(available in all modules)or they can be visible only individual modules . If you wish to limit classes toindividual module then you sub selector based on the module name.[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 59
Examples:Predefined sub selectors for modules:#EDN_nameoftemplate.news#EDN_nameoftemplate.search#EDN_nameoftemplate.calendar#EDN_nameoftemplate.tagcloud#EDN_nameoftemplate.categorymenuThemes can have also display styles but it is not necessarily. CSS form styles are saved into folder/Styles/#EDN_nameoftemplate is obligatory way of naming selectors.nameoftemplate is case sensitive. If the theme title is „NameOfTemplate“ then also the selectormust be #EDN_NameOfTemplate. It is different from #EDN_nameoftemplate!!!Organization and structure of templates:Folder: /Templates/(portal number) or _default/News(1) List article (1.1) Article template (file prefix: List_Article_) (1.2) Article multiarticle template (file prefix: List_Article_) (1.3) Catalog template (file prefix: List_Catalog_)(2) Details article (2.1) Article template (file prefix: Details_Article_) (2.2) Catalog template (file prefix: Details_Catalog_)(3) Comments (file prefix: Comments_)Folder: /Templates/(portal number) or _default/CategoryMenu(4) Category (CategoryMenu) (file prefix: TemplatedMenu_)--------------------------------------------------(1.1) LIST ARTICLE - ARTICLE TEMPLATE<!--ArticleRepeat:Before:-->Header of template – no repeat<!--RepeatEnd:Before:--><!--ArticleTemplate--><!--ArticleEnd --><!--ArticleRepeat:After:--> Footer of template – no repeat<!--RepeatEnd:After:-->[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 60
(2.1) DETAILS ARTICLE - ARTICLE TEMPLATE<!--ArticleTemplate--><EDNHeader></EDNHeader><!--Gallery TOP position--><EDNContentTop></EDNContentTop><EDNContent></EDNContent><EDNContentBottom></EDNContentBottom><--Gallery BOTTOM position--><EDNFooter></EDNFooter><!—Comments position--><EDNBottom></EDNBottom><!--ArticleEnd-->(1.3) LIST ARTICLE – CATALOG TEMPLATE<!--CatalogArticleTemplate--><!--BreadCrumbTemplate--><!--BreadCrumbEnd--><!--CatalogArticleEnd--><!--CatalogArticleTemplate--><!--HeaderTemplate--><!--HeaderEnd--><!--CatalogArticleEnd--><!--CatalogArticleTemplate--><!--CategoryTemplate--><!--CategoryEnd--><!--CatalogArticleEnd--><!--CatalogArticleTemplate--><!--ArticleTemplate--><!--ArticleEnd--><!--CatalogArticleEnd-->(2.2) DETAILS ARTICLE - CATALOG TEMPLATE<!--CatalogArticleTemplate--><!--BreadCrumbTemplate--><!--BreadCrumbEnd--><!--CatalogArticleEnd--><!--ArticleTemplate--><EDNHeader></EDNHeader><!--Gallery TOP position--><EDNContentTop></EDNContentTop><EDNContent></EDNContent><EDNContentBottom></EDNContentBottom><--Gallery BOTTOM position--><EDNFooter></EDNFooter><!—Comments position--><EDNBottom></EDNBottom><!--ArticleEnd-->(1.2) LIST ARTICLE - ARTICLE MULTIARTICLE TEMPLATE<!--MultiArticleTemplate--><!—ArticleRepeat:Before:--><!—RepeatEnd:Before:--><!--MultiArticleEnd-->...<!--MultiArticleTemplate--><!--ArticleRepeat:1:--><!--RepeatEnd--><!--MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:2:--><!--RepeatEnd--><!--MultiArticleEnd--><!--MultiArticleTemplate-->[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 61
<!--ArticleRepeat:3:--><!--RepeatEnd--><!--MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:4:--><!--RepeatEnd--><!--MultiArticleEnd-->...<!--MultiArticleTemplate--><!—ArticleRepeat:After:--><!—RepeatEnd:After:--><!--MultiArticleEnd-->(3) COMMENTS<!--CommentTemplate--><!--CommentEnd-->(4) CATEGORY (CategoryMenu module)<!--CategoriesTemplate--><!--HeaderTemplate--><!--HeaderEnd--><!--CategoriesEnd--><!--CategoriesTemplate--><!--TemplateLevel:0--><!--TemplateEnd--><!--CategoriesEnd--><!--CategoriesTemplate--><!--TemplateLevel:1--><!--TemplateEnd--><!--CategoriesEnd-->...<!--CategoriesTemplate--><!--FooterTemplate--><!--FooterEnd--><!--CategoriesEnd-->8.6. Multi-article template featureOne of main features of EasyDNNnews is article display ability. Besides standard display (displayingone article below other), it is possible to use advanced Multi-Article templates with different articlelayout look and options.Multi-article template consists of se pane ArticleRepeat in which you place number of article whichwill be displayed inside this repeater. You can place multiple articles inside one repeater dependingon layout.Example of Multiarticle template:<!--MultiArticleTemplate--><!—ArticleRepeat:Before:-->Header of template – optional<!—RepeatEnd:Before:--><!--MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:1:--><HTML with tokens for article 1/><!--/RepeatEnd-->[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 62
<!--/MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:2:4:--><HTML with tokens for article 2/><HTML with tokens for article4/><!--/RepeatEnd--><!--/MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:3:5:--><HTML with tokens for article 3/> <HTML with tokens for article5/><!--/RepeatEnd--><!--/MultiArticleEnd--><!--MultiArticleTemplate--><!--ArticleRepeat:6:7:8:9:10:11:12:13--><HTML with tokens for article 6/> <HTML with tokensfor article 7/><HTML with tokens for article 8/><HTML with tokens for article 9/><HTML withtokens for article 10/><HTML with tokens for article 11/><HTML with tokens for article12/><HTML with tokens for article 13/><!--/RepeatEnd--><!--/MultiArticleEnd--><!--MultiArticleTemplate--><!—ArticleRepeat:After:--> Footer of template – optional <!—RepeatEnd:After:--><!--MultiArticleEnd-->[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 63
[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 64
8.7. Multi instance module featureWith EasyDNNnews it is possible to have multiple module instances on one page it is possible toachieve the same result as Multi-article template. You need to place module on the page and in theu Module Settings > Multi module article> Number of starting article set the number from whicharticles are displayed.Example: On the page there are 3 module instances. In the first instance we want to show 1 article inthe second 3 and in the third 5 articles. For first instance we must set starting article 1, for thesecond we must set the starting article 2 and for the third instance we must set the starting article to5 because the first 2 instances already show 4 articles.Connecting multiple module instances to work as oneTo connect multiple modules instances on the same page to work as one during category changesyou need to turn option to receive global values in the settings: Module Settings > Multi modulearticle feature> Receive global query stringIn the helper modules you need to turn on option page on which we want to send global values.Difference between Multi-article template feature and Multi instance module feature?Multi-article template enables advanced design and better performances. Multi instance modulefeature enables placing multiple module instances on the page with selection of repeating selectedlayout. With Multi-article template features number of articles that appear on the page is set in thetemplate and in the settings. With multi instance feature this is not condition and the number ofarticles on the page is set in settings.[EasyDNNnews 4.0 - www.easyDNNsolutions.com - [email protected]] Page 65
Search