Message from discussion
Joomla plugin triggers questions
Received: by 10.50.191.130 with SMTP id gy2mr1555717igc.4.1350499071184;
Wed, 17 Oct 2012 11:37:51 -0700 (PDT)
X-BeenThere: joomla-dev-general@googlegroups.com
Received: by 10.42.200.69 with SMTP id ev5ls16776181icb.5.gmail; Wed, 17 Oct
2012 11:37:42 -0700 (PDT)
Received: by 10.50.213.99 with SMTP id nr3mr1561497igc.2.1350499062798;
Wed, 17 Oct 2012 11:37:42 -0700 (PDT)
Received: by 10.50.57.13 with SMTP id e13msigq;
Wed, 17 Oct 2012 08:09:08 -0700 (PDT)
Received: by 10.68.225.234 with SMTP id rn10mr4278598pbc.3.1350486548739;
Wed, 17 Oct 2012 08:09:08 -0700 (PDT)
Date: Wed, 17 Oct 2012 08:09:07 -0700 (PDT)
From: Brian Shaughnessy <br...@lcdservices.biz>
To: joomla-dev-general@googlegroups.com
Cc: youjoomla...@gmail.com
Message-Id: <00c9f504-e764-49bc-8414-3e626f548ef8@googlegroups.com>
In-Reply-To: <CAJvN6Rvg1e-YTo2_qjGPEodBMNrK4t42w37qTgJmMBQ=XOh+Ng@mail.gmail.com>
References: <45d24837-4a76-42db-8bba-b0afe3b83f9e@googlegroups.com>
<e92b67a2-4d66-4fa7-af8c-64b83c36c4fe@c20g2000vbz.googlegroups.com>
<0a0df972-5fad-4b5a-a101-25a4933cd58f@googlegroups.com>
<cd8217ca-266b-4c86-804f-70ffdc0966df@googlegroups.com>
<449256da-0d17-45b2-85ec-7b11a6e7d884@googlegroups.com>
<848c22ce-0c7f-496f-bd6f-3773e42aa886@googlegroups.com>
<7e2b1abe-a571-4313-b79b-daa0a877bd5c@googlegroups.com>
<b4d1cfe5-1a6e-467c-8358-287b62a3c662@googlegroups.com>
<CAJvN6Rvg1e-YTo2_qjGPEodBMNrK4t42w37qTgJmMBQ=XOh+Ng@mail.gmail.com>
Subject: Re: [jgen] Re: Joomla plugin triggers questions
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_204_5427321.1350486547803"
------=_Part_204_5427321.1350486547803
Content-Type: multipart/alternative;
boundary="----=_Part_205_16052094.1350486547803"
------=_Part_205_16052094.1350486547803
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
I see how you've structured your plugin. And I see that when I save the
*plugin* parameters -- the event is triggered.
However -- I don't see how that event is triggered from a component.
For example --
If I throw a simple echo + exit statement in your plugin at the top of
onExtensionBeforeSave, and edit-save your plugin, I see my debug text.
Since this is a system plugin, and I've put my debug code before any
context conditions are implemented, one would think that I would get the
text and exit if I then go to any component, view options, and save. But I
don't.
So either the events are not triggered with components, or there must be
some other way to implement the trigger that I am missing.
------=_Part_205_16052094.1350486547803
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
I see how you've structured your plugin. And I see that when I save the *plugin* parameters -- the event is triggered.<div>However -- I don't see how that event is triggered from a component.</div><div><br></div><div>For example --</div><div>If I throw a simple echo + exit statement in your plugin at the top of onExtensionBeforeSave, and edit-save your plugin, I see my debug text.</div><div>Since this is a system plugin, and I've put my debug code before any context conditions are implemented, one would think that I would get the text and exit if I then go to any component, view options, and save. But I don't.</div><div><br></div><div>So either the events are not triggered with components, or there must be some other way to implement the trigger that I am missing.</div>
------=_Part_205_16052094.1350486547803--
------=_Part_204_5427321.1350486547803--