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
1 answer

Craft CMS - Audio file won't play using resourceUrl inside plugin

Essentially I'm moving a static HTML site into Craft. I've created a new plugin for the site and have gotten a good chunk of it working however I'm having an issue where audio files won't play. The site is supposed to have music auto-playing and…
Owen Davey
  • 1,202
  • 1
  • 12
  • 18
0
votes
1 answer

craft cms commerce product combined search query

I am trying to filter my products using craft commerce. Is there a way to do craft.commerce.products.search("(field_color:red ORfield_color:blue) (field_size:S ORfield_size:M OR field_size:XXL)") Or any other solution can help me achieve this…
Parry Huang
  • 111
  • 6
0
votes
0 answers

How craft commerce plugin generates reference id in craft cms

I have query regarding a commerce plugin which if anybody has solution it will be great help for me. We created a plugin for payment which extends commerce plugin in Craft CMS. But the transaction done through our plugin is failing because of an…
Prashant
  • 45
  • 5
0
votes
2 answers

Craft cms - page not found

After setting up a template file article.html in craft/templates folder, and creating the section article with the uri article and setting the entry template as article in the admin on trying to see the live preview of the page when I go to it in…
Leff
  • 1,968
  • 24
  • 97
  • 201
0
votes
1 answer

Craft CMS access image from a different entry using ID

Hi how do I access an image from a different entry / page /url? I'm building in Craft CMS. I'm creating a nav that will be used across the site. It works fine and I can pull the title and page url ok. I want to use a picture from that page as a…
0
votes
1 answer

htaccess rule not working (using craft cms)

How can I get this page (using my .httacess file) /visible.php?id=8 to redirect to this page /about-us/activities/ my rewrite rule doesn't seem to work? RewriteRule ^visible.php?id=8$ /about-us/activities/ [R=301,L] I don't know if it matters…
garyconstable
  • 309
  • 3
  • 15
0
votes
1 answer

Craft CMS with other Yii2 Applications

I'm facing a few issues with server configuration it seems. I have Craft CMS installed and I'm also running few Yii2 applications on subfolders of the root. Basically my server is structured as follows: Craft/ public_html/ .htaccess index.php…
TechMafioso
  • 135
  • 4
  • 16
-1
votes
1 answer

Craft CMS 4 multi language best practices

Most multi language sites show the locale in the URL. For example: https://www.stackoverflow.com/en. With Craft the issue seems to be that the default language seems to also work without the locale in the URL. This is also causing indexing issues…
Matthias
  • 141
  • 3
  • 11
-1
votes
1 answer

Trouble connecting to the database in a Craft CMS project with DDEV and TablePlus, how can I fix this?

I'm trying to upgrade from Craft CMS 3 to Craft CMS 4 and am running into some issues. I am trying to migrate my project in Craft 3 from using MAMP Pro to ddev and had some success in the start. I have Docker Desktop installed on my Mac, and have…
-1
votes
1 answer

Custom Craft CMS plug-in template changes issue

Somebody has developed a custom plug-in for a project of mine. I now want to change some templates from this plug-in and no matter what changes I make to these templates, nothing changes! I don’t understand why. I’ve cleaned caches several times and…
-1
votes
1 answer

Deploy PHP application into Flynn

I'm trying to install Craft CMS (https://github.com/craftcms/cms/tree/3.5) on Flynn running through Vagrant. When I try to push it via Flynn CLI it throws an error: PS D:\cms> git push flynn 3.5 Logon failed, use ctrl+c to cancel basic credential…
quarks
  • 33,478
  • 73
  • 290
  • 513
-1
votes
1 answer

Error: Unsupported DB driver for windows and wamp

I already config my .env file and db.php file for craft with the same information, before i used 'mysql' as driver but i try it as empty and throws the same error. db.php
-1
votes
1 answer

How to display all articles in a blog by their tag

I'm new to twig and I'm looking to display all the articles from my craft cms by the blog tag that is selected on my index page. I have a for each loop on my index page to display all articles, but I'm looking to only show articles with a certain…
Billy Brown
  • 209
  • 1
  • 5
  • 14
-1
votes
1 answer

Create a .csv content mapping ahead of content export

I'm facing a little challenge with one of my client and I was hoping someone would have suggestions. I have a client using an Umbraco 4 CMS environment and they are keen to move their production environment to Craft CMS. They have asked if there was…
Pierre K
  • 3
  • 1
-1
votes
2 answers

How can I build a new channel in Craft CMS?

I have 2 channels existing in Craft. Blog and Recipes. I need to build another channel to hold a list of books that the client can add to in the CMS. So essentially I need to build a copy of one of these Channels so I'm guessing I can reuse a lot of…
DumbDevGirl42069
  • 891
  • 5
  • 18
  • 47
1 2 3
16
17