Feed aggregator

Support for Media Gallery

My issues at drupal.org - Tue, 31/01/2012 - 10:31pm

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

<?php
    // $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?

Vanilla JavaScript FTW

delicious.com/alanburke - Tue, 31/01/2012 - 5:43pm

n/a | Indytech (Co Wicklow)

Drupal Ireland Group - Sun, 29/01/2012 - 9:03am

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)

Ireland

Free venues for free/low-cost training?

Drupal Ireland Group - Thu, 26/01/2012 - 5:17pm

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.

Ireland

Passing filters to to a view from a block

Drupal Ireland Group - Tue, 17/01/2012 - 9:29pm

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
Syndicate content