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

Skipping Records from a Portal

Featured Replies

Hi All,

I have multiple web pages that use an include to get data for a banner ad to place on the parent page. The banner ad data comes from a portal (there's more on the layout and it's a leftover from FX-PHP.)

I need to change the functionality so one web page can show multiple banner ads but in different places on the page. Similar to a forum that has some topics and then a banner ad, then more topics, and then another banner ad, etc.

Also, with the change, I'm hoping to have one include get the data from FM and another include echo it to the page.

I can get and show a set of ads all together with a foreach loop in a single include and I tried adding an array counter but am getting nothing back.

I'm just now getting my feet wet with FileMaker's PHP and am still pretty disoriented so I may be missing something simple but it's more likely something that I just haven't come to understand yet.

Any help is appreciated.

  • 2 weeks later...

I can get and show a set of ads all together with a foreach loop in a single include and I tried adding an array counter but am getting nothing back.

Code example?

foreach works on a copy so that may be the problem, but without seeing the code it's hard to grasp exactly what you're dooing

Create an account or sign in to comment

Important Information

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

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.