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.

generate layouts on the fly?

Featured Replies

I know this is a bit of a vague question, but is it possible to have filemaker generate layouts based on scripts?

The reason I ask is because I want to create a table called "preferences", and have the ability to turn certain elements on or off.

On a related note, is it possible to have a layout reference/include another layout? The best way I can think to explain this, is that, with mediawiki for example, you can create "template" pages which can then be included as part of other pages. This would also be handy for having a boilerplate header/footer.

AFAIK, the answer on both counts is "No."

To deal with multiple views of data, most answers I have seen rely on creating different layouts for different privilege sets. This is reasonable for simpler security environments, but obviously could get out of hand quickly with complex (or even moderately complex) systems. You can at least create a base layout, copy it, and modify it for the different needs.

As for boilerplate, I have tended to create templates for the main layouts in my apps, and then use those as starting points for the rest.

My own aesthetic is that most modules boil down to a single-line list view and a full record view; creating templates for these two layouts (complete with buttons that trigger generic scripts) speeds development immensely.

As an aside, if you're trying to create a web Content Management System, you might want to check out what's already written for PHP and MySQL/PostGreSQL; Drupal and e107 are two such packages.

David

  • Author

it's not for anything as glamorous as a web cms, it's just i want to make it as user-friendly as possible.

anyway, thanks for the tips

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.