Sackgesicht VIP
Total posts: 1,636
07 Aug 2013 23:38

Section parameter

How can i create a "child" record of a record in the same TYPE?

Last Modified: 02 Mar 2014


Sergey
Total posts: 13,748
08 Aug 2013 06:23

Child records are the records of the other records. If you remember in Resources there was clint and client_id columns.

For example you use Cobalt type as comment adapter for other cobalt articles. Then all comment articles become children of parent article or that one comments are submitted to. In discussion plugin for core Joomla articles, comment articles become children of joomla core article.

Sometimes you do not want those records to be visible in section where they are submitted.

Let's say you have tutorials section and forum. And you want forum like discussion under every tutorial. But you do not want to show discussions of tutorials in the forum itself. Only topics that submitted to forum directly.


Sackgesicht VIP
Total posts: 1,636
08 Aug 2013 06:42

Excellent.

How do i assign a record to another record as a "child" and how will they be listed (like the records field in full view)?


Sergey
Total posts: 13,748
08 Aug 2013 10:20

Use comment adapter Cobalt for content type.

Here is example. Here is russia cobalt article how to optimize links

You can see here list of discussions which are cobalt articles (1) and button to start new discussion (2)

And though these forum topics are children of this tutorial they are stored in forum section. And you can decide either to show then in forum or not. May be you want them to be visible only under tutorial article and not in the forum.

But in this setup forum show other clients and here in special forum category you can see list of discussions of tutorials with link what we are discussing.

Powered by Cobalt