Page tree
Skip to end of metadata
Go to start of metadata

With the newsletter template, you have the ability to customize how each article looks. For example, you could show images with the first couple of main articles, but have the rest show as a list of links. The example below shows how you create a loop for articles 1 to 4, then just article 5, then articles 6 to the end.   

<!--cinews:contentstart 1 4-->
…
<!--cinews:contentend-->


<!--cinews:contentstart 5 5-->
…
<!--cinews:contentend-->


<!--cinews:contentstart 6 end-->
…
<!--cinews:contentend-->


Note: When you create the newsletter from the template, if you have less articles than the template has specified, it will simply add the number of articles you selected and stop there. So if you only had 5 articles, in the example above, it would not show the section for articles 6 to the end. 


Inside each of the "cinews:contentstart" loops, you'll need to add the variables for each article's title, image, links, etc. Below is an example of how that could look. Please view Create a Newsletter in Version 8 for more information on the variables that can be used.


<!--cinews:contentstart 1 4-->
  
    <!--cinews:articlestart-->
  
        <!--cinews:subjectstart-->
            %%subject%%
        <!--cinews:subjectend-->
     
        <!--cinews:authorstart-->
            by %%author%%
        <!--cinews:authorend-->
     
        <img align="left" src="%%thumbnailurl%%">
        %%abstract%%
  
        <!--cinews:readmorestart-->
            <a alias="%%linkalias%%" href="%%articleurl%%" style="font-size: 12px">[FULL STORY]</a>
        <!--cinews:readmoreend-->
  
        <!--cinews:backstart-->
            <span id="article_fullstory"><a href="%%backurl%%" style="font-size: 12px">Back</a></span>
        <!--cinews:backend-->
  
    <!--cinews:articleend-->
  
<!--cinews:contentend-->

<!--cinews:contentstart 5 5-->
 <!--cinews:articlestart-->
  
        <!--cinews:subjectstart-->
            %%subject%%
        <!--cinews:subjectend-->
     
        <!--cinews:authorstart-->
            by %%author%%
        <!--cinews:authorend-->
     
        <img align="left" src="%%thumbnailurl%%">
        %%abstract%%
  
        <!--cinews:readmorestart-->
            <a alias="%%linkalias%%" href="%%articleurl%%" style="font-size: 12px">[FULL STORY]</a>
        <!--cinews:readmoreend-->
  
        <!--cinews:backstart-->
            <span id="article_fullstory"><a href="%%backurl%%" style="font-size: 12px">Back</a></span>
        <!--cinews:backend-->
  
    <!--cinews:articleend-->
<!--cinews:contentend-->
  • No labels