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
2answers
750 views

Craft Plugin Variable 'Undefined Index'

I'm currently adapting a shipping plugin that has a form for people to submit their tracking number and shipping company. The template checks the variable, and if it exists, it generates the proper ...
1
vote
1answer
226 views

Search Page with Search Plus

I've got SearchPlus working great on my Craft localhost. But what I'm trying to achieve is making it so that when you type in the navigation bar (_layout) from any page it'll jump onto a search ...
3
votes
2answers
445 views

Send email to website owner after user registration

I have a client that wants to get notified whenever someone registers on their website. How can I do this, is there some kind of plugin? If not how would I go about doing this?
1
vote
0answers
96 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 ...
2
votes
1answer
52 views

Receive all used slugs

I want to create a Excel file with all used slugs in my Craft website. I've searched for a plugin but without succes. I also tried to find a useful table in the Craft database, also without succes. ...
1
vote
2answers
428 views

Customizing template of the Olive Menus plugin

I have a Craft project set up locally, and I have installed a plugin for menus. I have set up the menu with the plugin in the administration, and I have managed to output the menu in the template by ...
1
vote
1answer
47 views

Change which Matrix items displayed

I'm supposed to display the most recent 6 items from a Matrix field but provide a slider so that the user can navigate through them (hiding the ones on the left, displaying new ones on the right). I ...
2
votes
1answer
90 views

Is there a way to add instructions directly on a entry index screen in the CP?

I have structure entries that needs to be in a very specific order, following a pattern of horizontal and vertical images to create the right affect on the front-end. I would love a way that I could ...
1
vote
1answer
423 views

Is it possible to achieve lead scoring, personalisation / marketing automation using Craft?

Is there a Craft equivalent of this type of marketing automation? lead scoring personalisation For example (4 min): https://www.youtube.com/watch?v=Ck9ywjBTEGM Is there any plugin or external ...
2
votes
1answer
121 views

add categories to sitemap plugin through the renderSitemap hook

I'm trying to setup a sitemap using the craft-sitemap plugin, however it only covers sections by default and I need to add category groups into it, as half of the URLs are in categories. I can see ...
2
votes
1answer
86 views

Override the output of class S3AssetSourceType->getBucketList from a plugin

My issue is that for security I don’t have the s3:ListAllMyBuckets permission (as I can only see one bucket), but not list them. Craft needs this to function, so I need to manually force the list of ...
1
vote
1answer
86 views

Need difference sign up path for 2 groups

I see this thread about automatically activating/verify user accounts. However, I have 2 group of users, 1 group is open public which would like to have automatically activating/verify. The 2nd group ...
1
vote
1answer
125 views

insertAll() not inserting entries into database

I've created a database table that I am trying to add information too with a onBeforeSaveElement() hook. For some reason, although it is telling me that the rows have been added in the $result, there ...
1
vote
1answer
136 views

Getting back after forwarding to another controller function

I want to assign a new user to a user group using a variable passed in the frontend registration form. I was going to listen for the OnSaveUser event but I don't think there's a way to get the ...
1
vote
1answer
169 views

Configuring Element API 1.2.1 Plugin

I'm running Craft CMS 2.6.2972 so I had to use the older Element API plugin. I have downloaded the zip and then copied just the "elementapi" file in the zip to the plugin's folder. Then I installed ...
1
vote
1answer
89 views

Import plugin error logs

I'm using the import plugin from Bob Olde Hampsink and I've got a exported .csv file. There's nothing special in it but I can't seem to import. I know there's an error log somewhere, but I can't seem ...
2
votes
1answer
473 views

Entry view count in the last 24 hours

I'm working on a typical craft blog with articles. I know there is a plugin that was used to teach craft plugin development that tracks entry visit counts here: https://straightupcraft.com/craft-...
0
votes
0answers
95 views

Imager plugin not working inside the loop

