Questions tagged [plugins]

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

58 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
278 views

Trouble saving custom fields onto custom element type

Im working on a plugin with a custom element type and i have most things working but i haven't been able to get custom fields to save with my elements using setContentFromPost. I have the record and ...
2
votes
0answers
119 views

PHP types for Twig in PHPStorm

As this tip (Twitter) suggested we can use type hints for Twig in PHPStorm after installing Symfony Support plugin by utilizing its PHPTypes feature, for example putting: {# @var craft \craft\web\...
2
votes
0answers
23 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 ...
2
votes
0answers
144 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. ...
2
votes
0answers
214 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 - ...
2
votes
0answers
186 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.
2
votes
0answers
348 views

Is there a way to integrate Craft with Magento?

Is there a method or for integrating Craft with Magento? We have a new project coming up and we've done this with EE, but would like to try with Craft. Ideally it would be a single login, but if ...
1
vote
1answer
28 views

Is there a Zendesk plugin to fetch order information from Craft Commerce?

I'm looking for the same functionality as https://wordpress.org/plugins/mwb-zendesk-woo-order-sync/ but for craftCMS's Commerce plugin and not Wordpress's Woocommerce plugin. Basically, it would use ...
1
vote
0answers
76 views

change core element index pages

Is it possible to change core elements index pages -like entry index page- by plugin in PHP way, like extending their twig, using events, hooks and not manipulating DOM with Javascript? Currently ...
1
vote
0answers
33 views

Ad Wizard custom field asset

I'm using plugin Ad Wizard, supported custom fields. Trying include additional asset field for html5 animated banners. Here is dump array: ["groupId"]=> string(1) "1" ["assetId"]=> ...
1
vote
0answers
73 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
0answers
112 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
0answers
40 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
0answers
40 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 ...
1
vote
0answers
113 views

Paginate Results from Restful XML Feed

I'm beginning with Craft/Twig and am developing a plugin that gets data from a Restful XML feed, and I've successfully tested it on my template. Below, I have the working plugin code and a sample of ...
1
vote
0answers
189 views

Can't dynamically add value to hidden input Sprout field

I'm trying to add a hidden input with Sprout forms and Sprout fields but I can't dynamically add a value to the input attribute. I have a custom form template in craft/templates/_forms/field.html in ...
1
vote
0answers
204 views

How do I send a POST request using the Dukt REST plugin?

The plugin documentation is somewhat lacking, but based on the documentation that exists and looking at the plugin files, I believe a post request should take the following form: {% set response = ...
1
vote
0answers
76 views

Creating coupon using Charge 2 plugin

I just updated the Charge 2 plugin to latest (version 2.2.1) and when I try to create a new coupon, I get this error: CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: ...
1
vote
0answers
50 views

Making discounts gives error on payment gateway

When i applied discounts, my payment gateway gives an error. It says that Basket items price must be greater than zero. Here is the section that takes items in cart: // Add items $basketItems = [ ...
1
vote
0answers
145 views

Geo plugin returns Undefined property: stdClass::$traits

I'm using Luke Holder's Geo plugin and it's been working great, so far. I'm testing on mobile and while it works fine on my Android device, visiting the site on two different iPhone 6s has resulted in ...
1
vote
0answers
97 views

SquareBit Charge Plugin: How to retrieve error messages from failed ajax call?

This is a continuation of How could I submit the Charge plugin using Ajax? I'm using the Charge plugin to handle my Stripe payments. I'm having to use ajax to submit the charge form before submitting ...
1
vote
0answers
44 views

Apple News: {“errors”:[{“code”:“UNAUTHORIZED”}]}

I have tried to follow this guide: https://github.com/pixelandtonic/AppleNews The API's and keys I provided appear to be valid as I double-checked with my iCloud News Partner account several times. ...
1
vote
0answers
123 views

How to output a tweet URL in a user timeline using the Dukt Twitter plugin

I'm just trying out the Dukt Twitter plugin. Is it possible to output a link to a tweet within a timeline? I've tried guessing {{ tweet.url }}, but that doesn't work. I don't want to auto-link the ...
1
vote
0answers
58 views

Plugins for Tags

Is there any plugin for Tag that will be like: Text field in a front-end entry form where user can add multiple tags. After pressing the save button, the plugin should: check for every tag, whether ...
1
vote
0answers
39 views

Problem with the LinkVault plugin not finding file above root

Anyone had problems with LinkVault? I’m storing downloads above the web root and using LinkVault to generate links to them. This works locally but on the staging server I get a PHP notice for an ...
1
vote
0answers
79 views

Assign an e-mail template to recurring payment with dynamic amounts

tl;dr; How do I tell the webhook callback from Stripe to Charge which template to use for e-mailing the donor when a recurring payment is successfully charged when I don't know what planAmount the ...
1
vote
0answers
88 views

Charge form with conditional validation

Is there a way to create conditional validation on 2 fields related to the same desired input using the Charge plugin? The Reason plugin does not work when defining fields in the CP->Charge->Settings->...
1
vote
0answers
257 views

How do I use the section Entry URL format for registerSiteRoutes() in a plugin?

I'm trying to register a site route in my plugin based on the Entry URL format for a section chosen in the plugin settings. So if it's the default news section in the Craft install the URL format ...
1
vote
0answers
169 views

Any robust plugins with Markdown Extra support?

I've tried @monooso’s Smartdown plugin but can’t get it to run on my local install of Craft 2.5 under PHP 5.6.10. I have content that parses fine as regular Markdown but just fails totally with the ...
1
vote
0answers
456 views

Google Maps plugin - Create map from front-end form

I'm using the Google Maps plugin for Craft and I'm trying to generate the map via a front-end entry form using address fields but I can't seem to get this to work. If I go into the admin and save the ...
1
vote
0answers
61 views

asset sourcetype getLocalCopy() not working?

I need to use getLocalCopy from LocalAssetSourceType // Get asset source $source = $asset->getSource(); // Get asset source type $sourceType = $source->getSourceType(); // Get asset file $file =...
1
vote
0answers
60 views

Plugin - Flickr Photo Picker

Has anyone used this plugin recently: https://github.com/ObiruLabs/craft-flickr-photopicker ? I have just tried to start using it but it does not display any photos - it seems to be looking for photo ...
1
vote
0answers
103 views

How do you check for a value in an array with the criteria model?

I am building plugin which has a function to return any users that have a specific interest checked in their profile. The interests field is an array. What I need to do is check if the specific ...
1
vote
0answers
148 views

Record - Mixed/String values will not be saved if attribute not required=true

I have defined string and mixed attributes for my Record/Model. 'titel' => array(AttributeType::String), 'lage' => array(AttributeType::Mixed, 'required' => true), If i try to save a record,...
0
votes
0answers
12 views

Stripe Payment Plugin - custom amount/quantity

With the Stripe Payments plugin for Craft is it possible to allow customers to change the quantity (and thus the price) then pass this onto the Stripe Checkout page? I can see its possible to allow ...
0
votes
0answers
26 views

Are plugins necessary for these 2 things?

I'm working on migrating an existing project, that is currently made in CodeIgniter and I'm trying to port it to Craft. Everything is great except... I'm running into two issues: Have a page ...
0
votes
0answers
7 views

SS Twitter Feed - showing user images

I'm using SS Twitter Feed. It works fine, but one thing I noticed is that it doesn't seem to be able to show icons for the user that has posted to the feed. It only shows the icon of the account ...
0
votes
0answers
22 views

Non-destructive image cropping plug-in

I am looking for a user-friendly, non-destructive way define an image crop when editing an entry with an asset field. Should be able to visually define an image crop Should be able to change the crop ...
0
votes
0answers
14 views

entry / asset url integrity check

Is there any mechanism in Craft (or a plugin) which protects entries or assets from being deleted, if they are used in an asset / entry field used in an entrytype, global, ...? Or is there a way to ...
0
votes
0answers
11 views

Can Social Poster (or any other plugin) share to Linked.in pages?

I have setup my Facebook page sharing with Social Poster and it works perfectly. The Linked.in functionality also works but I was wondering if there is any way for it to share my content to my ...
0
votes
0answers
12 views

S3 Buckets, IAM, Cloudfront

I followed @nystudio107 post here about setting up CraftCMS with Amazon S3 and Cloudfront and it works great except I can only upload if I have all public access enabled on the S3 bucket? The article ...
0
votes
0answers
44 views

Is anyone planning “h5p” for a plugin

Is there a chance that h5p can be implemented as a plugin or module for Craft 3? It's really great but it will be hard for me to make a plugin for this, so I'm just asking if there is an easy solution....
0
votes
0answers
32 views

How to handle two Redactor fields in one entry page in Craft 3.3?

I have an entry for blogs page. It contains 2 Redactor fields named content and body. I upgraded Craft 2 to Craft 3.3. Then the old editor changed to Redactor plugin, but that Redactor worked for body ...
0
votes
0answers
19 views

Block headerContent not rendering my HeaderBuilder?

I am using NEO plugin to structure my website. Currently I have create _layouts/base.twig file as my main file. Under that I am calling {% block headerContent %} {% endblock %} {% block ...
0
votes
0answers
17 views

Error Connection Social Poster Plugin to Facebook

I'm having some trouble getting the Social Poster plugin to work with facebook. It's installed and I've set up my facebook app and have configured facebook in the providers tab of social poster. ...
0
votes
0answers
27 views

Add Salesforce Lead record with file attachment

Can anyone know if it is possible to upload a file to the SalesForce service using the Freeform, Express form or another plugin...? (i.e. need to add Lead record with file attachment) Thanks
0
votes
0answers
14 views

Find and replace contents of rich text field *or* update image paths within

I imported some rich text which contains img tags. Image locations have changed, so I need to replace instances of <img src="/somepath/somefile.jpg"> with <img src="https://SOMEDOMAIN....
0
votes
0answers
20 views

My plugins will not enable on my Dev Site (Macbook and MAMP). What can I do?

I have upgraded my development site to Craft CMS 3.3.9 and when I went tyo enable my plugins, the pop up message appeared stating they were enabled, however, the plugin still shows as disabled. Why is ...
0
votes
0answers
22 views

Deleted plugins still in database? (and reappearing in project.yaml)

I can see about 10 plugins in the craft_plugins table that have been long removed via the Craft CP panel, and removed from the composer files also. However when I enable project config, these deleted ...
0
votes
0answers
18 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" ...