Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Custom CSS - display small icon only?

Featured Replies

Hi,

I'm trying to work SuperContainer into a FM list view, and I'd like it to snow a small (15 x 15 px, maybe?) icon if there is a file uploaded for that record, and nothing if there is not.

Can anyone help with this?

Thanks!

I don't believe you need to customize the CSS:

This URL will display just the image ( and you can specify a different height ) or a file icon if it's not an image file.

"http://fmdemo.360works.com/SuperContainer/Files/360Demo/2?style=listview+noapplet+notitle&height=64"

In the case when you need to show a specific image if a file has been uploaded, I think using a combination of the SuperContainer Companion plugin and a calculated container field would work. You would primarily use the SCGetInfo function.

Please let me know if you need more information.

  • Author

I'll give it a shot, thanks!

  • Author

That seems to do the trick, thanks!

  • Author

I don't believe you need to customize the CSS:

This URL will display just the image ( and you can specify a different height ) or a file icon if it's not an image file.

"http://fmdemo.360works.com/SuperContainer/Files/360Demo/2?style=listview+noapplet+notitle&height=64"

In the case when you need to show a specific image if a file has been uploaded, I think using a combination of the SuperContainer Companion plugin and a calculated container field would work. You would primarily use the SCGetInfo function.

Please let me know if you need more information.

If I use this URL:

"http://myIPaddress/SuperContainer/Files/Jobs/1786?style=listview+noapplet+left+notitle&height=64&width=64"

It shows the icon just fine, but there is a buffer to the left that I'd like to get rid of, so the icon is as far up and to the left as possible. Here's how it is now:

margin.jpg

Can this be done?

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.