Skip 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.

Showing records on default home page.

Featured Replies

Is it possible to populate a "default.htm" page with records from the database without appending Filemaker parameters to the URL? I am trying to set up default.htm to carry 5 of the latest news articles from a database called news.fp5. I have added an inline action into the file but it doesn't seem to be working "[FMP-InlineAction: -db=news.fp5, -lay=main, -sortfield=date, -sortorder=descending, -max=5, -findall][/FMP-InlineAction]" Maybe I'm putting the inline action in the wrong spot in the file? Or maybe I can't do this?

I'm just looking for to keep default.htm intact without having to redirect to a -find page or adding Filemaker parameters to the URL.

Thanks,

Mark Durgee

You can try replacing the browser "location" by adding a "full" URL in an "onload" action within the <body> tag.

A Meta Refresh may also be worth looking at.

Good Luck.

Garry

Hi, mdurg! Unfortunately, the Inline can only follow a previous FMP action so you're probably out of luck there. Garry's suggestions are probably best but you can also try to hide the URL using frames or masking (but I don't like it to that myself). Of course, this is (or was) the CDML forum, but you might be able to use some other technology to pull data from the database. I think I remember someone (Leb i Sol?) posting an article about "Clean URLs" on evolt.org somewhere that was an interesting read if you serve w/Apache (sorry, don't remember the thread).

If you find a good solution, please post it but I have not seen/heard of anyone being successful at not having stringy-URLs if that's what you're avoiding. I just use POST as much as possible. Hope it works out...

--ST

I know you're not using these technologies, but I just wanted to point out that you can do this without any work arounds (like meta refreshes, redirects, hidden frames, etc) if you were using a normal scripting language like Lasso, PHP, ASP, etc.

Mariano Peterson said:

I know you're not using these technologies, but I just wanted to point out that you can do this without any work arounds (like meta refreshes, redirects, hidden frames, etc) if you were using a normal scripting language like Lasso, PHP, ASP, etc.

Yep, and that was one of the 1st things to really irk me about CDML when I found that out and found myself staring at my source code instead of the data I expected... and the list of CDML shortcomings kept growing and growing, too. Still, if an innertube keeps you afloat before you have time to build a boat... (sigh) Oh, well, you're right, Mariano, you're right... I've now put the PHP manual in my favorites bar but thought I heard my semicolon key groan when I did. LOL!

--ST

Version: v5.x

Platform: Mac OS X Jaguar

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.