Stack Exchange Network

Stack Exchange network consists of 175 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
32 views

Has anybody integrated craft with a rewards system?

Just wondered if anybody had done anything like this? Perhaps through zapier or a custom inetgration? Customers earning points or discounts through a Craft e-commerce site?
1
vote
2answers
23 views

How do I iterate over a categories field in an entry

I'm using the Scout plugin to sync my entry data to an Algolia search index. In the transformer for the scout.php config file, I need to iterate over all of the categories in a category field on each ...
0
votes
0answers
7 views

runController not working in craft 2 when run from separate plugin service

I'm trying to run a Mailchimp Subscribe controller from within a service of another plugins onBefore event. But it's not working. Just keeps producing a 404 error. This is the code below running from ...
0
votes
0answers
7 views

How do you access craft()->runController variables within the action?

I have a plugin that runs craft()->runController($actionUrl); This runs the action Controller of a separate plugin. The actionUrl contains a variables array: $actionUrl = UrlHelper::...
1
vote
2answers
24 views

Sprout Reports plugin - How to output a Matrix field into a row

I'm not clear on how I would iterate over a Matrix field to be able to include the content in the row. Wish there was an example in the docs: https://sprout.barrelstrengthdesign.com/docs/reports/...
2
votes
0answers
16 views

How to add Setting Page in my plugin after updating plugin

I had created a plugin, but now I need to add a setting Page. If I remove plugin through composer remove and install it again through composer require, I get the setting page, but if I just update the ...
1
vote
1answer
31 views

How to cache a Guzzle Http request?

