Removing borders on tables?

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
6/12/2013 3:33:41 PM
Gravatar
Total Posts 2239

Re: Removing borders on tables?

Hi,

Click the settings link next to that instance of Shared Files. On the settings page, you will options for showing the different columns. You can uncheck any of these that you do not want to show.

To remove the borders, add the following to your CSS:

.FileManager_table table td { border: 0; }

To remove the table header row, add the following to your CSS:

.FileManager_table table tr:first-child { display: none; }

Once you upgrade, you can go even further and the following to your theme.skin file (located in your skin directory) which will apply to all of the Shared File instances on your site:

<%@ Register Namespace="mojoPortal.Web.SharedFilesUI" Assembly="mojoPortal.Features.UI" TagPrefix="sf" %>

<sf:SharedFilesDisplaySettings runat="server"
      HideDescription="true"
      HideSize="true"
      HideDownloadCount="true"
      HideModified="true"
      HideUploadedBy="true"
      HideFirstColumnIfNotEditable="true"
/>

Again, I highly suggest you upgrade. The version you are running is very old and possibly has security vulnerabilities.

HTH,
Joe D.

6/12/2013 3:46:46 PM
Gravatar
Total Posts 17

Re: Removing borders on tables?

Joe,

THANKS!! That's perfect. Got rid of the borders.

Once last thing and I'll be out of your hair.

I tried clicking on the settings link (little gears icon) on top of the table, which took me to the "Feature Instance Settings" page, but I don't see anywhere to modify the columns.

These are the three tabs I have on the Feature Instance Settings page:

Shared File Settings

          Keep File History?:  (checkbox)

General
          Feature: Shared Files
          Feature Instance Title:
          Show Title?
          Hide From Authenticated Users?
          Hide From Anonymous Users?
          Available For MyPage?
          Allow Multiple Instances On MyPage?
          Icon:

Security

         (About 20 checkboxes)

6/12/2013 3:55:45 PM
Gravatar
Total Posts 2239

Re: Removing borders on tables?

Looks like another reason to upgrade. Apparently those options weren't available in 2.3.1.7.

Thanks,
Joe D.

6/12/2013 5:02:26 PM
Gravatar
Total Posts 18439

Re: Removing borders on tables?

Hi,

While I agree with Joe D that upgrading would be great. I would caution that it depends on the history of the site. Did a previous developer build custom features or modify the mojoPortal source code? If you're sure the answer is no then I would go for the upgrade but of course backup the site files and the database first so you can restore it exactly as it was if something goes wrong. As long as it is a standard deployment of mojoPortal the upgrade system should be pretty smooth.

You would also want to review all the release announcement blog posts between your current version and the latest to know what changes to expect as well as the Important Skin Changes article. Also note that we dropped support for sql 2000 as of version 2.3.4.8 so unless your database is sql 2005 with all service paks or higher then you will not be able to upgrade.

So upgrading a site that old requires a bit of caution and information.

Best,

Joe

6/13/2013 2:02:17 AM
Gravatar
Total Posts 17

Re: Removing borders on tables?

Thanks guys for all your help.

I recently took over the Web Developer position here, so I am unsure as to what changes, if any, the previous developer did to the site.

I think I'll stay away from upgrading.

So, no other recommendations for removing the column data?

I guess I'll just have to hunt through the files until I find the output code that displays it.

6/13/2013 10:53:54 AM
Gravatar
Total Posts 18439

Re: Removing borders on tables?

I generally don't recommend anyone to modify any mojoPortal files. But if you're not going to upgrade and you want to try to modify your current copy, the file to modify in this case is /SharedFiles/SharedFilesModule.ascx

​You "may" be able to remove some things without causing errors though you definitely could break it if you remove things it expects to be there. Be sure to backup the file before making any attempt.

Hope that helps,

Joe

6/13/2013 12:49:14 PM
Gravatar
Total Posts 17

Re: Removing borders on tables?

Got it all fixed.

Great support guys, thanks so much.

You must sign in to post in the forums. This thread is closed to new posts.