Hi All
I have a special requirement and wanted to talk to ask the community about the best way to accomplish this task.
My install has several content types, and one of them is a photo gallery. I have implemented a photo-gallery using field_collection module. Now, I have several views, where we show a listing of many content types, based on certain criteria like taxonomy terms etc. For such views, we are showing content title, and one image (Primary Image ) plus a teaser. No problems till now. Now the problem comes up as for photo galleries, I want to show not the primary image of the photo gallery - but the first image in the field collection. Also, the URL to which the title of the gallery links to needs to be the URL of the forst photo in the field collection and not the URL of the photo gallery.
Doing this for just one view is easy enough, I create view TPLS and based on the field, change it. But this is not a "standard" solution that applies everywhere. The moment I make a new view, I need to create more views and so on...
Is their a more generic solution to this requirement? Is there any hook which can
1. change the link for photo galleries
2. change the primary image specifically for photo galleries

Any pointers are welcome.

Thanks
suchi

Comments

james.williams’s picture

Project: Reply » Views (for Drupal 7)
Version: 7.x-1.x-dev » 7.x-3.x-dev

Sorry, I'm not sure your question is related to the Reply module is it? I'm moving your support request to the Views issue queue, since I believe that may be the best place for people to provide help for your situation.

gargsuchi’s picture

@james.williams - Sorry I did not plan to post it in Reply issue queue. Thanks for fixing.

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)