Videobox Extra help needed

I am using Videobox extra to get youtube video on my collection’s child pages.

  [[videobox? &display=`box` &player=`videobox` &video=`[[*gamesvideolink]]`]]

This is the code. If I remove the tv and put the url of youtube, then its working. But when I put tv to get video for each post, its not working.

Call :-

            [[!pdoResources?
	&parents=`14`
	&tpl=`pv_games-page-chunk`
	&includeTVs=`1`
	&processTVs=`1`
	&tvPrefix=``
]]

Chunk :-

    <div class="col-md-4">
        <div class="card">
            [[!Videobox? &display=`box` &player=`videobox` &video=`[[*gamesvideolink]]`]]ggggg
            <div class="card-body">
                <h5 class="card-title">[[+pagetitle]]</h5>
                <p class="card-text">[[+introtext]]</p>
                <a href="[[*gamesdownloadlink]]" class="align-items-center bg-danger border-danger btn btn-primary d-flex justify-content-center">Download Link</a>
            </div>
        </div>                  
    </div>

Here is the documentation link of that extra :-
https://hitko.dev/videobox/documentation
https://hitko.dev/videobox/getting-started#htk-videobox-for-modx

I used this extra before in my old sites but they are no longer exists and I forgot how I did that time.
Please help.

I guess you have to use a placeholder [[+gamesvideolink]]. (character + instead of *)

Tried both + and ++ and tv.gamesvideolink too…
no luck.

Change the property &includeTVs in your call to pdoResources.

[[!pdoResources?
	...
	&includeTVs=`gamesdownloadlink`
	...
]]
1 Like
[[+gamesvideolink]]

This works with your suggestion of

&includeTVs

Thanks :slight_smile:

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.