benjaminkott / benjaminkott/bootstrap_package

[Question] lib.dynamicContent: How to fetch only certain fields?

Open
#945 3 comments 0 reactions 0 assignees View on GitHub
need feedback question
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

# Support

## Description

Hello,

I would like to ask if it's possible to fetch only certian fields with `lib.dynamicContent`

Something like ``

This is the relevant part inside my fluid template
```

XXX HEADER XXX


XXX SUBHEADER XXX


```

I've tried to modify `lib.dynamicContent` and add for instance `lib.dynamicContent.20.select.selectFields = header`

This unfortunately results in an error: `ERROR: Content Element with uid "5" and type "" has no rendering definition!`

Thanks in advance and best regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the lib.dynamicContent TypoScript configuration and the Fluid template snippet shown in the issue. Reproduce the selectFields change and inspect the rendering-definition error; done means establishing whether field-only fetching is supported and documenting the correct configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, php
Domain
content, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.