Question about list view #37
              
                
                  
                  
                    Answered
                  
                  by
                    TheCadien
                  
              
          
                  
                    
                      danielkeho
                    
                  
                
                  asked this question in
                Q&A
              
            -
| 
         How list view of news is created with this bundle please  | 
  
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            TheCadien
          
      
      
        Feb 4, 2023 
      
    
    Replies: 1 comment
-
| 
         Sorry for late response. To get a list of news on your website you can use the SmartContent component. Add such a block to your Template.xml. You will get an array with news.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        TheCadien
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Sorry for late response.
To get a list of news on your website you can use the SmartContent component.
This works basically as described in the Sulu Docs. But here is an example.
Add such a block to your Template.xml.
`
<title lang="en">News</title>
You will get an array with news.
which you can go through with a For loop in twig.
You can also find an example of a twig integration in the docs