Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugins]

Questions about plugin availability or usage, as opposed to those that are development-centric.

1
vote
1answer
8 views

Plugin CKEditor outputs something with nothing?

I have a problem with the CkEditor for Craft CMS. If I leave the textfield empty and save it, the output in the browser will still contain <p>&nbsp;</p> when I want it to be blank. I ...
1
vote
2answers
60 views

Craft 3 Plugin Development: Add CSS and JS File to Frontend Templates

How do I add js and css files to frontend page loads via a plugin? I did reference this issue: Can a plugin add JS or CSS to the control panel? but that is for Craft 2. Reading the docs here: https:/...
1
vote
1answer
21 views

Error on updating Craft install with Sprout vendor files

I was updating an Craft install on Mediatemple server yesterday. Im now getting the following error: Cannot use barrelstrength\sproutbase\app\import\base\FieldImporter as FieldImporter because the ...
1
vote
1answer
18 views

List Modules in Craft System Report

Plugins and application information is detailed in the system report. Is it possible to get my module to list itself there? And if not, is there somewhere else in the CMS to see modules that a ...
0
votes
0answers
23 views

Craft reCAPTCHA Plugin (Matt West)

Has anyone tried using the Craft reCAPTCHA plugin from Matt West? The issue I am experiencing is that if a Contact Form is submitted without ticking the reCAPTCHA widget, the form does not submit - ...
1
vote
1answer
36 views

How can I conditionally resave entries based on the value of an entry's field in a Craft 3 Module/Plugin?

Scenario: I want to programatically bulk resave entries in a certain Site in a certain Section of a certain Type. I have a Craft 3 Module with a Console Controller containing following code: public ...
1
vote
1answer
23 views

Commerce discount promotions as a fieldtype?

I'd like to create an entry in Craft that talks about a new discount, and then choose that discount via a field (so a bit like you can choose an entry or a product). That way, should the parameters of ...
1
vote
1answer
22 views

Craft 3 plugin to import channel entries

I try to finish a plugin which imports data into my craftcms project. I already created a console based method/service, which I trigger/run in my shell. Inside my method(s) I receive data (XML or JSON)...
1
vote
1answer
38 views

Looking for a advances form plugin for CraftCMS

I'm currently using amforms from a&m impact on a couple of sites. However, it looks like this plugin won't get a craftcms version 3 update. In addition, my requirements for a form plugin have ...
1
vote
1answer
25 views

How to Prevent Composer from Updating Plugin?

I have a plugin installed from a well known Craft developer. I have made significant tweaks and changes to the plugin and need to prevent it from updating. Is there an easy line of code to add to the ...
1
vote
2answers
27 views

Craft CMS module composer dependancy

After some research surrounding this I can't seem to fix this issue. So for a project I made a simple module with some variables that simply has to make an OAuth1 call and return some data. The ...
1
vote
1answer
25 views

plugins route post controller?

I am developing a custom authentication plugin for Craft 3. But I can't route to my Controller via POST request with my login form. Request via GET work
1
vote
1answer
22 views

Plugin not displayed on Plugins Section

I'm trying to install Sprout Report plugin, so I downloaded from here so I followed the instructions from the plugin documentation site: here According to that documentation the zip folder from ...
1
vote
2answers
42 views

Craft 3 protecting a page with a password?

I have used the Guest Entries to create a plugin where anonymous users can create a entry. I have a password field on each entry. Now I want the guests who have created the entry to be able to login ...
1
vote
1answer
24 views

Imagemanager plugin doesn't show up in toolbar

I have upgraded redactor 2 to redactor 3, since a lot of things had to be changed. Been fixing those and it works well. I have a problem with image manager plugin which doesn't show up in the toolbar. ...
0
votes
2answers
39 views

What files need to be moved for Craft3 plugins?

I'm trying to get the redactor onto my site. I've successfully moved over plugins from the store and a custom plugin I created. But I did those towards the start and had migrated the entire project ...
1
vote
2answers
23 views