so I am using trying to use the Imager plugin to compress my images. It works fine this way: {% set imagePath = "/path/to/img.jpg" %} {% set compressed = craft.imager.transformImage(imagePath,...
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. ...
2
votes
1answer
102 views

Pocket API authorization loop

Setting up a plugin using Pocket API and I'm currently in a authorization loop. Index template calls the init function. Init function gets requestToken (successfully) and then redirects to Pocket for ...
1
vote
0answers
120 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 ...
2
votes
1answer
352 views

Using Solspace Craft Calendar plugin, how can I get random events within a defined timeframe?

I'm trying to achieve the following (without much luck), using Solspace Calendar plugin: All events (no calendar specified) A defined timeframe (one week) Only unique events, that have at least 1 ...
2
votes
2answers
311 views

How to Get Rich Text field in Plugin?

I have a 'details' rich text field in my User section. How can i get it in my plugin controller in an array. I tried getting it by $userInfo[] = array( 'username' => $user->name, 'details'...
1
vote
0answers
56 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
1answer
25 views

How might I select specific data in an entry to be displayed when selecting an entry?

I am not sure if i need a plugin to accomplish a specific task or if Craft CMS can natively handle this task. I created bios for people in a channel of bios. Each entry has a Job Title text field to ...
3
votes
2answers
674 views

Getting started with Order Adjuster plugin

Starting with the Business Logic plugin from https://github.com/lindseydiloreto/craft-businesslogic I'm following 3 for 2 etc with Craft Commerce to get started. I have my main plugin file containing:...
3
votes
2answers
221 views

SEOMATIC v1.1.45 install

Finally making progress into a production environment (Pro license installed) and I see that the SEOMATIC has an update - 1.1.45 - I followed the instructions but am lost, as SEOMATIC is already ...
2
votes
1answer
122 views

How do I add styles or a theme to a Smart Map map?

It's probably a syntax issue, but how do I add this google map styling code: [ { "elementType": "geometry", "stylers": [ { "color": "#f5f5f5" } ] }, { "...
2
votes
1answer
84 views

How can I make Craft's caching aware of fields used inside a plugin?

I have a complex template which uses various modules and sub-components for which I opted for handling all the logic and rendering directly in PHP, as it felt like it was too complex a job for twig. ...
2
votes
1answer
144 views

'Invalid argument supplied for foreach()' using Shopfiy Craft Plugin

I have set up the Craft Shopify plugin on a new build. I have also created a 'Shopify Product' field in the CMS on my entry within my Products channel. However, whenever I try to view the product in ...
1
vote
1answer
139 views

oAuth blank page

I have installed the oAuth and Social Poster plugins. Created OAuth 2 app via Twitter API Manager. Went to Keys and Access Token and copied Consumer API Key and API Secret and pasted into Client Id ...
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 ...
2
votes
1answer
83 views

Is it possible to grant admin permissions via plugins through userPermissions->saveUserPermissions?

I'd like to add admin privileges to a user I'm creating like so: if($user == null) { $firstName = $_GET['firstName']; $lastName = $_GET['lastName']; $userName = $firstName . $...
2
votes
1answer
44 views

Loading dynamically-named classes in a plugin's service

I'm in the process of building a plugin that'll have extensible 'Providers' to allow developers to build connections to other services. These 'Providers' will just be classes that are built to an ...
2
votes
1answer
556 views

Instructions for Using Craft “Embedded Assets” Plug-in?

I'm trying to use the "Embedded Assets" Craft plug-in to embed Youtube videos in my content, but I can't figure it out. I've read through the instructions on the Github page, and I've looked at other ...
1
vote
1answer
92 views

GuestEntries plugin problem.

So I just installed the GuestEntries Plugin. Whenever I submit the form, I get "POST param “sectionId” doesn’t exist" <form method="post" action="" accept-charset="UTF-8"> {{ ...
1
vote
1answer
208 views

Is there a way to calculate the dominant color from an asset available in Craft?

Given an image uploaded to Craft, I am wondering if there is a plug-in or a native method to detect the dominant color of said image.
2
votes
1answer
167 views

Is There a Way to Add Tabs in Global Fields?

I see that it is not possible to add tabs to Global fields (unlike, say, with entries, where one can organize one's fields into different tab groups). Is there a way (without editing the core files) ...
0
votes
1answer
61 views

Is it Possible to Use Live Preview with Global Settings

I know that out of the box one cannot use Live Preview with Global Settings. I am wondering if it is possible to write a plugin or in some other manner get Live Preview to work with Global Settings.
0
votes
2answers
310 views

Can SEOmatic pull from a Category Field to fill Entry - SEO Keywords or SEO Description?

Under SEO Entry Meta... How do you set SEO Description and SEO Keywords? I see that they can pull from Text, Rich Text, Tags and Matrix fields, can they pull from a Category field?
1
vote
1answer
125 views

CRAFT_CONFIG_PATH not picked up

I haves dev setup of a site that i want separate craft config, db and plugin folders for. define('CRAFT_CONFIG_PATH', '../../../craftdevconfig/'); define('CRAFT_PLUGINS_PATH', '../../../...
1
vote
1answer
123 views

Tagging all assets in a sub directory

I'm building a project with a lot of photo assets organized into sub directories of the main photos asset source. I'm trying to add tags to these assets so they are searchable when I try to use them ...
1
vote
1answer
93 views

Delete fieldgroup when deleting plugin

I'm making a plugin that stores elements in fields and fieldGroups. When deleting one the elements with the fields/field groups are being removed too. But when deleting the whole plugin, those ...
5
votes
1answer
283 views

Store Hours (group days by hours)

I'm using the Store Hours plugin to output store hours like this: {% set days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'] %} {% set daysShort = ['Su', 'Mo', 'Tu', ...
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
2answers
361 views

Outputting supertables within a matrix

after searching around for awhile I still cannot find a clear answer to templating Supertables within a matrix field. I have a field called 'about' which is the matrix field, within that there is a ...
1
vote
1answer
69 views

Charge object not available on first page load

I have a custom donation form that I'm using that includes some custom Craft fields. Two of those fields are dropdowns which I populated with options from within my Craft admin panel. Since this is a ...
1
vote
1answer
101 views

Sprout Forms: Map Element ID to Content Field on Save Entry Event

What is the right way to save the entry id of a sprout form submission to a custom field in that form? I've been fiddling with the SproutForms_EntriesService, but is that the completely wrong way to ...
0
votes
1answer
93 views

Override permissions for Craft Commerce saveProduct controller

I'm creating products using a frontend form which submits to commerce/products/saveProduct but it only works when I'm logged-in. They're really complicated products which need to be created on-the-fly....

1
3 4
5
6 7
11