Difference between revisions of "Talk:IGB Javascript Methods"

From Backstage Lore Wiki
Jump to: navigation, search
m (Protected "Talk:IGB Javascript Methods" [edit=sysop:move=sysop])
(sendMail Method does not work.: new section)
 
Line 38: Line 38:
  
 
And will there ever be an option where we will be able to create a contract where the person in charge will only need to click "okay"? That will help us very much with corp market pages...
 
And will there ever be an option where we will be able to create a contract where the person in charge will only need to click "okay"? That will help us very much with corp market pages...
 +
 +
==  sendMail Method does not work. ==
 +
 +
sendMail Method
 +
 +
This method requires that the user grant Trust to the calling site.
 +
Syntax: CCPEVE.sendMail(characterID, subject, body)
 +
 +
characterID (Number)
 +
    The characterID of the character you want send mail to.
 +
subject (String)
 +
    Subject of mail.
 +
body (String)
 +
    Body of mail.
 +
 +
 +
something wrong with above, can not make it work, probably there is some mistake.
 +
 +
--[[User:Random MonDistinct|Random MonDistinct]] 14:23, 22 September 2012 (GMT)

Latest revision as of 08:23, 22 September 2012

Signatures

data type of expected arguments should be included. Also examples and a proper method signature notation. The current representation is not a proper method signature. Fixed

Ship DNA?

The Fitting ID in the ShowFitting() method is using the Ship DNA Format. I've written up a short article on how to put it together but we really need what you expect.

  • Is there a specific format or order?
  • Whats with the two empty modules at the end?
  • If we throw modules in the wrong order will that error out?
  • If we throw in drones and charges will that error out?

Need Fleet Interaction Functions

In the old IGB you could click on a link to a fleet and join that fleet. Now that the old-style links are not being implemented, there needs to be a javascript function to implement joining a fleet. I'd suggest a leave fleet counterpart as well. There are a lot of corporations and alliances using fleet management IGB sites that require the ability to have a link to the fleet to really fulfill their purpose. --Twistalous 08:57, 9 October 2009 (UTC)

Syntax

2 things to fix on the page.

showInfo does not work ShowInfo works.

At least on the current client, all function calls works with the first letter being capital.

onClick is improper. It should be onclick (no capital letters in html/xhtml attributes syntax.

The following unattributed comment was left by DeTox MinRohim.


The documentation already reflects how the methods will be named in the future (i.e. with the first letter being lower case). This may not match with what is currently running on Sisi. I've changed onClick to onclick. --Haskell 17:07, 27 October 2009 (UTC)
Would it be worth adding a notice that all functions are case senstive? May resolve some problems. --CrashM 17:49, 03 December 2009 (GMT)

EVE Mail and Contracts

With the "old" IGB, you could pre-write EVEMails for sending. Where did that option go?

And will there ever be an option where we will be able to create a contract where the person in charge will only need to click "okay"? That will help us very much with corp market pages...

sendMail Method does not work.

sendMail Method

This method requires that the user grant Trust to the calling site. Syntax: CCPEVE.sendMail(characterID, subject, body)

characterID (Number)

   The characterID of the character you want send mail to. 

subject (String)

   Subject of mail. 

body (String)

   Body of mail. 


something wrong with above, can not make it work, probably there is some mistake.

--Random MonDistinct 14:23, 22 September 2012 (GMT)

Personal tools
Namespaces

Variants
Actions
Navigation
Tools