Jump to content

This topic is 8121 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

This is almost a follow on, or a repeat of the thread "Instant web publishing vs. custom web publishing". I've read through all of that in detail, and it helped a bit, but I'm still not quite getting it.

I have IWP working perfectly, but need more functionality. I have a fairly good understanding of FM, and know HTML well, but have never used CDML.

I'm also working on a PC, windows XP.

Can anyone give me some 'steps' to follow or something to get it working?

I have used the CDML tool to make a few file, but I'm not sure what to save them as, in my web folder. Just a htm file? They're default saving as a cfm file, but that doesn't seem to work anyway.

I need to have a file that 'begins' it right? With a link into the database. What does that link need to be?

I have a page sort of up there, but in the fields it shows "[FMP-Field: _SUB subject name]" instead of whats in that field. What am I doing wrong?

These are just a few examples of what I'm not getting right, I just need a push in the basic direction, and I can play from there.

Thanks!

Jo

Posted

Re: it shows "[FMP-Field: _SUB subject name]"

Jo,

A reasos why this may be occuring is that the Format file has not have been processed by WebCompanion first; i.e. it has not been called by a URL looking like this:

"http://localhost/FMP?-db=mydb.fp5&-lay=web&-format=myfile.html&-view"

or a similar Form.

Hope this helps.

Garry

Posted

hi

you should try to get and use the "cdml reference.db". there you will find

some basics about cdml and how to use the tags. it is not the best. but....

you can safe your files as htm/html.

cfm stands for coldfusion as i know.

a link pointing to a database could look like this:

<a href="fmpro?-db=mydata.fm&-lay=anylayout&-format=anyformatfile.html&-view">show me something</a>

what you have to include in the link is:

fmpro?-db= here you have to insert the db's name

&-lay= here you have to insert a name of an existing layout in the same db

&-format= any format file. including: html, javascript, cdml-tags, etc.

&-view, or &-find, or &-new, etc. just anyone of the "action tags"

-------------

I have a page sort of up there, but in the fields it shows "[FMP-Field: _SUB

subject name]" instead of whats in that field. What am I doing wrong?

you should avoid using spaces in the field's name. so instead of:

[FMP-Field: _SUB subject name] it becomes [fmp-field:SUBsubjectname]

i hope this will help you a little

mimmo

This topic is 8121 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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