William Jeansonne
Customers
Post Count:24
 |
| 12 Dec 2010 02:50 PM |
|
I simply want to rearrange two of the tabs, so the Info is first in the line up on the user Profile page (view and edit). However, for the life of me, I can't see where they are defined in the templates or CSS files.
Thanks,
Will
|
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
| 12 Dec 2010 10:18 PM |
|
The tabs are stored in the "profileviewtabs.config" file in the folder : /DesktopModules/ActiveSocial/config. 1. Copy the file to /Portals/{PortalId}/activesocial/ so that upgrades don't overwrite your changes. 2. Move complete sections of a tab from Bear in mind. When you move the "info" tab to be the first tab loaded, you won't get the journal tools loaded with "info". They will only load on the activity tab. Unless something has recently changed.
|
|
Cheers! Jeff
@northeastok | @jeffblanks | My Blog |
|
|
Jeff Blanks
Customers
Post Count:387
 |
|
William Jeansonne
Customers
Post Count:24
 |
| 12 Dec 2010 11:01 PM |
|
Thanks, Jeff! Much appreciated. Will |
|
|
|
|
William Jeansonne
Customers
Post Count:24
 |
| 13 Dec 2010 02:58 PM |
|
Jeff, It breaks the Social Members List by rearranging the code for the Tabs. The Info tab does not show up under a member's profile when you view it from the Social Member directory listing and the none of the other tabs work as well. Will |
|
|
|
|
William Jeansonne
Customers
Post Count:24
 |
| 13 Dec 2010 03:07 PM |
|
I can see the Info tab as a administrator or SuperUser after re-arranging the Profile tabs, but I can't see it as a registered member. Any clue? Will |
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
| 13 Dec 2010 06:14 PM |
|
Try removing the permissions on the info tab to make it look like this: permissions=""
I haven't fully tested, but I think that will set the info tab to be visible based on what the user specifies in their profile settings.
|
|
Cheers! Jeff
@northeastok | @jeffblanks | My Blog |
|
|
William Jeansonne
Customers
Post Count:24
 |
| 13 Dec 2010 09:14 PM |
|
Yep! Thanks. Just did it and it fixed it. Will |
|
|
|
|
Patrick
Registered Users
Post Count:87
 |
| 12 Dec 2011 04:09 PM |
|
Hi Jeff.
So does AS automatically refer to any .config files found in the portal root, hence overriding any that are found within the DesktopModules folder?
Thank you for your continued input.
- Patrick |
|
|
|
|
Ben - DotNetNuke
DotNetNuke Staff
Post Count:1645
 |
| 12 Dec 2011 04:40 PM |
|
Yes, it does. |
|
|
|
|
Jeff Blanks
Customers
Post Count:387
 |
| 12 Dec 2011 07:30 PM |
|
With except to the tokens.config. if you do any changes in that. In regards to that file. Here's what I do: 1. Duplicate the file to tokens.copy.config or similar 2. Make my changes to tokens.config 3. Duplicate the file again and rename to tokens.bak.config This way on on any module update, the file gets overwritten, but you have the original prior to update, and also your backed up changes. Then you can use a tool such as winmerge to review new changes from original to new, and new changes from your file to new. I actually use this type of process for other modules and core DNN files. But keep in mind, if you do a lot of updates, can be very time consuming, but at least you can track your work. |
|
Cheers! Jeff
@northeastok | @jeffblanks | My Blog |
|
|
Joseph
Customers
Post Count:16
 |
| 29 Jan 2012 09:20 PM |
|
Posted By Jeff Blanks on 12 Dec 2011 08:30 PM
With except to the tokens.config. if you do any changes in that.
In regards to that file. Here's what I do:
1. Duplicate the file to tokens.copy.config or similar 2. Make my changes to tokens.config 3. Duplicate the file again and rename to tokens.bak.config
This way on on any module update, the file gets overwritten, but you have the original prior to update, and also your backed up changes. Then you can use a tool such as winmerge to review new changes from original to new, and new changes from your file to new. I actually use this type of process for other modules and core DNN files. But keep in mind, if you do a lot of updates, can be very time consuming, but at least you can track your work.
Might I suggest this? 1. Duplicate the file to tokens.config.vanilla or similar 2. Make my changes to tokens.config 3. Duplicate the file again and rename to tokens.config.bak When I want to have a backup of a  default file I try to use "vanilla" in the name so I know that it is a backup of a file that was delivered by the vendor. Then I use "bak" so I know that's a backup of a customized file. |
|
|
|
|