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.
If I use the commons browsing widget and filter to view just posts, then the comment and follow buttons vanish. The desired appearance is exemplified by using commons BW to show all content. In that case posts appear with comment and follow buttons beneath the teaser.
I see this with RC2 from this morning (and previous dev versions I have checked)
Here is what a post should look like:
And here is how a post appears when other non-posts are filtered out:
Comment | File | Size | Author |
---|---|---|---|
#2 | Groups_detail_-_all_-_refineby_opened_-_hover.png | 73.83 KB | ezra-g |
Comments
Comment #1
japerryTagging radar, I'm hoping its just something missing from a view display :-)
Comment #2
ezra-g CreditAttribution: ezra-g commentedI believe it is by design that the follow and small comment buttons don't appear in teaser views . @behoppe333 can you share why you believe they should appear?
We're actually missing the "call to action' buttons from the designs. I suspect this probably isn't necessarily a 3.3 radar issue.
Comment #3
behoppe333 CreditAttribution: behoppe333 commentedThanks japerry and ezra-g
I sense some disconnect between me and ezra-g --- mostly because the illustration in #2 is exactly what I want, and the reality of rc2 is so different from that. [Edit: After re-reading ezra-g in #2, I think what I am saying is "yes please add the call to action buttons that are in your designs, and make that a 3.3 radar issue"]
Here are some miscellaneous other related bits
I hope this helps
Comment #4
behoppe333 CreditAttribution: behoppe333 commentedChanging back to active
Comment #5
ezra-g CreditAttribution: ezra-g commentedThanks for that feedback. Since this is not a regression and we're close to the release target, I'm removing from the 3.3 radar.
Let's consider this for 3.4.
Comment #6
Devin Carlson CreditAttribution: Devin Carlson commentedA patch to add links to node teasers inside of the browsing widget for Documents, Polls and Posts. Update functions are included to revert the BW views for each Commons module associated with the content type.
Comment #7
Devin Carlson CreditAttribution: Devin Carlson commentedScreenshots of the issue: links are displayed for nodes in the commons_bw_all view but not for the individual commons_bw_* (posts, documents, polls, etc). For consistency, links should either be displayed in all of the browsing widget views or in none of them.
Links are displayed in the "all" tab of the browsing widget:
Links aren't displayed in the "posts" tab of the browsing widget:
Comment #8
ezra-g CreditAttribution: ezra-g commentedI believe that the correct state is "needs work" per #2.
Comment #9
behoppe333 CreditAttribution: behoppe333 commentedThanks for posting patch, Devin Carlson.
I know very little about git, and so before I learn how to apply a patch, can you please confirm that I should be able to apply the patch in #6 to the 7.x-3.3 release (i.e., not 3.x-dev)?
Comment #10
ezra-g CreditAttribution: ezra-g commentedRealistically, I think we'll address this post 3.4.
Comment #11
charlie charles CreditAttribution: charlie charles commentedHi ezra-g
I've been try do the same as you
adding the name under the user picture.
But when I add the $name if float to the right
instead of the left
What I've done is
1.Copy the node.tpl.php
2.Found the template I wanted to edit using Devel Themer
2.renamed node.tpl.php to node--view--commons-events-upcoming-events.tpl.php
3.Added the
print $name;
as shown belowBut the name float to the right instead of the left
even through it's in the same DIV as
print $user_picture;
Many Thanks for your help
Comment #12
charlie charles CreditAttribution: charlie charles commentedIt's ok I figured out how to do it using panelizer! :)
Comment #13
WebSinPat CreditAttribution: WebSinPat commentedI accidentally submitted a dupe of this issue #2159333: browsing widget does not display node-action-links when you click on the "posts" tab
but end result being that we got a patch and commit over there!
@behoppe333
The patch in that issue at https://drupal.org/comment/8299529#comment-8299529 works for me on my production commons3.3 site. (I would recommend using that one instead of the one in this thread since that one is committed, and i think this one has a typo in it.)
if you still need help figuring out how to apply the patch, here's what I did. assuming you have a command line to work with
Also, I agree with the points raised by @behoppe333 in #2, regarding some thoughts on the usefulness of the links provided per content type.
EDIT: perhaps we should close this as fixed per the commit in the other issue, and open a new feature request for getting some more action links? and the added info provided in @ezra-g's theme/screenshot above?
Comment #14
Devin Carlson CreditAttribution: Devin Carlson commentedRetitling based on #2, since the inconsistent display of node links was addressed in #2159333: browsing widget does not display node-action-links when you click on the "posts" tab.
Comment #15
Devin Carlson CreditAttribution: Devin Carlson commentedComment #16
rosemeria CreditAttribution: rosemeria commentedHi Devin
FYI - Adding "Green Action Buttons" to BW teaser view should take care of this issue item too.
Issue concerning Q&A teaser node:
Question full node has action button, but should be on teaser view
These action buttons will greatly enhance the users experience with Commons' activity streams. Thanks for looking into this theming feature.
Comment #17
rosemeria CreditAttribution: rosemeria commented"call to action" buttons for 3.14...
Pretty please