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.

Link that opens in blank page and maintains find

Featured Replies

I hope I am asking this using the correct verbage. I cant quite figure out how to do the following...

Web page (CDML) that does a find. A found page is then displayed. That page contains some text from my FM database found record as well as a link( generated by the FM database). The link is to a external JPG file on a ftp server.

As it sits right now, that link is programed to open up the .jpg image in a new browser window. The only thing that gets displayed in that new browser window is the external image, no FM / CDML data. Here is what I can figure out how to do...I would like to include in that new browser window some of the text imformation that is in the found FM record. But when I put in the CDML all that gets showed, along with the image, is the CDML tags them selfs, not any of the actual text from FM. I cant quite figure out how to get that info passed to the new browser window.

Now of course I can get it to work if the link does not open a new browser window, but just links to a page within the same browser window. But I would like it to work in a new window. Can anyone point me in the right direction?

Larry

RE: I can figure out how to do...I would like to include in that new browser window some of the text imformation that is in the found FM record. But when I put in the CDML all that gets showed, along with the image, is the CDML tags them selfs, not any of the actual text from FM.

That page is *not* processed by WC.

Show us some of your code. You may need to use some Javascript, from the the initial find, to pass the data to the new window.

All the best.

Garry

  • 1 month later...
  • Author

using a standard form to do a search. All the usual tags such as:

-sort

-format

-error

-db

-find

You get the idea. Brings up a web page that shows my resutls. For example, it simulates a list view and shows the 54 records that match my find. On this web page with my results from my find, I want to put a print button that when clicked on, opens the same found results in a new web browser window, in a new HTML page. This page will be formatted differently to optimize the results for printing to a lser printer.

Cant quite figure out how to create a link that would pass on the same find results to a new page.

LR

You can try something like this:

<a href="[FMP-Link:r]&-format=myprintpage.html" target="_blank">Print</a>

Alternatively, you can use the Javascript "window.open()" function.

Hope this helps.

Garry

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.