Counting section handle in TWIG with weighted search plugin

I am using the weighted search plugin to inplement a search functionality in my site. It works as it should but I am looking for a way to tell how much results were found of each type. Where type for ...
1
vote
1answer
28 views

Issues with Redactor on Local Install

I loaded redactor. When I try to run the install command ./craft install/plugin redactor I get an error back that says craft is a directory. It appears the plugin may already be installed. But I do ...
2
votes
2answers
129 views

How can I print the name of every template being rendered in HTML comments, when in devMode?

Is there a plugin or setting that prints the name of every template being rendered in HTML comments? I noticed this type of feature in a Drupal project and it was useful for debugging. This is useful ...
1
vote
2answers
38 views

Sprout forms AJAX submission giving Template not found

I am able to capture submissions from a regular HTML form, however if I replicate the POST with JSON I get the following "Template not found" error. Template not found: sprout-forms/entries/save-...
2
votes
2answers
132 views

Can't Install Plugin Via Composer

I set up a basic plugin using https://pluginfactory.io/ The package name is kgrote The plugin name is siteutilities Then I put it in a subfolder next to my Craft project folder: /site |-- craft |--...
1
vote
1answer
41 views

Craft 3 Upddate: Plugin Errors

I have tried to get a number of plugins from the Plugin Store but each time on install, I get the following errors: Status: Not Found Response: {"error":"Template not found: internal_error.html"} ...
1
vote
0answers
43 views

JsonLD & Schema

What is the best way to use Json-LD schema in the templates for Craft 3? I would like to dynamically load parts of the info. I know about the SEOmatic plugin but looking for a way to do it on my own.
1
vote
2answers
138 views

Craft 3 CMS Update Error

I try to update my craft3 cms system. Ошибка: An error occurred Вывод: Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an ...
3
votes
2answers
119 views

How to delete tags in Craft CMS 3

