Questions tagged [craftcms]

Craft CMS is a web content management system written in PHP and built on the Yii PHP framework.

Craft CMS

Craft CMS is a web content management system written in PHP and built on the Yii PHP framework. It is extendable with plugins.

Resources

243 questions
0
votes
0 answers

How can I check the value of a dropdown menu in craft cms / twig?

I have a dropdown menu with 2 options Ordered Unordered I want to check if the value is Unordered or Ordered {% set viewModel = { cards: content['cards'] ?? [], cardListType: content.cardListType ?? '' } %} {{…
DumbDevGirl42069
  • 891
  • 5
  • 18
  • 47
0
votes
1 answer

CraftCMS upgrade to 3.0 loads blank page after upgrade

I attempted to upgrade my Craft CMS 2.7 website to 3.0 following the instructions on: https://docs.craftcms.com/v3/upgrade.html#preparing-for-the-upgrade I think that I have followed everything correctly, but my result was a blank page. I have done…
Nathan
  • 1
0
votes
1 answer

I have not set a character limit on a field in Craft CMS but can't save entry because content is too long?

I have a rich text field in Craft CMS. I have not set a character limit on it but when saving 100 paragraphs I am unable to save because "entry content is too long". Why am I getting this and how can I fix it?
DumbDevGirl42069
  • 891
  • 5
  • 18
  • 47
0
votes
0 answers

Reading out a JSON object in twig

I am trying to get data out of a JSON object but that isn't working quite well. This is how I made my JSON object (I used Twig for this project) and later try to reach it to get the value from it: