Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I published my filemaker database to the web, however I get the error when trying to access it "layout must be in classic format"

How do I write a script that changes my database to a classic layout i've created when logging in from the web?

I also have ipad/iphone versions and they switch to those layouts on entry.

Thanks

Matt

  • 2 weeks later...
Posted

Try this in your script:

If ( PatternCount ( Get ( ApplicationVersion ) ; "web" ) > 0

This will be true when the user is connected via IWP.

Posted

I have the same problem. A database that I created will not open, "layout must be in classic format." So I set up a Main Menu in Classic Theme, set File Options to "Switch to Layout" to the classic Main Menu, set my Opening Script to go to the classic main menu, still get the error.

So I set up a new database, classic theme, works fine. I even pasted my main menu items into it (still classic theme) works fine.

Duplicated that layout, set it to Electric theme (but it opens on classic theme layout) works great.

Why won't my other database open in IWP? Any ideas???

Posted

IWP is restricted to classic theme - please read the documentation regarding IWP. It's installed with your software.

  • Like 1
  • 2 months later...
Posted

You can avoid the error message associated with custom themed layouts if you use a script using Set Error Capture [On] before changing layouts. Not all of the fonts and stylized items will translate well in a web browser so you will need to make additional changes for it to look nice.

  • 5 weeks later...
Posted

I had to change every single layout in my database to classic then design the layout manually. I was very disappointed to learn only after hours of work that the themed layouts do not work with IWP. I hope this gets resolved with an upgrade.

  • 1 year later...
Posted

I published my filemaker database to the web, however I get the error when trying to access it "layout must be in classic format"

How do I write a script that changes my database to a classic layout i've created when logging in from the web?

I also have ipad/iphone versions and they switch to those layouts on entry.

Thanks

Matt

I noticed that nobody answered to how to choose a different layout on the opening script according to iphone, ipad or PC version (very different screen sizes...).

I tried with several get functions but they seems not to report correctly on the web browser.

Anybody with a solution ?

 

To contribute, I report this:

http://www.creative-networks.de/en/iwp-page-optimization-for-mobile-devices/

 

Trevix

Posted

I'd be looking at the Get(ScreenHeight) and Get(ScreenWidth) functions to work out which layout to move to...

 

Which may or may not work...

 

For anything serious, I would still be using CWP.

Posted

It dose not. Somehow both on the iphone and on the iPad it report 640 on the screenWidth and on the desktop width.

It works on the desktop computer tough.

I tried other get funcions but it looks like the IWP does not distinguish iPhone from iPad.

Weird !

This topic is 4104 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.