MP pages will output it's own field data and the field data of the Content Types that are assigned/related to it (PI's)

My main goal is to output Medical Procedures and their related content types.

Please note that I created template overrides using the seb_minima template so I could control what data I wanted to output and how I wanted to style it in my Content View. OS Training has a great introductory SEBLOD course with James Morrell (Install and Override a Template) that can teach you how to do this, but some level of coding experience (php, html, css) is required. SEBLOD also offers a little tutorial on overriding positions in a template, which is crucial to understanding how to output the fields you created in the backend.

So if anyone else is looking for a solution where you are trying to display a list that will only show related content types within a specific Content View, you will need to do the following:

You will also need to install the Dynamic Checkbox field or you can use the Dynamic Select field which comes with SEBLOD by default (I think, lol), but the Checkbox works better in this use case because it allows you to easily select how many content types relate to another content type (in my case I am selecting how many Preparation Instructions relate to a given Medical Procedure - a many to one relationship).

Create your content types with all necessary fields in your Form View (in my example I created Medical Procedures, Preparation Instructions, and History Forms)

Go into your Content View and add all the fields you'd like to display (More than likely you'll want to add the majority of the fields you created in your Form View).

Important: Make sure you add the Article ID field in the Content View. (View Screenshot)

Create your "List and Search Type" (in my case I wanted show a list of related or assigned Preparation Instructions to a Medical Procedure so I created a list and search type for Preparation Instructions)

In the Form View of your "List and Search Type" add the Dynamic Checkbox field we discussed in Step 2 and configure the Construction section according to your use case. My configuration of the construction section is as follows:

Important: This step is crucial because this field is what is going to relate your list to your Content Type by the article ID

In my snapshot, you'll see my Where field contains catid=11 for my use case because I have it set up to put all Preparation Instructions in a specific category by default. If you choose to put your Content Type in a category, you will need to find the category ID that applies to your use case. Please note that you can use other forms of filtering in this Where field, I am still new SEBLOD so I am unsure of what other filtering can be done. (View Screenshot)

Go to Match + Stage (or #3) and set the Match value to Any Words Exact (View Screenshot)

Go to the Item View and drag or add all of the fields that you'd like for your list to display/output in the mainbody section.

(Optional) Use the seb_minima template - As I previously stated, I wanted to control the output of each content type and list.

Save & Close

Then go into the Content View of the "Form and Content Type" that you'd like to display the "List & Search Types" on (i.e. I want to display a list of Preparation Instructions that apply to a Medical Procedure. So I would go into my Medical Procedure "Form & Content Type") and do the following:

You should have already added your fields in the Content View as per Step 3.1

The required "List & Search Type" field should have the exact same name as the "List & Search Type" that we created in Step 4.

In the Construction Section > Fields, add the Dynamic Checkbox field that you used in your "List & Search Type" (i.e. The field I created was labeled Assigned Procedure because I would be assigning a specific Preparation Instruction to Medical Procedure). You'll then see that SEBLOD will automatically show the name of the field now (i.e. assigned_procedure).

That's all folks. You should now be able to view your article/content type on the front end and depending on your template selection and overrides, you'll now see that your related list is displayed within your content type.

I hope this has been helpful. I am fairly new to SEBLOD so I apologize if this was difficult to follow but finding what you need isn't very straight forward.

Store

Resources

About Us

Our customers says:

SEBLOD is a very powerful cck, it increases the capacity of Joomla to infinity. Without being a developer, I could create custom content by setting my fields available and dragging them into position template. It takes a little time before you can successfully use this component, but more you know it, more possibilities become endless.

SEBLOD by Octopoos is not affiliated with or endorsed by the Joomla Project or Open Source Matters. The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.