How to make the ability to add news?

Hi to all this trouble, the customer chose to do a site on modx experience early fiction with his work and decided to investigate
It seems everything is done(though ugly), but it remains to add the ability to add news, and here I was stuck completely.

I have created 2 pages, the First is a page displaying previews of news
and the second is the news itself

In just the first [[*content]]

and here is the second

The second page
<div class="col-lg-8">

 <img src "[[*imageNews:phpthumbof='w=300&h=200&zc=1']]" alt="[[*pagetitle]]" title="[[*pagetitle]]">

Created Online news, brought to him the template first, which will preview

In the preview I have the script as I understand it which mounts the die and the chunk in which the news itself

Script for thumbnails
[[!getPage@paginationBootstrap? &element=`pdoResources` &limit=`9` &elementClass=`modSnippet` &show hidden='1' &parents=`[[*id]]` &tpl=`newschank` &includeTVs=`imageNews` &pageNavVar=`page.nav` &pageLimit=`2`]] Page [[+page]] of [[+pageCount]] [[+page.nav]]
the <div>
 <a href="[[~[[+id]]]]"><img src="[[+tv.imageNews:phpthumof='w=300&h=200&zc=1']]" alt="[[+pagetitle]]" title="[[+pagetitle]]"></a>
 <h4 style="color:#000;font-weight:bold;">[[+pagetitle:ellipsis='22']]</h4>
 <span>Publish Date: [[+publishedon:dateRU]]</span><br><br>
 <p style="font-size:13px;">[[+introtext:ellipsis='170']]</p><br>
 <a href="[[~[[+id]]]]"><button class="btn btn-warning">Podrobnee</button></a>

and finally, when creating news, I have created a new page ,and previewa does not appear voooooobsche and I can't figure out what to do, have done in the examples(without changing the names of their pages but trying to adjust )

Help please, it's just going crazy)
March 19th 20 at 08:26
1 answer
March 19th 20 at 08:28
happened in the end as you begin to use pdoResources

A simple list of child resources of the document with ID 1:


Find more questions by tags MODX