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.

Tokens, again...

Featured Replies

I still have a problem with tokens and would appreciate some help.

I have a URL to a page that contains the token, -token.1=categoryname. On the following page is a field that's used to display the contents of the token, [FMP-currenttoken:1]. This all works fine.

My problems start when I try to carry forward token 1 to the next page and collect token 2, -token.2=[FMP-field tongue.gifroductcategories: tongue.gifroducttype] from this page. The entire URL looks like this:

<a href="[FMP-link:dlrfsktma]-db=manufacturerindex.fp5&-lay=table&-format=manulist.htm&producttypename=[fmp-field tongue.gifroducttypejoin: tongue.gifroducttypename]&manufacturerfinished=1&-sortfie ld=manufacturername&-sortorder=descending&-token.1=[fmp-currenttoken:1]&-token.2=[fmp-field tongue.gifroducttypejoin: tongue.gifroducttypename]&-max=10&-find">

The third page has a request to display both tokens on the page:

[FMP-currenttoken:1]>[FMP-currenttoken:2]

The contents of the first token are returned but not the second. If I remove the second token this comes back - but the two won't work together even though the URL shows them.

All of the pages are originated via URLs. Do I need to put some further code on the page to access these tokens?

many thanks

Gary

Is the field used for the second token on the specified layout "table"?

  • Author

Sorry Vaughan, I've been away.

I've cracked it now anyway. I forgot to add

<input type="hidden" name="token.0" value="[fmp-currenttoken:0]">

to the page my url was directed at and on which [fmp-currenttoken:0] was sitting.

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.