I'm tinking with the code myself wondering how to change the filename options to accept other tokens beside %view?

I'm making a txt feed that takes arguments with the goal of being able to grab a certain field and write it to the text file for input on a piece of scientific equipment (the text field is DNA sequence) which only accepts as inputs .txt files with a single line of text. While I can tweak the template files or even add a new template that gives me the formatted text file they always have the same name and the end user will be downloading 7 or 8 of these at a time. It would be a perk for them to not have to rename the file download for each one. I'd be happy to play with the code as I'm trying to get my feet wet with module development, but a pointer as to how to expose other tokens from the view (argument name? some other field that's referenced but not displayed?) would be helpful if anyone happens to know.

Comments

cyberwolf’s picture

Subscribing.

dambrisco’s picture

Subscribing. I've run into a similar issue with a website built for an RNA research lab. It hasn't come up before, but I could definitely see it becoming a nuisance as the site grows. I'll take some time to look at the code asap if a solution doesn't pop up soon.