Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

One Layout Header/footer to rule them all...


This topic is 4898 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Filemaker Pro 11 Advanced

Filemaker Pro 10 Server

Windows 7 Pro

Any time I need to change the navigation buttons on my database, I end editing one layout header part and then copying and pasting it to every other similar header part. It gets tiresome. There has to be a way make changes in one place globally and display those buttons on every header part where it's appropriate.

I imagine it would use a portal, but there may better ways.

Is there any example solution out there that I could use as a template?

Posted

Again - Thanks! This partly solves my needs. However, some of my navigation uses scripts that automate some housekeeping before getting to the actual layout. I do not see a way to "show donations made in the last thirty days", for instance.
Posted

The article is just a jumping-off point. I use a similar setup mainly to make it easy to swap the icons in and out. Each button calls the main navigation script with a parameter, which could be a simple 1, 2, 3 (e.g. based on the repetition number) or could be something more descriptive ("show donations").

Set Variable( $param ; Get( ScriptParameter ) )

If( IsEmpty( $param ))

do something

Else If( $param = 1)

do something else

Else If( $param = "whatever" )

do whatever

etc.

The something/whatever could be a Go to Layout, or Perform script, or any series of steps.

Another approach would be to simply have each button call its own script. Nothing wrong with that.

Posted

The article is just a jumping-off point. ...

The something/whatever could be a Go to Layout, or Perform script, or any series of steps.

Another approach would be to simply have each button call its own script. Nothing wrong with that.

Thank you!

Actually, I'd already set up the buttons to use navigation scripts.

With either method, if you change the physical placement of buttons on one layout, you still end up having to redo all layouts.

It would be nice if there were a global header/footer 'template' that could be made to show/hide depending on roles, permissions, layout, etc. I guess we're not there yet.

Thank you for helping though.

This topic is 4898 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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