Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Widgets
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 May 2014 at 11:57 UTC
Updated:
20 Sep 2014 at 14:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
miromarchi commentedI add "ability to link images placed with image widget" as a related issue, since it is the same feature request but referred to image widget.
Comment #2
mglamanPatch to wrap image in a link, if link provided.
Comment #3
electroponix commentedI tried applying this patch to the latest "stable/non dev" version and it broke the site.
Is there a patch for the most recent version?
Comment #4
mglamanWow, fail on my part, sorry. There was a missing semicolon :/. Can you try this patch?
Comment #5
electroponix commentedStill breaking the site. Get the white screen and have to revert it for it to work again.
Comment #6
electroponix commentedI am on 7.1.11 Should I go to the dev version?
Comment #7
mglamanelectroponix can you check what the exact error is? Sorry I just quick-re-rolled patch for obvious error - didn't have error when first wrote patch (obviously goofed patch somehow, though.)
Comment #8
mglamanFixed up. I somehow patched/used the D6 syntax for l()? It's all correct now.
Comment #9
electroponix commentedThanks! Will try again. Sorry I didn't get bak on this sooner, lots of things in the cooker.
Comment #10
electroponix commentedIt worked. Thanks again. My designer is a happier camper. :)
Comment #11
mglamanAwesome! If it worked could you mark this issue as "Reviewed & Tested by the Community"? That way maintainers know it's a good to go fix!
Comment #12
electroponix commentedThe last patch works. One other suggestion is a toggle button on the spotlight to turn off the text link altogether.
Comment #13
dsnopek@electroponix: That's an interesting idea, thanks!
However, rather than adding more options to Spotlight, I'd like to suggest an alternative approach: currently, we're building the HTML for Spotlight widgets entirely in code in the
hook_field_formatter_view(). Let's move that to a theme function with a template, so that it'd be easy for themers to override and change how the spotlight is rendered. I've created a new issue for it: #2334041: Move rendering of Spotlight formatter into theme functionComment #14
dsnopekCommitted!