I want to delete some of the tags that are entered in the system. Since there is no way to do that in Control Panel, and there is not a valid plugin that can do this (know that from my previous ...
1
vote
1answer
41 views

“Unknown ”craft“ function” Error in Plugin Service Call

I'm just starting with plugins and I've downloaded the Business Logic plugin and am trying to call it from my template. Here's the code in my template: {% extends "_layout" %} {% block content %} ...
2
votes
1answer
97 views

Plugin Store install buttons are not visible

I'm just working on a dev site and my Plugin install buttons are gone. I'm not sure how long they've been gone either, I don't really know where to start to debug it. No errors in the console and I ...
1
vote
1answer
58 views

Element API and Shopify plugin

Is there any way to translate this: {% set shopify = craft.shopify.getProductById({ id: entry.shopifyProduct, fields: 'variants, id' }) %} to the Element API? I've tried this, but obviously it ...
1
vote
0answers
28 views

Subclassing BaseTask Class

I am trying to create a Sub Task with Craft 2 that uses a task class. I have created some generic code to explain my setup: Parent Task Class: <?php namespace Craft; class ...
1
vote
1answer
34 views

Category Sources for Craft 3?

I'm updating a site from Craft 2 to Craft 3 and can't find the equivalent of the 'Category Sources' plugin? It's really useful when it comes to restricting the source for related entries by the ...
3
votes
1answer
134 views

how to uninstall a plugin when there is no cp option

I want to uninstall a plugin. I disabled it in CP but there is no option to uninstall this plugin. So I go to composer and remove it from the required section and run composer update. This deals with ...
2
votes
1answer
131 views

Is there any Booking/Reservation system for Craft 3?

I couldn't find any booking/reservation system for Craft. Is there any? I found questions from 2014, so things could change. Maybe there is community-approved booking/reservation service that is ...
1
vote
1answer
52 views

Commercial Plugins and Solo Licensing?

Brand new Craft user. Second day playing with it, and so far, loving it! I believe the Solo license allows a Freelancer to roll off personal (for her own use) implementations for free -- even if ...
0
votes
0answers
58 views

How can I set entries' default order in CP

I built a plugin and in the plugin, I would like to set the entries sorted by dateCreated by default in CP. Any way to do that? Thanks
1
vote
1answer
34 views

Many To Many Plugin Template Help

I am using the Many to Many plugin and wondering if the below is possible. I have a channel called Model ID. Model ID is then related to two other sections, Memory and SSD. I want to be able to link ...
2
votes
1answer
48 views

Getting previous order history in a Commerce 2 adjuster

I am trying to write a Commerce 2 adjuster that will apply a discount on all items from a specific type if a customer bought a specific item with another product type in the last year as well as a ...
1
vote
1answer
27 views

Composer Issue When Doing exec From a Plugin

Curious if anyone has ever run into this before or may know what's going on here. I'm using the execWidget plugin (https://github.com/marionnewlevant/craft-exec_widget) to run a script from Craft's ...
0
votes
1answer
48 views

How can I loop through my entries to export them using Beam?

I want to export my entries to CSV or JSON. Craft 2 had a plugin. I can't find one for Craft 3. I reached out to the Craft community on Slack. They suggested I try the Craft 3 plugin Beam. I ...
1
vote
1answer
35 views

Custom Pluging Entries FieldType

I have 2 plugins I created that store similar data: Plugin 1: id, name, panel_id, price Plugin 2: id, name, test_id, price I want to attach my plugin data to an entry, and I need to make sure they ...
1
vote
1answer
97 views

Craft Commerce Shipping Total Order Price rule

I have a webshop where you can get free shipping when the minimum total order price is €150. Product prices are set up so they include VAT (21%). VAT is removed when orders are shipped outside the ...
1
vote
1answer
215 views

How to install plugin without composer?

For the last weeks I've tried installing composer, but without any luck. I've really tried aaa looott, and how frustrating it is, it's just not working with SSLv3 for some strange reason. This was ...
0
votes
0answers
50 views

Craft Commerce Plugin - How to refresh/reload/redirect page in onStatusChange

I need some help in a craft backend plugin. I use this plugin in a commerce order page. I'm using it to handle onStatusChange (commerce_orderHistories). In this event, i'm testing a custom variable ...
1
vote
1answer
35 views

FTP Plugin Not Showing Up

I am working on a client site and trying to upload the following plugin: https://github.com/craftcms/guest-entries The directions instructed me to install the app via composer in my project folderj ...
3
votes
2answers
41 views

Switching plugin license from Craft 2 to Craft 3

Dumb question, but... I purchased a plugin when using Craft 2 and now I'm trying to input the license for it in Craft 3. There's an input for the license key when I go to settings -> plugins, but the ...
2
votes
1answer
33 views

Add a button to the entry edit screen via plugin

I would like to add a button to the edit entry screen, only for already saved entries, alongside the "Share" button. When clicked, I'd like to call my plugin's controller action and post the entry ID....
1
vote
0answers
25 views

Add a second template field in section settings via plugin

I would like to add a second default template field for each section's Site Settings, via plugin. Where would I look to see how to do this? How would I access this value in my plugin's code? How ...
0
votes
0answers
109 views

Navigation builder plugin for Craft 3?

is there already a navigation builder plugin available for Craft 3? So that you can just build your navigation in the backend by your own and having the option to put in entries or make a redirect to ...
3
votes
1answer
97 views

Craft periodically goes down due to plugin migrations

Our application seems to be crashing periodically, on a seemingly unknown cadence. Sometimes it goes down once every few days, and sometimes (like today, when I'm at the end of my rope) it goes down ...
1
vote
1answer
40 views

Is there a way to get categories relating to a specific entry within a plugin?

When I get an Entry Object that has been set, I notice all of my fields except the Category fields are available to me. For example: [_behaviors:yii\base\Component:private] => Array ( [...
2
votes
1answer
37 views

Get the related entry from an Entries field in a Matrix block within a plugin craft 3

So I've got this which accurately gives me the desired relation block within my matrix, but how do I actually get the Entry object from a relation field? $project = Entry::find()->id($projectId)-&...