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.

Portal row highlighting in CSS

Featured Replies

Hi,

I am trying to find the CSS code to disable portal row highlighting. (Filemaker 12 adv)

(or change the highlight color)

 

I copied an empty portal (no fields) to the clipboard.

Loaded the clipboard into Textmate.

Than I can read the fmxmlsnippet of the Filemaker Portal

I can change borders, background color etc. (load it back into the clipboard and paste it into Filemaker -works-)

 

But I cannot find the way to disable the highlighting of the portal.

 

There is a line that references to the highlight color but that seems to do nothing when I change it.

 

Any ideas

 

Thanks

Henk

Rotterdam

Holland

FileMaker's official policy on mucking with the layout object CSS is, "Please don't do it." There's no telling how your tweaks will be treated by future versions. You may be able to achieve the same effect by the same sort of conditional formatting techniques for highlighting a selected portal row, which you can find by searching the forums.

  • Author

jbante,

Conditional formatting is greyed out with a selected portal. I'm using it for a horizontal portal set-up with only one row initiated for each portal. It's like a kind of single area unit where related fields can be displayed. (each single portal starts at a different initial row)

 

The only thing that annoys me is when clicking in the portal the portal (area) darkens (like selecting a portal row). The way to avoid this is covering up spaces around the fields used in/on the portal with invisible buttons (exit script function). But I have a lot of these single row horizontal portal areas on the layout so it would be a kind of a mess to cover up all those spaces.

 

It would be a cleaner/better option for me to change the CSS highlight color for the portal.

 

Thank you for answering.

 

Henk

Typically, portal row conditional formatting effects are achieved by a single object per portal [row] that lies underneath all the other objects in the portal. It doesn't have to be as hard as your description makes it sound. You might also consider formatting the fields to cover all the available space in each portal row.

 

Just applying a format to the portal would be simpler, but that isn't supported by FileMaker either by conditional formatting or CSS. (Here I mean supported both in the sense that it works, and in the sense that FileMaker Inc. will accept the blame if it doesn't work.) I believe the better option is the one that works, especially when compared to another option that is unsupported, discouraged, and even seems to not exist.

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.