Answer the question
In order to leave comments, you need to log in
Show news preview on another ModX page?
Good afternoon. The project on ModX, I myself work more on the front, so there were some difficulties with the admin panel. The project has a resource " articles ". I need to display some preview (the title of the article and a small description) in the right sidebar on another resource (“ services ”). I created TV(" article_preview ") with a text value, and attached it to the article templates. Those. introduced a separate field in which it is possible to enter text that I would like to see later on the pages of " services ". Filled in this field in the articles.
Also created tpl "article_story" with the following code:
<p><a href="http://askmeplz.com/">
<img alt="" src=""></a>
</p>
Answer the question
In order to leave comments, you need to log in
Try to call in a wooden way for a start, without additional parameters, for example, like this:
1 - why additional TV, is there a description and annotation?
2 - to chunk
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question