Jump to:
| Project: | Mailhandler |
| Version: | master |
| Component: | Documentation |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (works as designed) |
Issue Summary
Hola !
i use the 4.5 version and i have to say the documentation is - as usual, im myself a programmer - virtually nonexistant
i would at least add some more commands, so the "normal" user can use this module with minimum functionality
something like
possible commands for mailhandler
status: 0 = not published, 1 = published
moderate: 0 = NOT in moderation queue, 1 = in moderation queue
revision: 0 = no revision, 1 = a revision
comment: 0 = disabled, 1 = read only, 2 = read/write
promote: 0 = not promoted, 1 = promoted to front page
sticky: 0 = not sticky, 1 = sticky at the top of the page
title: DO NOT USE THIS, use the mail subject only, if you use both, the title will be a combination of both subject and title (like "Welcome ! Welcome !")
path: to set an alias
body: not checked yet, but i just guess it will be combined with the main content
format: 1 = "normal" , 2 = php, 3 = complete html --> formats depend on your input filter settings
more tips
you can bypass most of the commands, if you set up a flexinode and change the workflow for this new node type, e.g. set "published" to default
-----
i extracted those above right from the sourcode of my own "create blog" site, so maybe one should add these standard "commands" to the handbook too, right now there are no hints in the "node" section
its just a good whish, but it would be perfect, when new modules with new functions for creating nodes, would give a list of the "commands"
-micha
Comments
#1
The title command is useful because you can set a little title in case of people do not put anything in the subject (it sometimes happen and produce strange effects to drupal as a not selectable node). I use just a 'title:>' to prevent this error.
There are no need of a body: command, it do not work but replace the content. Just put something after the comands and it will be included in body (beware: commands at email will not be processed, this maybe a good thing to prevent commands by user). I put a 'send by mail' at beggining of messages processed by mailhandler.
I would like a lot if there are info about how to use module specific commands as og, simpleaccess, etc...
#2
Needs to be added to mailhandler documentation found here http://drupal.org/node/38943
#3
As far as I know, there isn't a defined list of commands in 6.x-1.x- any node property can be commanded. Thus, rather than listing every possible node property in the documentation, it might make more sense to just say as much and possibly link to a resource on the node object. By the way, I think anyone can edit that documentation so please do so if you're able.
For 6.x-2.x, the available commands come from the Feeds processor, so again, I don't know that it should be up to us to document, but rather link to Feeds documentation.
#4
Was more mend as a reminder for issue filer micha_1977.
As Dane wrote: "As far as I know, there isn't a defined list of commands in 6.x-1.x- any node property can be commanded" and the documentation at http://drupal.org/node/38943 is evolving this issue is handled.