Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I recently had to "theme" the output from this module/views plugin, but found it was extremely difficult given how hardcoded the majority of the output is.
While the patch I'm about to attach does refactor quite a bit and add a lot of new features, I was extremely careful to not break any existing options/logic. I also fix/added a lot of documentation around the code so it should be easy to follow along with the changes.
Comment | File | Size | Author |
---|---|---|---|
#2 | plugin_hardcodes_a_lot-2664344-2.patch | 27.95 KB | markhalliwell |
Comments
Comment #2
markhalliwellComment #3
ElusiveMind CreditAttribution: ElusiveMind commentedThank you so much for the Patch! I appreciate it honestly.
I am going to be reviewing modules likely in about a week as I work through a backlog of module updates and regular work. I just wanted to let you know this module is squarely on my radar.
Comment #4
markhalliwellMy pleasure :D
It's an interesting module to say the least and I'm still trying to figure out how to get this output to show up in the exposed filters area. I will probably have to do something more on a custom level in the theme.
Also, please excuse my lack of tense and words above, I'm really tired lol
Comment #5
ElusiveMind CreditAttribution: ElusiveMind commentedI have put this in github prior to deployment here. It is branch 2664344
Can you check this out and make sure it is working as well for you? I am going to be doing some testing on this as well.
https://github.com/ElusiveMind/alpha_pagination/tree/2664344
Comment #6
ElusiveMind CreditAttribution: ElusiveMind commentedWith the amount of re-factoring in this, I am thinking we should brand this as v2.0. It looks like it has potential to break a lot of 1.0 current workings.
I need to do more testing.
Comment #7
ElusiveMind CreditAttribution: ElusiveMind commentedWhat do you think about some default values and a sample style sheet for these?
Comment #8
markhalliwellAs I stated above, I refactored it in a way that prevented any BC breakage. However, the call is completely up to you. I just posted the patch in an effort to give themers better control of the output.
Comment #9
ElusiveMind CreditAttribution: ElusiveMind commentedComment #11
ElusiveMind CreditAttribution: ElusiveMind commentedGoing into 7.x-1.3
Comment #12
ElusiveMind CreditAttribution: ElusiveMind commented