Hi there,
i am new at October CMS and PHP and twig, so sorry in advanced
I use {{ this.page.title }} in my default.htm Layout. It works fine. Now i have a {{ record.name }} and i wanna display these dynamic titles.
url = "/projects/:id"
layout = "default"
title = "{{ record.name }}"
[builderDetails]
modelClass = "Yaseed\RoofPro\Models\RoofPro"
identifierValue = "{{ :id }}"
modelKeyColumn = "id"
displayColumn = "project name"
notFoundMessage = "No projects found"
==
<h1 class="text-3xl font-bold tracking-tight text-gray-900">Project name: {{ record.projectname }}</h1>
<h2 class="text-2xl font-semibold text-gray-800 mt-4">Project description:</h2>
<p class="mt-2 text-lg text-gray-700">
{{ record.project-description }}
</p>
that would be too simple and doesn’t work either. I’ve already tried a few things from Stackoverflow, but unfortunately I haven’t found anything useful. How do I get on with this?