Skip Navigation

[Resolved] Timber/Twig integration

This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 7 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#551132

I am trying to: See if Timber/Twig can be used in conjunction with Toolset

It seems some users have installations using /twig/ so maybe it's possible. Others hit a brick wall. In my experiments - setting up a template php page to parse Timber variables - the template seems to get ignored.

Is Timber/Twig integration possible?

#551311

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - as you are using WordPress you can download and install the plugin but it will help you to build templates (I mean PHP templates - Timber: a library for building themes using Twig templates) so you can use it but you can not use twig with View's content template.

You may use the views, custom fields etc..etc.. and add to your PHP template using View's PHP API to render to view on PHP templates.
=> https://toolset.com/documentation/programmer-reference/views-api/#render_view

You can check following Doc that will help you to customize the site using PHP + Toolset:
=> https://toolset.com/documentation/customizing-sites-using-php/

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.