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_timeselect "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)
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 becst_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 becst_customer.txt
. (Those files don't exist, so I just get an error thatcst_customer.txt
doesn't exist) (By the way:cst_sears.txt
andcst_walmart.txt
do exist and have proper pagemod template syntax)