May 10, 201213 yr 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
May 10, 201213 yr Automatic message This topic has been moved from "The Presentation Layer → Layouts" to "FileMaker and WEB 2.0 Technology → Publishing FileMaker Online → Instant Web Publishing [iWP]".
May 22, 201213 yr Try this in your script: If ( PatternCount ( Get ( ApplicationVersion ) ; "web" ) > 0 This will be true when the user is connected via IWP.
May 28, 201213 yr 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???
May 28, 201213 yr IWP is restricted to classic theme - please read the documentation regarding IWP. It's installed with your software.
August 23, 201213 yr 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.
September 21, 201213 yr 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.
November 4, 201312 yr 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
November 4, 201312 yr 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.
November 5, 201312 yr 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 !
Create an account or sign in to comment