Questions tagged [modx-plugins]

ModX Plugins are extensions available to download and used to enhance ModX's functions.

4 questions
0
votes
0 answers

modx: can't getCollection in custom plugin

I try to write my one plugin to modx with that tutorial and get stuck on section building the query That is my snippet: $defaultDoodlesCorePath = $modx->getOption('core_path').'components/musiclabel/'; $doodlesCorePath =…
Ishayahu
  • 349
  • 1
  • 19
0
votes
1 answer

Modx script after package installation

I need to write a plugin that needs to create table in database and some setting from installation form. I can easily create form but I have difficulty to run the script after installation to read options and create table. Is it possible at all to…
Marcin Nabiałek
  • 109,655
  • 42
  • 258
  • 291
0
votes
1 answer

Modx plugin resource return

I need to return to user whole resource in his own template via plugin, which handles on OnPageNotFound event. It can be diifferent pages, depends on link. I will parse it and get resource needed. How can i do it?
0
votes
1 answer

Login plugin Hooks not running

I am trying to send a 2nd email to my sites admin when a user registers. I made a postHook snippet that sends an email but it didnt work - the Registration process worked as expected, but I got no 2nd email from the hook. In testing I set the hook…
MeltingDog
  • 14,310
  • 43
  • 165
  • 295