Network Engineer / Linux enthusiast, now hacking away at expect / drupal code to make my life easier and better.
|
May
18 |
|
awarded | Scholar |
|
May
18 |
|
accepted | Get list of filenames via Tasker |
|
May
18 |
|
comment |
Get list of filenames via Tasker Spot on that works. Not sure I fully understand why but that's something I can push through. Thank you! |
|
May
18 |
|
comment |
Get list of filenames via Tasker Ok that was helpful. I'm still struggling with finding a good list of the Boolean operators for tasker. That did return the file name alone, but it appears to drop the rest of the values in the array. Lets say I have 1.wav, 2.wav, 3.wav with a long path. I'd want the for loop to return all 3 file names one at a time each loop through. Not using the variable split this works, but I have all the extra path information. |
|
May
17 |
|
comment |
Get list of filenames via Tasker I'm not sure I completely follow. Right now I have the following: List files Dir /storage/Tasker/project/test/ Variable %files match *.wav For Variable %files items %files() Variable Split Name %files Splitter / Popup Text %files End For Really all i want is the filename blah.wav not /storage/Tasker/project/test/blah.wav With that split command I'm getting the full return minus the storage so Tasker/project/test/blah.wav and the just storage. It also seems to break the loop. |
|
May
17 |
|
awarded | Student |
|
May
17 |
|
awarded | Analytical |
|
May
17 |
|
asked | Get list of filenames via Tasker |
|
May
17 |
|
awarded | Autobiographer |
|
Sep
21 |
|
awarded | Custodian |
|
Jul
8 |
|
revised |
File Upload Form Updated code to reflect using managed_file field type. |
|
Jul
8 |
|
comment |
File Upload Form @Clive Duh yeah I had that in my submit handler above... I'm going to post refreshed code and reword my question current questions. Thanks |
|
Jul
8 |
|
comment |
File Upload Form @Clive I like the sandbox module that works pretty slick! Next issue is how do I get around the allowed file types, and tell it where it should be uploaded in the public file system? Thanks |
|
Jul
8 |
|
asked | File Upload Form |
|
Jul
2 |
|
comment |
AJAX dependent select Final solution was solved via the following question: drupal.stackexchange.com/questions/35736/form-statevalues-ajax |
|
Jul
2 |
|
accepted | AJAX dependent select |
|
Jul
2 |
|
accepted | $form_state['values'] AJAX |
|
Jul
2 |
|
comment |
$form_state['values'] AJAX That makes perfect sense and closes out both my issues. I get it now, basically I must form a container that will first be rendered on page load and then within that container I can have my if isset logic. Which will be overwritten via the AJAX call. Thank you very much! |
|
Jul
2 |
|
awarded | Commentator |
|
Jul
2 |
|
comment |
$form_state['values'] AJAX @Clive well that's more speculation on my part than anything else. Will not having a submit button on the page break the AJAX call from re-evaluating the if isset logic there by not ever rendering the Model select list?
|