Closed BraindeadBZH closed 2 years ago
Please check if the title
column of the page in the page_translations table is empty.
Thank you for your answer, the title is not empty
mysql> select * from page_translations;
+----+---------+--------+-------+-------+---------------------+---------------------+
| id | page_id | locale | title | route | updated_at | created_at |
+----+---------+--------+-------+-------+---------------------+---------------------+
| 10 | 4 | en | Home | / | 2022-04-24 23:44:30 | 2022-04-24 23:44:30 |
+----+---------+--------+-------+-------+---------------------+---------------------+
1 row in set (0.00 sec)
Hmm and if you try $page->getTranslation('title')
?
Yes it works when using getTranslation
.
Hi, I'm trying to setup PHPageBuilder on my website and everything seems to work fine. Here is my view.php of my master layout:
The title is always empty.