Matthew R White Posted May 10, 2012 Posted May 10, 2012 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
Lee Smith Posted May 10, 2012 Posted May 10, 2012 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]".
LelandLong Posted May 22, 2012 Posted May 22, 2012 Try this in your script: If ( PatternCount ( Get ( ApplicationVersion ) ; "web" ) > 0 This will be true when the user is connected via IWP.
SoCalMacDude Posted May 28, 2012 Posted May 28, 2012 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???
IdealData Posted May 28, 2012 Posted May 28, 2012 IWP is restricted to classic theme - please read the documentation regarding IWP. It's installed with your software. 1
Matthew F Posted August 23, 2012 Posted August 23, 2012 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.
CandiceCM Posted September 21, 2012 Posted September 21, 2012 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.
trevix Posted November 4, 2013 Posted November 4, 2013 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
webko Posted November 4, 2013 Posted November 4, 2013 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.
trevix Posted November 5, 2013 Posted November 5, 2013 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 !
Recommended Posts
This topic is 4303 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 accountSign in
Already have an account? Sign in here.
Sign In Now