In my module I have the following: $client = new Client(['base_uri' => myBaseUri]); $response = $client->request('GET', myQueryString, [ 'headers' => [ 'Accept' => ...
1
vote
1answer
35 views

Getting my head round installing plugins from the command line

My command line skills are limited but I’m trying to be better. I’ve been using composer successfully for a while to initiate Craft installs, but then subsequently using the Craft web GUI to install ...
1
vote
1answer
34 views

Is there an alternative to the Dukt Rest plugin for Craft 3?

I am using a combination of two Craft 2 plugins, Cookies and Rest to get the logged in status of a user. What is the recommended way of doing this in Craft 3? {% set userReq = craft.rest.request ...
1
vote
0answers
33 views

Craft 3 CMS Poll Plugin

Are there any poll plugins available for Craft 3? As in have radio buttons, show % results for number of people that have voted for the different options after submission. Thanks
1
vote
1answer
27 views

Craft 3 best way/steps to create a login client area in frontend

I have to make a website that needs an user area with login. In that area users should be able to upload to admin area or download files from admin area. Each user has its own account that is ...
0
votes
0answers
19 views

Why does $entry['slug'] and $entry->slug return different values?

I'm writing a simple plugin for 'Craft 2' and It seems that a slug of an entry is returned if you reffer it like: $entry['slug'] but calling $entry->slug returns same value as entry title. Is ...
0
votes
1answer
25 views

Ajax Contact Form not sending with Error 400

Hi I have I'm using Craft CMS 3.1.21.1 with the Contact Form plugin version (2.2.4) and Contact Form Honeypot plugin (1.0.2) along with jquery 3.2.1 on the site. Whenever the form is filled out and I ...
2
votes
0answers
31 views

Creating multiple plan subscriptions

Versions: - Craft CMS (3.1.21) - Craft Commerce (2.1.2) - Stripe for Craft Commerce (1.2.0) Problem: - My website offers user's ability to subscribe to several subscriptions at the same time. ...
1
vote
1answer
56 views

Custom module that can define and have settings referenced (Craft 3)

I'm currently working on migrating a Craft 2 project which has a bunch of bespoke custom plugins that provided various bits of additional functionality that's tailored to this project only. I've been ...
1
vote
1answer
21 views

Gatekeeper/Knock Knock Pluging not working

I feel like there must be something i've missed but i've followed the ReadMes for both of these plugins and they don't seem to work on my website. Does anyone have any experience with them? I'm ...
2
votes
1answer
60 views

How to limit Expanded Search (plugin) query results for pagination?

I'm using the Expanded Search plugin to display results of the search query with an excerpt of the text matching the query for each result. I want to limit the results to 10 per page, using pagination....
1
vote
1answer
47 views

How do I import database using the CMS Craft 3

We have previously used the Schematic plugin for database import inside a Docker container for a Python script. This is the command used for the importing, $/data/craft/craft schematic/export --file=...
1
vote
4answers
232 views

Invalid plugin: No plugin exists with the handle - Craft 3

I had an issue with my site running Craft 3.1.15 where I wasn't able to update the site to the most recent 3.1.16, and also wasn't able to install any plugins. Every plugin I tried would throw this ...
0
votes
0answers
12 views

Videoembedder (plugin) 403 & 404 errors

Im using the plugin: https://github.com/mikestecker/craft-videoembedder and has a similar issue as this guy: https://github.com/mikestecker/craft-videoembedder/issues/7 An invalid video url has ...
0
votes
0answers
32 views

Plugin failed to install with mysql error message

I've sent this to craft support but wondered if anyone on here could shed any light on this for me. I'm working on an external dev site I've upgrade a craft2 site to craft3. Which was successful. ...
2
votes
1answer
46 views

Tabs in a Matrix Field

In this video it looks like Courtney has tabs (Content | Design) in the individual fields in a Matrix. I can't work out how to do this, is it a plugin? It seems a great way of organising the fields ...
1
vote
2answers
199 views

Craft 3: Cron job to run Controller actionIndex method of a Plugin

I have made a Craft 3 plugin that is manually used in the Craft Admin CP area; click a button and we sync products in Craft with a Shopify API. Now I am trying to automate the process. I would like ...
1
vote
2answers
96 views

Can a plugin add JS or CSS to the control panel in Craft 3?

I want entries in a specific PlainText field for a named group to be pre-filled with random content. I am aware of the https://github.com/lukeyouell/craft-randomkeygenerator plugin and am aware that I ...
3
votes
1answer
54 views

How do I know if a plugin supports Craft 3.1's project config?

Craft version 3.1 introduced the project config file. The documentation mentions "plugins may not support it yet:" Any plugins that are storing configuration settings outside of their main plugin ...
2
votes
1answer
101 views

Missing “Plugin Store” navigation on Craft 3 admin section

I am a newbie to CraftCMS and just installed my very first Craft Project on local Xampp. Everything looks good except the "Plugin Store" navigation menu is not showing up. Is there any trick or tweak ...
0
votes
1answer
89 views

Error when Attempting to Install Plugins

I keep getting this error whenever I try to install a plugin. Not sure how to troubleshoot / resolve this. Basically, I need the Contact Form and CKEditor plugins. Setup: I'm running AMPPS with PHP ...
0
votes
1answer
119 views

Webhook plugin & hooking into Contact Form

As my first delve into webhooks I've just installed the Pixel&Tonic Webhooks plugin. I'm trying to send data from a front end contact form to Zapier. The front end form uses the Pixel&Tonic ...
1
vote
1answer
27 views

Route directly to an S3-hosted asset?

I have a multi-site Craft install. I'd like to offer the ability for each site to upload an icon that will be used for favicons. I noticed a lot of 404s for both /favicon.ico and /apple-touch-icon....
1
vote
2answers
52 views

Implement Cloudways CDN with Craft

Is there any way or plugin to implement Cloudways CDN with Craft?
1
vote
1answer
23 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
425 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
52 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
40 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
87 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
69 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
83 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
58 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
2answers
113 views

Looking for a advanced 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
58 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
44 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
57 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
45 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
163 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
39 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
90 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
26 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
61 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
181 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
82 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-...