It does look like it would take some effort, and it seems that hosting in that platform requires advanced dev skills ...not the majority of our target audience 🤔
The official guidance for that would be to put the preprocessing in template.php within your_theme_preprocess_node() and put the logic there to add to or change the variables, but you can do in...
Posted1 day 3 hours ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
Perfect. So if I work with the .tpl files for e.g. all nodes of type “books”, I can easily do something like this via PHP (nobody needs twig anyway): If field 'user' = ‘yorkshirepudding’, then...
Comments
Hmm, it seems that it'd be best to put something in https://github.com/cloudfoundry-samples
...I see that there are ready-made example configurations for Drupal7 and Wordpress (although outdated).
Here's an article with instructions on how to get it done for WordPress: https://tanzu.vmware.com/content/blog/getting-started-with-wordpress-on-cloud-foundry
It does look like it would take some effort, and it seems that hosting in that platform requires advanced dev skills ...not the majority of our target audience 🤔