Questions tagged [craft3]

For use with questions relating to the Craft 3 version of Craft CMS, including the Beta and RC releases.

1924 questions
9
votes
3 answers

New Project: Wait for Craft 3 or start now with Craft 2?

I am just about to start a new project and Craft seems the best fit as a CMS. The projects timescale is 3 months. I understand that a beta for Craft 3 is due out at the end of this year (2016). In view of this, should i start development on Craft 3?…
Luke Clifton
  • 166
  • 7
8
votes
2 answers

How to link to controller actions in a Craft 3 plugin?

I cannot find any documentation that specifies how to link to controller actions which return a rendered template in CP. Let's say I have a plugin called waffles and my namespace is Very\Waffles. I have a controller named SyrupController and it's…
Gustavs
  • 406
  • 3
  • 7
5
votes
3 answers

Private plugin distribution in Craft CMS 3

what is the best way to install private plugin in Craft CMS 3? The private plugin is installed in private GitHub repo, but we don't have a custom packagist that we would use, therefore I wonder if there is any option to enable private plugins via…
PeterBocan
  • 153
  • 5
4
votes
2 answers

How do you set a flash message in the template in Craft 3?

How does one set a flash message in the templates? I can't find any documentation about this, only for plugins or getting the message. My use-case is, I am checking if a user is allowed to access a certain page and if they cannot I want to set a…
Laurence Cope
  • 512
  • 3
  • 12
4
votes
2 answers

How long will it take Pixel and Tonic to release Craft 3?

I am just wondering, when will Pixel and Tonic release Craft 3 stable version?
postsrc
  • 227
  • 1
  • 5
3
votes
1 answer

Missing templates using PHPStorm when using Craft 3

Following code show a warning "template not found" in PHPStorm: {% extends '_layout' %}. When adding .twig this warning dissapears, but I'd like to keep extends and includes filetype agnostic. What I've tried so far: Installing the Symfony plugin…
Bert H
  • 190
  • 10
3
votes
2 answers

Moved Craft 3 site to new server and getting "No primary site exists" error

I moved a Craft 3 site to a new server. The previous server was a plain vanilla Ubuntu 16 LTS LAMP stack. The new web server is a Bitnami Ubuntu 16 LTS with a LAP stack (no local MySQL). In the new environment I have setup the Craft 3 site to…
Shannon
  • 71
  • 1
  • 4
3
votes
1 answer

Plugin service and variable

I have a service called useTR.php. It has a public method exampleService(). In the variables folder I have added the following code in my KGVariable.php (KG is my plugin name) public function sayHello() { return…
user8983
  • 41
  • 2
3
votes
2 answers

Entry Tracker to see who has completed the course

I'm working on a project using Craft CMS for the first time, so far so good, however i'm stumped on how to do the following: Create a button on each entry in a structure that states you have read the follow article. When you click you have read the…
Kevin Love
  • 173
  • 8
3
votes
2 answers

Craft 3 User Registration form errors not showing for custom fields

I've built a front end user registration form and everything is working well with it except that it's not showing errors for my custom fields. They're set as required in the CP, but the form submits even if they aren't filled in. When the standard…
Clay Kilby
  • 93
  • 4
3
votes
2 answers

504 error on home page of Craft 3 website

Recently, I developed a Craft 3 website. Its working perfectly on development server. But after deploying to another server, I am getting 504 error for home and all front end pages while Craft dashboard is working perfectly. I looked into logs but…
Bhashkar Yadav
  • 280
  • 1
  • 8
3
votes
1 answer

Can someone explain to me the difference between 'not' and without?

Here is an example of code I'm trying to use to eliminating have to iterate comparing the current entry.title to the related to entry.title then omitting it. {% set entries = craft.entries.relatedTo(context).limit(MAX_FILLERS).id('not' ~ entry.id)…
2
votes
1 answer

Access a CraftCMS 3 site that someone else built?

I'm trying to gain access to a Craft CMS site for a client that someone else built. We have access to the admin panel to edit content but I'm wondering how I would go about gaining access to the site files to make edits to the code and structure of…
Michelle
  • 21
  • 1
2
votes
1 answer

Queued Job Failing

I have a rather large Craft CMS queued job that copies multiple entries which is repeatedly failing. The error I get is: The process "'/usr/local/bin/php' './craft' 'queue/exec' '621803' '300' '1' '9' '--verbose=1' '--interactive=' '--color='"…
2
votes
2 answers

How to make the number of article views?

Please tell me how to make the number of article views? Is there some free plugin or something else? Or does Craft CMS already have some kind of built-in tool for these purposes?
Dimi
  • 293
  • 1
  • 9
1
2 3
14 15