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.

CDML Question - Macintosh User

Featured Replies

Hi all,

My 1st post, here's hoping someone out there can help.

I still use Claris HomePage to do my CDML coding (remember HomePage Mac users?) because I'm not all that good at CDML/HTML. I have a solution which uses a text field to store website addresses (ie: www.apple.com). There's a piece of CDML coding which then makes this a clickable link on my webpage, the CDML looks like this:

<A HREF="http://[FMP-Field: Website, url]">[FMP-FIELD: Website]</A>

This works great for "generic" websites, ie: www.apple.com - the problem is when I try to use a more direct/detailed link, ie: www.apple.com/itunes.html. The CDML above likes to add a backslash to the end of the URL, so that www.apple.com/itunes.html becomes www.apple.com/itunes.html/. This makes the link non-functional (it thinks it's looking for a server, rather than an actual page).

Is there any way I can fix the CDML above so that it doesn't add the / at the back of the links? Or, is there some other way to code this so it'll do the same thing?

Hope I didn't leave out any important details. Any help will be HUGELY appreciated.

Cheers,

Tigerstrike

Version: v6.x

Platform: Mac OS X Panther

Try this:

<A HREF="http://[FMP-Field: Website, raw]">[FMP-FIELD: Website]</A

Good Luck.

Garry

Hi, Tigerstrike! Hmm... in our solutions, we store the http:// with the URL and don't have any problems but Gary's encoding tip should get you going, too.

--ST

  • Author

Gary,

Thank you so much, worked like a champ!

Cheers mate!

Tigerstrike

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.