Define action in Extension?
Posted: 04 August 2008 04:49 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  97
Joined  07-13-2008

Hello,

One of my extensions provides a form, and I would like to define an action for my extension. Doing so, doesn’t seem to work, as when I submit my form I get an error:

The action you have requested is invalid.

Any idea of how to go about this?

Thanks,
Mike

Profile
 
 
Posted: 06 August 2008 05:33 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15833
Joined  06-03-2002

Extensions cannot be recipients of action requests, only modules, so if your addon needs an action request, it would need a module component as well, and an installer that knew to install / uninstall the partner add-on.

Before you dive into that though, can you describe what the purpose of your extension is?  That you’ve made an extension that needs an action request is an indication that we might be able to help you with some generalized problem solving as it pertains to writing add-ons for EE.

 Signature 
Profile
MSG
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64939 Total Logged-in Users: 55
Total Topics: 81910 Total Anonymous Users: 52
Total Replies: 440322 Total Guests: 300
Total Posts: 522232    
Members ( View Memberlist )