Good Morning Jeff,

Yes you are right on base, I think.  Which I must say is amazing.  I read my
original post...it was kind of hard to follow.  I guess I should proof read
my emails.

I think I am going to try changing the link references in the
admin/DatabaseLinks.cfm page.  If that doesn't work, I'll just delete the
whole PlumTutorials folder and start over again.  It's not like the practice
will hurt me.

One thing I do not understand.  How is the path able to work when the
folders have been deleted/renamed?  One more:  What is with the %20 stuff
(PlumTutorials/admin/New%20Folder%20(3)/InventoryItemSearchform.cfm)?

I'm sorry, I can't help myself. One more question.  When I make changes to
the pages and enter the path myself in the browser, the page shows up with
the changes.  When I go to the page via the links, the page shows (with the
weird path) but without the changes.  Is the browser just getting the page
from cache?

Thanks Jeff,

Mark Fuqua

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff
Fleitz
Sent: Thursday, February 24, 2005 9:00 AM
To: [email protected]
Subject: Re: [plum] oops how do I correct this mistake


Hi Mark,

You changed the name of the folders in the Windows Explorer, right?  The IDE
stores the names of the original modules
you set up, so I imagine if you look in there you will see that you have
modules for the NewFolders.  Plum automatically
generates a new DatabaseLinks.cfm page every time you generate code from the
IDE.

To get around this you would need to delete those modules and re-create them
with the proper names. This will create a
problem, because Plum isn't a round-trip code generator. If you create the
new modules/folders in your Plum project,
there is really no way to import the existing forms that you have created
into the project. So you will have to create
new inventory_std and keywork_std modules and map them to your working
folders. Open up the IDE and manually recreate
each of the forms by looking at your code.  This sucks, I know, but you
ought to be able to do it in less than a half
hour unless they are huge.

That said, another option if you want to go back and do that later is to
either 1) manually change the link references
in your admin/DatabaseLinks.cfm page, 2) create another template called
DataLinks.cfm or something like that in your
admin folder and copy the links into that, so they never get overwritten by
the Plum generation, or 3) hard code them
into your LeftNavBar template (or whatever nav template you use).  For small
projects I use the third option, for large
projects I use the second option.

Does this help, or am I off base?

Jeff

Mark Fuqua wrote:
> Hey there,
>
> I am working through the Plum tutorials and I made a mistake:  when I
> created new folders under the admin section, somehow I managed to put the
> pages got into the newfolder and newFolder2 instead of inventory_std and
> keywork_std.  The folders were there, but the pages were in the NewFolder
> and NewFolder(3).  Anyway, I caught the mistake when I tried to find the
> page in homesite.  Changed the name of the folders, went into the modules
> and browsed the correct folders.
>
> If I put the address directly in the browser,
>
http://127.0.0.1:8500/PlumTutorials/admin/inventory_std/InventoryItemSearchF
> orm.cfm
>
> everything is as it should be, changes are there when refreshed...
>
> However, if I use the navigation to get there: go to plumTutorials/admin
and
> then click on the database link and then the standard inventory forms
link,
> it take me to:
>
>
http://127.0.0.1:8500/PlumTutorials/admin/New%20Folder%20(3)/InventoryItemSe
> archForm.cfm
>
> I have regenerated the code (several times) the pages are there, the
changes
> I make are there, but the links lead to the above, which actually does not
> even exist anymore.
>
> Is it doing a search?  new%20Folder%20(3) sending them as parameters? or
> what.
>
> Any idea how I can fix this?  Any idea what this is from?
>
> Thanks guys,
>
> Mark Fuqua
>
>
>
>
>
>
>
> **********************************************************************
> You can subscribe to and unsubscribe from lists, and you can change
> your subscriptions between normal and digest modes here:
>
> http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
> **********************************************************************
>
>

**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************



**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************

Reply via email to