0
Z odpowiedzią

Plugin Template(s)?

godzilla8nj 10 lat temu Ostatnio zmodyfikowane przez Eugene Pankov (Project coordinator) 10 lat temu 0
I am using Ajenti as a web-based administration panel for a free turn-key web kiosk I designed. I have read through the docs for creating my first Ajenti plugins but am a bit out of my element.

The first plugin I want to write would be a table of variable names and values. It would read a file (Opera's operaprefs.ini) and, if the variable exists in the file, would populate the value in Ajenti. All values would be editable. Clicking a Save button would write to the file. (Essentially would be remote access for opera:config.)

The second plugin would be a form comprised of radio buttons (switch options for Opera's kiosk mode.) Selections would be used to create a string (For example: "-kioskmode -nocontextmode -nodownload") that would be written to a config file.

The third plugin would be a form comprised of radio buttons and associated text boxes (switch options for glslideshow.) Selections would be used to create a string (For example: "-zoom 100 -duration 8 -fade 3 -clip") that would be written to a config file.

I was wondering if anyone had written a plugin similar to any of these that I could use as a template, or if anyone would donate some time to help me get started?

Odpowiedź

Odpowiedź
Z odpowiedzią
Hello, you can use existing simple plugins such as Hosts as examples, and also refer to examples from documentation. Mail me at e@ajenti.org if you run into problems.
Odpowiedź
Z odpowiedzią
Hello, you can use existing simple plugins such as Hosts as examples, and also refer to examples from documentation. Mail me at e@ajenti.org if you run into problems.