Timeline for How to programmatically add a link to an image field in a view
Current License: CC BY-SA 3.0
31 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
2 days ago | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 16 at 5:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 17 at 3:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 17, 2023 at 21:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 15, 2023 at 22:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 16, 2023 at 1:04 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 11, 2022 at 1:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Aug 13, 2022 at 0:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Apr 9, 2022 at 9:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 30, 2021 at 18:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 31, 2021 at 14:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 31, 2021 at 21:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 28, 2020 at 22:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 28, 2020 at 12:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 26, 2020 at 9:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 27, 2019 at 6:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 27, 2019 at 10:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Mar 22, 2019 at 18:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 17, 2015 at 10:00 | answer | added | Pierre_C | timeline score: 0 | |
Dec 15, 2015 at 17:01 | comment | added | MrUpsidown | Alternatively you can also create a template for this specific field, or for the view itself. Look in the Theme information in your view (advanced => other => Theme: information) | |
Dec 15, 2015 at 17:00 | history | edited | Pierre_C | CC BY-SA 3.0 |
Added some more info to explain that the function is called
|
Dec 15, 2015 at 16:44 | comment | added | MrUpsidown | Probably not. You could maybe build your link there though. Anyway the preprocess should work too. Is the preprocess function called at all? | |
Dec 15, 2015 at 16:37 | comment | added | Pierre_C | @MrUpsidown: yes I do, but I don't think I may call my theme function which build the new link from there. Perhaps I'm wrong. | |
Dec 15, 2015 at 16:00 | comment | added | MrUpsidown | Don't you have access to the contextual filter value in the replacement patterns? | |
Dec 15, 2015 at 15:38 | comment | added | Pierre_C | @MrUpsidown: rewriting is not an option at least because I need to get/extract the contextual filter values that have been given as parameters to call this view. Then I insert other parameters like computed page number to build the new link for the image. | |
Dec 15, 2015 at 13:44 | comment | added | MrUpsidown | Why rewriting results is not an option? Is your view setup to show fields or content or anything else? | |
Dec 15, 2015 at 12:37 | comment | added | Pierre_C | Rewrite results does not let me what I want, I added more details as you suggested. | |
Dec 15, 2015 at 12:35 | history | edited | Pierre_C | CC BY-SA 3.0 |
Added more details about what I expect to do.
|
Dec 15, 2015 at 12:14 | answer | added | Pallavi Sugandhi | timeline score: 0 | |
Dec 15, 2015 at 11:08 | comment | added | Elin Y. | You can use the "Rewrite Results" option in the view configuration for the image field. If you extend your question with more details, I can post an answer how to do it. | |
Dec 15, 2015 at 10:48 | history | asked | Pierre_C | CC BY-SA 3.0 |