It would be great that when Commons Activity Streams feature is disabled (and Commons Profile feature is still enabled) View profile tab could be hidden and user/%user/about
configured as default landing profile tab for user/%user
page.
Currently when you disable Commons Activity Streams feature you end up with blank View profile tab which is also default profile tab.
I know this sounds like a feature request, but IMHO it is more bugish thing. ;)
JFTR, #1341172: Commons_profile menu alter belongs in Commons_status_streams issue should be fixed before this one..
P.S.
Could this be overridden in custom module with mymodule_profile_menu_alter()
function maybe?
Comment | File | Size | Author |
---|---|---|---|
#6 | 1464226-streams-disabled-fallback.patch | 1.8 KB | ezra-g |
#5 | commons-1464226-5.jpg | 76.07 KB | ezra-g |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedI agree that this is not well constructed.
The blank user profile page is because we do:
Instead, this could be a theme function that returns '' by default, or this override could be based on a variable. Or, if the output makes sense we could check for whether commons_status_streams() is enabled and only override the content array.
Comment #2
FrancoisL CreditAttribution: FrancoisL commentedHello is there a way to place "activity stream" not as a home page but just another tab. I'd like to have for example About as Profile home page.
Thanks
Comment #3
Roger34 CreditAttribution: Roger34 commentedI am not sure why nobody answers to the question on how to change the default tab? I asked the same question at two other places and no one seems to bother to answer. I also want About as profile home page to be default. Is it that we have to sign up for acquia subscription to get an answer to this?
Comment #4
ezra-g CreditAttribution: ezra-g commentedTagging this for attention before the 2.8 release.
Comment #5
ezra-g CreditAttribution: ezra-g commentedThis patch implements a fallback for the user profile page so that it appears as shown in this screenshot when Commons_status_streams are disabled.
This patch sets #access to false on user profile fields that we want to hide, rather than just unsetting them as was previously done, which makes it possible for developers to unhide and generally work with the fields if they wish to.
@FrancoisL, That sounds like a great idea for a feature request - Please open a new issue for this.
@Roger34, Any chance you can review this patch and see if it meets your needs?
Comment #6
ezra-g CreditAttribution: ezra-g commentedComment #7
ezra-g CreditAttribution: ezra-g commentedThis is committed: http://drupalcode.org/project/commons.git/commit/bdd4771 .
Comment #8
ezra-g CreditAttribution: ezra-g commentedComment #9
Roger34 CreditAttribution: Roger34 commentedSorry No. I performed the patch, it did not make any difference to me. I wanted 'About' as the default while viewing Profile. If you tell me how to make this happen I would appreciate.In the primary links, I removed 'Home' and have 'Profile' first, I want to make Profile as the default front page. When a user sign in, I want him/her to immediately see the 'About' page on Profile menu as default. There is a great deficiency in the customization flexibility of the tabs, or atleast I am ignorant of how this can be achieved. For example, I want a tab named 'My work' where the person can elaborate about his/her research/work activity with images. if any (which is beyond the scope of 'about' tab which is more or less a resume). In addition, I may want to rename Bookmarks to 'My Links'. These things can easily be done with Menus, but I am not sure how to alter the user-specific tabs.
An unrelated issue is the extensive use of userid across the CMS. I tried to use realname module, but it did not convert userid to realname in most places. In addition user-specific URLs also use user id, though I would prefer a combination of first name and the uniqueid (for e.g. why not use the format: example.com/users/firstname-uniqueid instead of example.com/users/userid). I think, username should not be visible to anyone.
Thank you for your attention.
Comment #10
jsibley CreditAttribution: jsibley commentedNot sure if this is the best place for this suggestion, but there have been previous requests for "my profile" to show the profile rather than the current default elsewhere, without any useful suggestions (that I have seen).
I finally went to the menu and created a new item called "edit my profile" and put it under "my stuff". It may be necessary to install the me module to create a useable path for this.
I then renamed the menu item "my profile" to "my user page", which seems more accurate.
Hope this helps someone.
Comment #12
40Widget CreditAttribution: 40Widget commentedHi,
Did you ever figure this out? I have been wracking my brain to get it done and cannot figure it out.
Comment #13
ericpoirier CreditAttribution: ericpoirier commentedHi guys,
This is exactly what I'm looking to do, but I can't find the solution to this... Any help would be apreciated.
Thanks,
Eric