Jump to content

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

Recommended Posts

Posted

I have a page at http://24.226.84.43/Queens_Ed_registration/pages/aq_new.htm that currently works fine as a static front end for a database.

In order to make my popups work, I gather that I must access it through FMPro using the format: http://www.domain.com/?FMPro-db=name&-lay=layout&-format=filename.htm&-view

In this case, that would translate to http://24.226.84.43/?FMPro-db=aq_online.fp5&-lay=devAllFields&-format=Queens_Ed_registration/pages/aq_new.htm&-view

This (and a billion or so futile variants) simply takes me to an Instant Web Publishing Directory. If I turn off Instant Web in Preferences, I get a "Not Implemented..." error.

What am I missing here?

Posted

"What am I missing here?"

It could be that IWP is pretty much wysiwyg.

Or it could be that you need to designate the folder in which the db's are stored. On your html page when you wish to access FileMaker, you could try a link action e.g.:P

<a href="dbfoldername/?FMPro-db=name.fp5&-lay=layout&-format=filename.htm&-view">

or, this line using a form action:

<form action="dbfoldername/fmpro" method="post">

Posted

Thanks, Keith. I don't understand your reply. I want to avoid IWP but keep getting popped into it.

My real aim, here, is to put together a dynamic form for data input with popups that draw from value lists in the database. The IWP thing is just one more hurdle as I try to make the dratted thing work.

I'm not sure what the folders you refer to are for--please explain.

Posted

Turn IWP off in the Web Companion config. Do it now. Go on, I'll wait. <g>

You don't want to start by making a new record: it'll be empty and you'll end up with a lot of empty records in the database as people keep accessing the link. Also, as suggested above, put the path to the format files first, then the CDML codes. Use the -View action tag, or -FindAny if you want to force authentication.

The link should look ike this:

http://24.226.84.43/Queens_Ed_registration/pages/?FMPro-db=aq_online.fp5&-lay=devAllFields&-format=aq_new.htm&-view

You might want to add the -error file in too but it'll prolly work without it. However the error file will let you display the errors beter for debugging.

If this doesn't work then you have some deeper problem.

Posted

Good, good. We're getting there. This takes me to my default page. Clicking on the link there <a HREF="aq_new.htm"> takes me to the new record page but the popup is still dead.

Is there something I should add to this link?

Sorry to seem so dense--I have tried to read and comprehend the CDML Reference but I get just so far and then something doesn't work and I'm stuck. Over and over. One can never underestimate the value of excellent documentation.

Thanks again

Doug

Posted

"I want to avoid IWP but keep getting popped into it."

Ah, yes. I meant to mention that. The way to avoid IWP is with CWP (custom web publishing). With Cwp you write your own html files. You add cdml (Claris Dynamic Markup Language) tags to you html file. This makes it a format file.

If you do not have the cdml reference database you can get it from FileMaker. An address has been posted somewhere on these forums, or someone else can give it to you.

There are many books, classes and tutorials available to help you should you so choose. There are also some issues with web publishing of which you need to be aware. To find out about ScriptMaker you can refer to my website as well as searching Fileville for its many threads. To find out about some security issues you would be well advised to read this thread:

http://www.fmforums.com/threads/showthreaded.php?Cat=&Board=UBB21&Number=19032&Search=true&Forum=UBB21&Words=chazboi&Match=Username&Searchpage=0&Limit=25&Old=1year&Main=19032.

Don't be in too much of a rush. There is a heckalot to learn.

Posted

From what I can see it's all working except for the pop-up list. Don't worry these are hard to get right.

You page has this code:

<select name="term_1">[FMP-ValueList: term_1, LIST=termList]&nbsp;<option value="Custom=[FMP-ValueListItem]">[FMP-ValueListItem]

[/FMP-ValueList]&nbsp;</select>

Try replacing it with this code:

<select name="term_1">[FMP-Option: term_1, LIST=termList]

</select>

Let me know how it turns out.

So far so good.

Posted

Thanks Vaughan,

Try replacing it with this code:

<select name="term_1">[FMP-Option: term_1, LIST=termList]

</select>

We're making progress, assuming that changing the error type is progress--at least something is happening. I no longer get code showing up in the popup, but get nothing instead--an empty button and a single empty row popping up. I have quadruple-checked and yes, there is such a field and yes, there is such a value list and both are spelled correctly.

An aside--my neice and her fianc

This topic is 8255 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.