143 Posts
pretobrazza
10 years ago
2
Topic
Hi,

[edit]
The structure of the page is as follows:
1) Normal Seblod content page
2) Seblod list field calling another content type (List) based on article_ID of the normal Seblod content page
[end of edit]

I don't manage to show the art_title in a Seblod List pack field when calling it up in a custom template (mainbody.php).
All the other fields work well (even the upload file :) )

Between php tags I call:
$naam_gastheer = $cck-> renderField('art_title');
followed by:
<div style="width: 60%; margin:0 0 10px 0;"> <?php echo $naam_gastheer; ?> </div>

I tried with $cck->renderfield('title') - getValue etc but it doesn't want to render the field. In Seb One without a custom written mainbody.php it does show the title field.

I tried to call the field in the search like I did with the upload field, yet to no avail. Obviously I could create a 'ghost' title field with SD Field concat but I feel it would be a pity to create a new column in the database just because I can't call the title field in a Seblod list which is attached to a Seblod article.

Any suggestion?

Bernard
Get a Book for SEBLOD
143 Posts
pretobrazza
10 years ago
1
Level 2
Hi Bernhard,

I didn't buy the Code pack (yet) because my 'live' knowledge of php 'and how to apply it in the field' is still lagging at this point in time. -but i'm learning it bit by bit- ;)
I just updated the original post, so I hope it is clearer now as to what the problem is.

Kind regards,
Bernard
143 Posts
pretobrazza
10 years ago
0
Level 3
No-one?
Get a Book for SEBLOD