98 Posts
Edwin
9 years ago
3
Topic

Hello all


I know how to use the Code Pack to store field values as well as retrieve and display values on my content type. However, what would be the best way to display the info from a different content type? For instance, I want to use before render to pull some fields from my users content type to display on my article submitted by the user (content view). That is, some fields are in one table and some in another. The user table has custom fields.

Thanx

Get a Book for SEBLOD
154 Posts
WebOne
9 years ago
0
Level 1

Hi,
There are quite a few ways to do this 
The Form and List pack works great for showing content from other types. You simply pass the required value through to this field and it can show the relevant fields from another content type (via a list that you have setup).

http://www.seblod.com/store/extensions/8538

98 Posts
Edwin
9 years ago
1
Level 1

Thanx WebOne

I appreciate your answer and acquired the Form and List pack. I played around with it and learned some new tricks I could use later on. However, I was hoping there is a way to do that with the Code Before Render, without having to create a list. For instance, I would like the person's age (pulled from user content type) displayed next to the article title (pulled from article content type). I am getting the feeling I am missing something or don't quite understand the purpose of code Before Render plugin.

Thanx again

1283 Posts
Bucklash
Get a Book for SEBLOD