Closed (outdated)
Project:
Views Bonus Pack
Version:
6.x-1.1
Component:
Views Export
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2010 at 08:57 UTC
Updated:
8 Mar 2023 at 20:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
neclimdulpatch missing
Comment #2
b-prod commentedSorry, stupid omission!
Comment #3
djroshi commentedI'm getting an error at
/admin/build/views/ajax/display/[view name]/feed_1/style_options
caused by the following line in views_bonus_plugin_style_export.inc
'#description' => t('The filename that will be suggested to the browser for downloading purposes. %view will be replaced with the view name , !arg.',array('!arg' => implode( ',', array_map( create_function('$item','return "%$item";'), array_keys($view->display[$view->current_display]->handler->get_option('arguments')))))),
Comment #4
b-prod commented@djroshi: Is it possible to have more details about this error, like the PHP message if any.
array_map error ?
isset error ?
Thanks
Comment #5
dboulet commentedHere's an alternate patch, for review.
Comment #6
cyberwolf commentedSubscribing.
Comment #7
dambrisco commentedSubscribing.
Comment #8
boobaaTaking dboulet's patch in #5 as a foundation, I have added two more tokens: %timestamp (provides something like 2010-10-06_12-45-50) and %exposed (provides something like filter1_foo-filter2_bar).
Comment #9
ionmedia commented#8 looks very interesting, can you, Boobaa, attach patched file ? (i have no access to shell on my hosting, only ftp)
Comment #10
maartenzam commentedApplied patch from #5 and works as expected.
Thanks!
Comment #11
sgtsaughter commentedThis is an old patch, but just confirming that patch #5 works great.
Comment #12
john franklin commentedPatch in #5 is still a great patch. So is #9. One of them should be committed.
Comment #13
john franklin commentedIn the patch from #8,
$view->exposed_input[$handler->options['expose']['identifier']]may be an array, not a value. The value will need to be flattened somehow to prevent check_plain() warnings.Comment #14
neclimdul