|
Demo
Discussion
|
Forum
Config Examples
Contributions
Vulnerabilities
|
Discussion forum about ELOG |
Not logged in |
|
|
|
Message ID: 2056
Entry time: Thu Nov 9 20:59:01 2006
In reply to: 2026
|
|
Category: |
Question |
OS: |
Linux |
ELOG Version: |
2.6.2-1739 |
|
Subject: |
Re: calling a shell in the Options tag |
|
|
Alexandre Lindote wrote: | Hi,
is it possible to run a shell script in an "Options" tag, as it is with the "Preset", "Subst", and so on?
I need to have something like this:
Options Update of = $shell(/home/alex/zeplin3/elog/z3elog-mirror/documents/ext_docs.sh MinGen)
the script returns a line with comma separated values...
Thanks
Alex |
Interesting idea, but substitutions only work for config setting where the documentation explicitly states so. The complete list comes here:
- Preset <attibute>
- Preset on reply <attribute>
- Preset on duplicate <attribute>
- Subst <attribute>
- Subst on reply <attribute>
- Subst on edit <attribute>
- Change <attribute>
- Email <attribute> <value>
- Use email from
- Use Email heading
- Use Email subject
- Bottom text
- Top text
- Edit page title
- Prepend on edit
- Append on edit
- Append on reply
- Quote on reply
- Preset text
- Page title
- RSS title
- List page title
Doing shell execution for all configuration settings would slow down the server too much. |