Questions tagged [plugins]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
14 views

Accessing plugin settings in template

How can I access plugin settings in the template? I have config.php file defined in plugin directory and i want to access these values (or their overwritten values) in Twig templates. I tried {{...
0
votes
1answer
5 views

Plugin RegisterUrlRulesEvent - cannot find Controller aciton -> 404

The error I'm getting: HTTP 404 – Not Found – yii\web\NotFoundHttpException Page not found. ↵ Caused by: Invalid Route – yii\base\InvalidRouteException Unable to resolve the request "Expedweather/...
1
vote
1answer
34 views

Use Service Worker in Plugin

I am currently working on a plugin that uses a service worker which gets registered on the front-end by some javascript code and the problem is that the service worker scope is restricted to /...
1
vote
1answer
18 views

Plugin RegisterUrlRulesEvent - Regex URL-Routing gives 404

I'm updating a Craft 2 plugin to Craft 3 and I'm having difficulties getting the Regex URLs working correctly. The eocs I'm using: Craft3 Docs I used pluginfactory.io to create the basic craft3 ...
1
vote
1answer
22 views

Craft CMS Project Config file override

Hi I am using Craft CMS with the project config file to keep various environments in sync. This generally works fine but I have run into an issue with plugin settings. I am using the Contact Forms ...
0
votes
0answers
10 views

Wordsmith Typogrify Adding Accents to English Words

Does any one have experience with the settings variables for the Wordsmith plugin? The typogrify function is super but seems to be adding accents to the Canadian spelling of certain words ("Premiere" ...
0
votes
0answers
30 views

Set field value of table field within matrix in a module?

I have a matrix called 'Election' with the structure: Block: role - Text field: roleName - Table field: candidates -- Text field: fullName -- Number field: votes My module can edit the roleName ...
1
vote
1answer
24 views

3.2 upgrade, drafts table error

When I try to upgrade to 3.2 on my site I get an error saying the drafts table already exists. Does anyone know of any plugins that use such a table? I'm trying to sort out what's going on.
1
vote
2answers
64 views

Send email with dedicated SMTP settings from a Craft 2 plugin

I have looked a lot for this but cannot find any dedicated solution. Basically I want to do this: How to send email from Craft 3 custom plugin? … but for a Craft 2 plugin. A how-to for the global ...
1
vote
1answer
27 views

composer.json file not updating when plugins are updated

My composer.json file doesn't update to the latest plugin versions when I update my plugins via the Craft CP or command line.
1
vote
1answer
27 views

Plugin license key is lost every time I update Craft CMS

I have licensed the Verbb Navigation plugin, but every time I update Craft I get a notice that the license needs attention. The key field on the Plugins page is empty after the update. Is this a bug, ...
0
votes
0answers
17 views

Plugins not able to update

I have a Craft 3 installation where the plugins are not updating via the Control Panel. The process runs smoothly with no error messages showing up, and I get the All Done tick. The composer.json ...
1
vote
1answer
40 views

Urgent question - failed plugin and now getting internal server error

Hope someone can help asap - we tried to install a plugin through craftcms 3 (Cache Flag) and now getting 'The configuration for the "gc" component must contain a "class" element.' Does anyone know ...
1
vote
1answer
52 views

unserialize(): Error at offset 0 after attempting to download and install plugin within control panel

Steps to reproduce: Log into control panel, Go to Plugin Store tab and install a plugin (in my case hillholliday/craft-user-manual or dolphiq/sitemap), Plugin installation error screen, Navigate to /...
0
votes
0answers
29 views

Express forms plaintext email template

Is there any way to send a plaintext email with the "express forms" plugin? Can't seem to find a way to define it, and no information about it in the documentation. The mail should be in plain text, ...
1
vote
1answer
19 views

Composer require looking to craft/plugins/[plugin] directory but throws runtime error?

I've got Craft 3.1.32 up and running on dev machines and we're ready to get it into our test/stage enviromnments, which are built through a GitLab CI/CD. While doing this, we noticed some plugins ...
0
votes
0answers
12 views

Plot points on an image

I have an event site where I need to be able to tie entries to a floorplan, so each entry would correspond to a clickable dot on the floorplan image. I know the 'donkeytail' plugin for Craft 2 did ...
0
votes
0answers
16 views

When doing dry-runs of a Craft 2-3 migration, why don't plugin migrations run on fresh databases?

I've been working on migrating our site from Craft 2 to Craft 3 and even our business logic plugin seems to be running well. In order to be sure that we have all the steps needed to get our testing/...
1
vote
1answer
20 views

Feed Me finds no elements to process

Feed Me gives me, out of the blue, the error message below. I realized it only because i had "disable missing elements" active and all my entries where disabled. Feed Me was running over months ...
1
vote
1answer
26 views

Use function provided by plugin only if plugin is installed and enabled

I want to use asset rev in my template, but only if plugin is installed and enabled: {% if craft.app.plugins.getPlugin('assetrev') is not null and craft.app.plugins.getPlugin('assetrev')....
1
vote
1answer
79 views

Modifying Slug on FeedMe Import

I have the following Module loaded into my system, following the Event's on the FeedMe documentation I've implemented the following to change the slug per entry import but unfortunately, it's ...
3
votes
2answers
56 views

Plug-ins for static hosting?

Our local dev environment allows us to run a CMS like Craft but our (government) host is static only. We currently accomplish things with movable type 4, but would like something more modern. MT 7 ...
1
vote
1answer
52 views

Craft 3 redirect of existing and non-existing URLs

I'm upgrading a relatively large, but low budget, local government website from Craft 2 to Craft 3. The major remaining pain point is a replacement for the Craft 2 Reroute plugin, which is not ...
1
vote
1answer
56 views

No plugin exists with the handle “contact-form-extensions”

I have installed and used the Contact Form Extensions plugin a few times but this time it's not working. I can see it in the CP but when I click to install it throws the error: Invalid plugin – ...
0
votes
0answers
35 views

Hooking Event After Record Save

I have a custom module that is receiving data from an external API. I need to save some of that data into a record and return a success response, so far all is good. Along side this I want to set up ...
2
votes
1answer
30 views

Create Matrix Block via Module

I'm having an issue creating a matrix block from a module. I'm currently doing the following: Calling an API using Guzzle Getting that request and iterating over a media block. Trying to create a new ...
1
vote
1answer
40 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
38 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
12 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
8 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
37 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
19 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
115 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
99 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
35 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
50 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
2
votes
1answer
135 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
21 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
73 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
51 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
128 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
40 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
75 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
140 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=...
4
votes
5answers
567 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
15 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
41 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
60 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
456 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
178 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 ...