BaselineIT / dokuwiki-pagemod

Dokuwiki Pagemod
GNU General Public License v2.0
4 stars 14 forks source link

action pagemod <target> does not translate labels from fields #12

Open scostesu opened 9 years ago

scostesu commented 9 years ago

In bureaucracy plugin, I can use @@LABEL@@ in naming my output file, but pagemod doesn't.

For Example: action ​template tpl_billable_time_cst cst_@@Customer@@ select "Customer" "sears|walmart"

If in the form the customer "sears" is chosen, the output filename will be cst_sears.txt. If in the form the customer "walmart" is chosen, the output filename will be cst_walmart.txt.

But for Example: action pagemod cst_@@Customer@@ billable_time select "Customer" "sears|walmart"

If in the form the customer "sears" is chosen, the output filename will be cst_customer.txt. If in the form the customer "walmart" is chosen, the output filename will be cst_customer.txt. (Those files don't exist, so I just get an error that cst_customer.txt doesn't exist) (By the way: cst_sears.txt and cst_walmart.txt do exist and have proper pagemod template syntax)

vincowl commented 6 years ago

Please have a look at #28