Tigerstrike Posted March 26, 2004 Posted March 26, 2004 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
Garry Claridge Posted March 26, 2004 Posted March 26, 2004 Try this: <A HREF="http://[FMP-Field: Website, raw]">[FMP-FIELD: Website]</A Good Luck. Garry
Steve T. Posted March 28, 2004 Posted March 28, 2004 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
Tigerstrike Posted April 1, 2004 Author Posted April 1, 2004 Gary, Thank you so much, worked like a champ! Cheers mate! Tigerstrike
Recommended Posts
This topic is 7533 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now