Questions tagged [plugin-development]

Questions having to do with constructing plugins.

159 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
97 views

Issue with external JS when toggling between entry types

I'm working on a custom plugin / fieldtype, and it requires first an external JS library, and then it needs to be initialized in-page. I.e: <script src="//remote.path.to/my_script.js"></...
0
votes
0answers
61 views

Adding extra data to an element

I know questions similar to this have been asked in the past. But I still don't feel like I am getting a full picture so feel there is benefit in asking it again. I want to add extra data to a post ...
0
votes
0answers
133 views

Plugin Emails Being Sent Twice

I've got an even notifier plugin I have been working on for a specific client project. Sending an email to a single address works fine, but when I loop through a table containing email addresses it is ...
0
votes
0answers
470 views

Vanilla Forum Embedded SSO Export User Groups as Roles

I have implemented vanilla forums as a discussion solution for my website. I have made it embed into my parent site and also setup jsConnect to auto sign in the user if he/she is logged into my parent ...
0
votes
0answers
62 views

Can I add information to a CP new entries page?

I would like to add a google map in an entry edit page for certain entry types. I already have a plugin started to go and grab the lat and long for the entered address. What I'm now trying to ...
0
votes
0answers
203 views

Macros vs Variables, which one should I choose to give users of my plugin?

For Market commerce, good example templates and snippets of code are very important. There is a few ways I can give these to the users of my plugin: 1) Example template folder. The user would ...
0
votes
0answers
65 views

Can no longer get the ElementType a field is attached to

I wrote a simple fieldtype that checks that the field value is unique for a specific entry type: https://github.com/fuel-digital/Craft-Unique-Text-FieldType This worked fine initially but after the ...
0
votes
0answers
215 views

Complex queries

I'm wondering: what is the best way to do complex queries for a plugin? For example, I'm building a site that publishes stories and sometimes the same story can be in different languages. The ...
0
votes
0answers
120 views

Is it possible to access backend fields from my own field type?

I'm trying to access the value of an asset field in a backend entry form from my plugins own field type. At the moment it's looking like the following: public function prepValue($value) { $...

1 2 3
4