Feed aggregator
Support for Media Gallery
I'm using the migrate module to migrate content from a D6 site.
The D6 site used the image module, with image_gallery.
I can create Gallery nodes [terms in the D6 site].
I can create Media items [image nodes in the D6 site] using MigrateDestinationFile.
What I can't do is wire them together.
It would appear that media items are stored as a reference on the Gallery node.
So I should be able to map that.
I can get a comma separated list of file ids, [or what was their Node ids before import],
so passing that in like this should work
// $media_list looks like this
// $query->addExpression('GROUP_CONCAT(n.nid)', 'media_list');
//$media_list = "234,456,789";
// Pass in the list if images
$this->addFieldMapping('media_gallery_media', 'media_list')
->sourceMigration('GalleryImage')
->arguments(array('source_type' => 'fid'))
->separator(',');
?>
but it doesn't.
Any clues?
n/a | Indytech (Co Wicklow)
I've removed this (it was a post related to contract design work) because almost all responses I've gotten have been totally off the mark.
For others who might use this group discussion area for posting opportunities, you should allow time to separate the fwe kernels of wheat from the chaff (it's mostly chaff)
IrelandFree venues for free/low-cost training?
OK -So! We've done it before, and I'd like to do it again.
Can anyone offer a free venue for training in Dublin?
I'd like to offer it for free or low cost (just enough to cover printing).
Ideally, in February or March.
We mainly need a flat room with tables or desks, and reliable wifi.
IrelandPassing filters to to a view from a block
Hi All
I am Hoping someone can point me in the right direction,
I'm using the D7 Views 3 and custom module,
I have created a view that takes 2 (contextual) filters.
And I have created custom module that creates block form that traverses a taxonomy tree a creating a parent-child drop-down using select lists similar to the way hierarchical_select works, what I’m not sure is the best method off passing the values from the select list to the views-page, (this will involve redirecting the user to that views-page with the arguments)
Currently I'm using the drupal_goto that redirects the user to the views url with the filters and I know there must be a better way or method other than this but I'm not sure what that is?
All suggestion welcome :-)
Regards Gavin
Ireland

