How to access a new Include?

View: New views
4 Messages — Rating Filter:   Alert me  

How to access a new Include?

by RobG-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Stupid question... I've looked through as many docs as I can find and
haven't found the answer, so here goes...

I wrote a new file to be Included.  I dropped it into the IncludedObj
dir in my project's directory.  It's called _contact.cfm.  How the heck
do you make it appear when you go to Site and add an Include?  The only
things showing in the drop-down are the _contactUs.cfm sample file, the
site map, and the _search.cfm file.

Thanks!

Rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to access a new Include?

by Jeff Coughlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


RobG wrote:
> Stupid question... I've looked through as many docs as I can find and
> haven't found the answer, so here goes...
>
> I wrote a new file to be Included.  I dropped it into the IncludedObj
> dir in my project's directory.  It's called _contact.cfm.  How the heck
> do you make it appear when you go to Site and add an Include?  The only
> things showing in the drop-down are the _contactUs.cfm sample file, the
> site map, and the _search.cfm file.
>  

Update the application scope (?updateapp=1)

Regards,

--
Jeff Coughlin
Web Application Developer
http://jeffcoughlin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to access a new Include?

by RobG-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Jeff Coughlin wrote:

> RobG wrote:
>> Stupid question... I've looked through as many docs as I can find and
>> haven't found the answer, so here goes...
>>
>> I wrote a new file to be Included.  I dropped it into the IncludedObj
>> dir in my project's directory.  It's called _contact.cfm.  How the heck
>> do you make it appear when you go to Site and add an Include?  The only
>> things showing in the drop-down are the _contactUs.cfm sample file, the
>> site map, and the _search.cfm file.
>>  
>
> Update the application scope (?updateapp=1)

Bingo!  Thanks!!!

Now if I may ask... I want to post it back to itself... but just putting
"_contact.cfm" in the action= field yeilds an error... what's the
correct path to it?

Rob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to access a new Include?

by Jeff Coughlin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


RobG wrote:
> Bingo!  Thanks!!!
>
> Now if I may ask... I want to post it back to itself... but just putting
> "_contact.cfm" in the action= field yeilds an error... what's the
> correct path to it?
>
> Rob
>  

Depending on the webserver you're using, you can usually just leave the
action value blank and it will post to itself (IIS 5 on WinXP doesn't
like to function this way).  Otherwise you can set it to something like
"#cgi.script_name#?objectid=#request.navid#".

I have a script I usually use that detects if the friendly urls plugin
is activated and will use that, otherwise use a url similar to the one
above.  Unfortunately I don't have an example of the code on this
machine at the moment.

Regards,

--
Jeff Coughlin
Web Application Developer
jeff@...
http://jeffcoughlin.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user@...
To unsubscribe from this group, send email to farcry-user-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---