RE: level 1, level 2

2005-05-03 Thread Rebecca Wells
You're quite welcome! Just don't call me Louise... :P

>hey that all worked!  jeez-loouise!
>This is quite the mind-readjustment. hmmm.  I can do this for my menusets too. 
> hmm.
>
>k, great, thanks!
>
>> > statement to set the variables for each server.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205434
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread daniel kessler
hey that all worked!  jeez-loouise!
This is quite the mind-readjustment. hmmm.  I can do this for my menusets too.  
hmm.

k, great, thanks!

> Done right, there's usually no need for any cfif statement. All you 
> need is something like this in the app_server.cfm file:
> 
> 
>  
> 
> 
> http://#request.Domain#/cf_lists/";>
> 
> 
> 
> 
> 
>  GetDirectoryFromPath(GetCurrentTemplatePath())>
> 
> 
> > On top of doing the include file in your Application.cfm, in 
> Rebecca's 
> > example you can use the CGI.SERVER_NAME variable and use a CFIF 
> > statement to set the variables for each server.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205424
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread daniel kessler
You're right  that I'm not familiar with it.  We don't get alot of learning 
time that's not project time.  Looks like that time is now then eh?  Thanks!

>Well,
>Since you have access to the root of the subdomain, you can create
>your own application.cfm for your application. For that matter any
>directory can have its own application.cfm (though that would be an
>extreme use of it). If you are unfamiliar with the concept of using
>something like application.cfm, just read up one of the excellent
>references to CF. Or google it.
>
>George
>
>On 5/3/05, daniel kessler <[EMAIL PROTECTED]> wrote:
>>

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205416
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread George Abraham
Well,
Since you have access to the root of the subdomain, you can create
your own application.cfm for your application. For that matter any
directory can have its own application.cfm (though that would be an
extreme use of it). If you are unfamiliar with the concept of using
something like application.cfm, just read up one of the excellent
references to CF. Or google it.

George

On 5/3/05, daniel kessler <[EMAIL PROTECTED]> wrote:
> I don't *think* that I have access to the application.cfm file.  I'm in a 
> shared hosting environment where our OIT staff has given me a sub-domain to 
> work from (hhp.umd.edu), so they probably have the access to the 
> application.cfm file.  I don't see one in my file structure.
> 
> > I agree with Rebecca and Pascal, this would be a better approach.  As
> > for using dreamweaver, I generally prefer to look after my own paths
> > to files rather than letting a program do that.  For that matter I
> > really don't like using WYSIWYG editors like dreamweaver or frontpage,
> > just for that reason, I have always used Homesite.
> >
> > On top of doing the include file in your Application.cfm, in Rebecca's
> > example you can use the CGI.SERVER_NAME variable and use a CFIF
> > statement to set the variables for each server.
> >
> > > I use a similar approach except that we keep the directory structure
> >
> > > for our applications the same on the prod and dev server, then use
> > CGI.
> > > Server_Name in the app_server.cfm file to make the request vars work
> >
> > > on any server.
> > >
> > > >In the application.cfm, you can set a variable that holds the
> > > absolute
> > > >path to the image folder (or the path starting from the root). Then
> >
> > > use
> > > >that variable when you need the path to an image. I usually create
> > a
> > > >structure that holds parameters that depend on the server.
> > Something
> > > >like:
> > > >
> > > >request.app.dsn
> > > >request.app.imgFolder
> > > >request.app.rootFolder
> > > >request.app.rootUrl
> > > >request.app.mapping
> > > >...
> > > >
> > > >I create them in a separate file that I include in the application.
> >
> > > cfm.
> > > >I have a different file for every server (local, dev, staging, prod,
> >
> > > >...) where the application is deployed.
> > > >
> > > >> -Original Message-
> > > >> From: daniel kessler [mailto:[EMAIL PROTECTED]
> > > >> Sent: 03 May 2005 15:22
> > > >> To: CF-Talk
> > > >> Subject: RE: level 1, level 2
> > > >>
> > > >> Wouldn't /images/ refer to the images directory on the root
> > level?
> > > >This
> > > >> is a directory within and the whole site is there.
> > > >>
> > > >> In what way would I define a variable for a path to the images.
> >
> > > It
> > > >would
> > > >> seem to me that the variable would have to change just like the
> > > >header.
> > > >> Can you give me a small example?  sorry to be dense about it.
> > > >>
> > > >> >/images/ ?? or define a variable with the path to images.
> > > >> >
> > > >> >Pascal
> > > >>
> >
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205414
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread Adkins, Randy
You can always create one, right? 

-Original Message-
From: daniel kessler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 03, 2005 1:35 PM
To: CF-Talk
Subject: RE: level 1, level 2

I don't *think* that I have access to the application.cfm file.  I'm in
a shared hosting environment where our OIT staff has given me a
sub-domain to work from (hhp.umd.edu), so they probably have the access
to the application.cfm file.  I don't see one in my file structure.

> I agree with Rebecca and Pascal, this would be a better approach.  As 
> for using dreamweaver, I generally prefer to look after my own paths 
> to files rather than letting a program do that.  For that matter I 
> really don't like using WYSIWYG editors like dreamweaver or frontpage,

> just for that reason, I have always used Homesite.
> 
> On top of doing the include file in your Application.cfm, in Rebecca's

> example you can use the CGI.SERVER_NAME variable and use a CFIF 
> statement to set the variables for each server.
> 
> > I use a similar approach except that we keep the directory structure
> 
> > for our applications the same on the prod and dev server, then use
> CGI.
> > Server_Name in the app_server.cfm file to make the request vars work
> 
> > on any server.
> > 
> > >In the application.cfm, you can set a variable that holds the
> > absolute
> > >path to the image folder (or the path starting from the root). Then
> 
> > use
> > >that variable when you need the path to an image. I usually create
> a
> > >structure that holds parameters that depend on the server. 
> Something
> > >like:
> > >
> > >request.app.dsn
> > >request.app.imgFolder
> > >request.app.rootFolder
> > >request.app.rootUrl
> > >request.app.mapping
> > >...
> > >
> > >I create them in a separate file that I include in the application.
> 
> > cfm.
> > >I have a different file for every server (local, dev, staging, 
> > >prod,
> 
> > >...) where the application is deployed.
> > >
> > >> -Original Message-
> > >> From: daniel kessler [mailto:[EMAIL PROTECTED]
> > >> Sent: 03 May 2005 15:22
> > >> To: CF-Talk
> > >> Subject: RE: level 1, level 2
> > >> 
> > >> Wouldn't /images/ refer to the images directory on the root
> level?
> > >This
> > >> is a directory within and the whole site is there.
> > >> 
> > >> In what way would I define a variable for a path to the images.  
> 
> > It
> > >would
> > >> seem to me that the variable would have to change just like the
> > >header.
> > >> Can you give me a small example?  sorry to be dense about it.
> > >> 
> > >> >/images/ ?? or define a variable with the path to images.
> > >> >
> > >> >Pascal
> > >> 
>



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205407
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread Rebecca Wells
Done right, there's usually no need for any cfif statement. All you need is 
something like this in the app_server.cfm file:


 


http://#request.Domain#/cf_lists/";>








> On top of doing the include file in your Application.cfm, in Rebecca's 
> example you can use the CGI.SERVER_NAME variable and use a CFIF 
> statement to set the variables for each server.

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205406
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread daniel kessler
I don't *think* that I have access to the application.cfm file.  I'm in a 
shared hosting environment where our OIT staff has given me a sub-domain to 
work from (hhp.umd.edu), so they probably have the access to the 
application.cfm file.  I don't see one in my file structure.

> I agree with Rebecca and Pascal, this would be a better approach.  As 
> for using dreamweaver, I generally prefer to look after my own paths 
> to files rather than letting a program do that.  For that matter I 
> really don't like using WYSIWYG editors like dreamweaver or frontpage, 
> just for that reason, I have always used Homesite.
> 
> On top of doing the include file in your Application.cfm, in Rebecca's 
> example you can use the CGI.SERVER_NAME variable and use a CFIF 
> statement to set the variables for each server.
> 
> > I use a similar approach except that we keep the directory structure 
> 
> > for our applications the same on the prod and dev server, then use 
> CGI.
> > Server_Name in the app_server.cfm file to make the request vars work 
> 
> > on any server.
> > 
> > >In the application.cfm, you can set a variable that holds the 
> > absolute
> > >path to the image folder (or the path starting from the root). Then 
> 
> > use
> > >that variable when you need the path to an image. I usually create 
> a
> > >structure that holds parameters that depend on the server. 
> Something
> > >like:
> > >
> > >request.app.dsn
> > >request.app.imgFolder
> > >request.app.rootFolder
> > >request.app.rootUrl
> > >request.app.mapping
> > >...
> > >
> > >I create them in a separate file that I include in the application.
> 
> > cfm.
> > >I have a different file for every server (local, dev, staging, prod,
> 
> > >...) where the application is deployed.
> > >
> > >> -Original Message-
> > >> From: daniel kessler [mailto:[EMAIL PROTECTED]
> > >> Sent: 03 May 2005 15:22
> > >> To: CF-Talk
> > >> Subject: RE: level 1, level 2
> > >> 
> > >> Wouldn't /images/ refer to the images directory on the root 
> level?
> > >This
> > >> is a directory within and the whole site is there.
> > >> 
> > >> In what way would I define a variable for a path to the images.  
> 
> > It
> > >would
> > >> seem to me that the variable would have to change just like the
> > >header.
> > >> Can you give me a small example?  sorry to be dense about it.
> > >> 
> > >> >/images/ ?? or define a variable with the path to images.
> > >> >
> > >> >Pascal
> > >> 
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205405
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread David Critchley
I agree with Rebecca and Pascal, this would be a better approach.  As for using 
dreamweaver, I generally prefer to look after my own paths to files rather than 
letting a program do that.  For that matter I really don't like using WYSIWYG 
editors like dreamweaver or frontpage, just for that reason, I have always used 
Homesite.

On top of doing the include file in your Application.cfm, in Rebecca's example 
you can use the CGI.SERVER_NAME variable and use a CFIF statement to set the 
variables for each server.

> I use a similar approach except that we keep the directory structure 
> for our applications the same on the prod and dev server, then use CGI.
> Server_Name in the app_server.cfm file to make the request vars work 
> on any server.
> 
> >In the application.cfm, you can set a variable that holds the 
> absolute
> >path to the image folder (or the path starting from the root). Then 
> use
> >that variable when you need the path to an image. I usually create a
> >structure that holds parameters that depend on the server. Something
> >like:
> >
> >request.app.dsn
> >request.app.imgFolder
> >request.app.rootFolder
> >request.app.rootUrl
> >request.app.mapping
> >...
> >
> >I create them in a separate file that I include in the application.
> cfm.
> >I have a different file for every server (local, dev, staging, prod,
> >...) where the application is deployed.
> >
> >> -----Original Message-
> >> From: daniel kessler [mailto:[EMAIL PROTECTED]
> >> Sent: 03 May 2005 15:22
> >> To: CF-Talk
> >> Subject: RE: level 1, level 2
> >> 
> >> Wouldn't /images/ refer to the images directory on the root level?
> >This
> >> is a directory within and the whole site is there.
> >> 
> >> In what way would I define a variable for a path to the images.  
> It
> >would
> >> seem to me that the variable would have to change just like the
> >header.
> >> Can you give me a small example?  sorry to be dense about it.
> >> 
> >> >/images/ ?? or define a variable with the path to images.
> >> >
> >> >Pascal
> >> 
>

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread Rebecca Wells
I use a similar approach except that we keep the directory structure for our 
applications the same on the prod and dev server, then use CGI.Server_Name in 
the app_server.cfm file to make the request vars work on any server.

>In the application.cfm, you can set a variable that holds the absolute
>path to the image folder (or the path starting from the root). Then use
>that variable when you need the path to an image. I usually create a
>structure that holds parameters that depend on the server. Something
>like:
>
>request.app.dsn
>request.app.imgFolder
>request.app.rootFolder
>request.app.rootUrl
>request.app.mapping
>...
>
>I create them in a separate file that I include in the application.cfm.
>I have a different file for every server (local, dev, staging, prod,
>...) where the application is deployed.
>
>> -Original Message-
>> From: daniel kessler [mailto:[EMAIL PROTECTED]
>> Sent: 03 May 2005 15:22
>> To: CF-Talk
>> Subject: RE: level 1, level 2
>> 
>> Wouldn't /images/ refer to the images directory on the root level?
>This
>> is a directory within and the whole site is there.
>> 
>> In what way would I define a variable for a path to the images.  It
>would
>> seem to me that the variable would have to change just like the
>header.
>> Can you give me a small example?  sorry to be dense about it.
>> 
>> >/images/ ?? or define a variable with the path to images.
>> >
>> >Pascal
>> >

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205397
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread Jeff Small
> Does this work well with cfincluded files too?

In particular, check this specific article out.

http://www.macromedia.com/devnet/mx/dreamweaver/articles/ssi_templates.html

It uses navigational includes as the basis of the tutorial...to quote:

"Wouldn't it be nice if you had several includes, each containing a 
different navigation method, that your site maintainers could use with 
templates in Macromedia Contribute and Dreamweaver MX?

This tutorial shows you how you can do this and implement it with any server 
include document type (SHTML, CFML, PHP, ASP, JSP, and ASPX). Please note 
that since each language has its own include syntax and you must adjust this 
methodology accordingly." 



~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205371
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread Jeff Small
> Does this work well with cfincluded files too?

Heck yeah. It's tight.

Check this out...
http://www.macromedia.com/devnet/mx/dreamweaver/templates.html

We're finding it's slowly replacing a LOT of overhead work that's just 
completely needless now. What were convoluted workarounds are now just easy, 
simple, template files with template functionality. We've taken huge, 
enterprise sites (think Hospitals, etc) and made them so easy a child could 
update them, saving us HUGE amounts of time. Let Dreamweaver do all the 
work. Not me.

I'm totally converted. It was like a revelation how easy it was to create, 
and how equally easy it was to implement. 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205370
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread Pascal Peters
In the application.cfm, you can set a variable that holds the absolute
path to the image folder (or the path starting from the root). Then use
that variable when you need the path to an image. I usually create a
structure that holds parameters that depend on the server. Something
like:

request.app.dsn
request.app.imgFolder
request.app.rootFolder
request.app.rootUrl
request.app.mapping


I create them in a separate file that I include in the application.cfm.
I have a different file for every server (local, dev, staging, prod,
) where the application is deployed.

> -Original Message-
> From: daniel kessler [mailto:[EMAIL PROTECTED]
> Sent: 03 May 2005 15:22
> To: CF-Talk
> Subject: RE: level 1, level 2
> 
> Wouldn't /images/ refer to the images directory on the root level?
This
> is a directory within and the whole site is there.
> 
> In what way would I define a variable for a path to the images.  It
would
> seem to me that the variable would have to change just like the
header.
> Can you give me a small example?  sorry to be dense about it.
> 
> >/images/ ?? or define a variable with the path to images.
> >
> >Pascal
> >
 

~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205369
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread daniel kessler
Does this work well with cfincluded files too?

>Use Dreamweaver Templates? They'll automatically resolve any paths and you 
>only need to create one master template. Then just save it wherever you 
>want, and let Dreamweaver take care of all the hassle of keeping up with 
>whatever directories something resides in.
>
>We have several sites built the same way, with generic pages that will 
>reside in various levels. We have just one template derfined for the site, 
>and all you do is go File > New... and select whatever templates are defined 
>for the site.
>
>Easy as pie.

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205367
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread daniel kessler
Wouldn't /images/ refer to the images directory on the root level?  This is a 
directory within and the whole site is there.

In what way would I define a variable for a path to the images.  It would seem 
to me that the variable would have to change just like the header.  Can you 
give me a small example?  sorry to be dense about it.

>/images/ ?? or define a variable with the path to images.
>
>Pascal
>
>better
>>

~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205366
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: level 1, level 2

2005-05-03 Thread Jeff Small
Use Dreamweaver Templates? They'll automatically resolve any paths and you 
only need to create one master template. Then just save it wherever you 
want, and let Dreamweaver take care of all the hassle of keeping up with 
whatever directories something resides in.

We have several sites built the same way, with generic pages that will 
reside in various levels. We have just one template derfined for the site, 
and all you do is go File > New... and select whatever templates are defined 
for the site.

Easy as pie.

>I have a directory on my site which is basically a site in itself.
> There, I am building a template.  In this template is a header with
> images and links.
> The problem is that the path to those images and links changes
> depending on whether the file the header is in is down one level or
> two or none.  This changes the path to:  images/  or ../images/ or
> .../../images/.  The same goes for the links.  To accommodate that,
> I've been building a header for each level, header_1, header_2,
> header_n.
> This doesn't seem to be an efficient way to go about it.  What's a better 
> way?



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205365
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: level 1, level 2

2005-05-03 Thread Pascal Peters
/images/ ?? or define a variable with the path to images.

Pascal

> -Original Message-
> From: Daniel Kessler [mailto:[EMAIL PROTECTED]
> Sent: 03 May 2005 14:57
> To: CF-Talk
> Subject: level 1, level 2
> 
> I have a directory on my site which is basically a site in itself.
> There, I am building a template.  In this template is a header with
> images and links.
> The problem is that the path to those images and links changes
> depending on whether the file the header is in is down one level or
> two or none.  This changes the path to:  images/  or ../images/ or
> .../../images/.  The same goes for the links.  To accommodate that,
> I've been building a header for each level, header_1, header_2,
> header_n.
> This doesn't seem to be an efficient way to go about it.  What's a
better
> way?
> 
> --
> Daniel Kessler
> 
> Department of Public and Community Health
> University of Maryland
> Suite 2387 Valley Drive
> College Park, MD  20742-2611
> 301-405-2545 Phone
> www.phi.umd.edu
> 
> 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205363
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


level 1, level 2

2005-05-03 Thread Daniel Kessler
I have a directory on my site which is basically a site in itself. 
There, I am building a template.  In this template is a header with 
images and links.
The problem is that the path to those images and links changes 
depending on whether the file the header is in is down one level or 
two or none.  This changes the path to:  images/  or ../images/ or 
.../../images/.  The same goes for the links.  To accommodate that, 
I've been building a header for each level, header_1, header_2, 
header_n.
This doesn't seem to be an efficient way to go about it.  What's a better way?

-- 
Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205360
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Linear Site Maps: Home > Level 1 > Level 2

2000-06-19 Thread Shane Witbeck

Visit Fusebox.org to read up on the fusebox method for CF. My switch
statements look something like this:










..where the title is used for the page title as well as the breadcrumbs.

qry_ files refer to specific queries and dsp_ files refer to display files
all of which is explained in the Fusebox specification.

There is also another method utilizing CGI scripts which i am less familiar
with. Good luck!

Sincerely,

Shane Witbeck
Webmaster
[EMAIL PROTECTED]
www.digitalsanctum.com




-Original Message-
From: Phil Labonte [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 9:15 PM
To: [EMAIL PROTECTED]
Subject: Re: Linear Site Maps: Home > Level 1 > Level 2


Shane I am interested in this also.  Can you give us more details please.
- Original Message -
From: "Shane Witbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 9:09 PM
Subject: RE: Linear Site Maps: Home > Level 1 > Level 2


> i use the Fusebox method of CF programming and include my little map for
> each switch statement
>
> Sincerely,
>
> Shane Witbeck
> Webmaster
> [EMAIL PROTECTED]
> www.digitalsanctum.com
>
>
>
>
> -Original Message-
> From: ClintonGallagher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 19, 2000 9:00 PM
> To: CF-Talk
> Subject: Linear Site Maps: Home > Level 1 > Level 2
>
>
> Has anybody learned how to create these things
> dynamically using script? ASP, JavaScript, CFML?
>
> <%= Clinton Gallagher
> http://home.att.net/~csgallagher/
> http://www.metromilwaukee.com/
>
> --
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Linear Site Maps: Home > Level 1 > Level 2

2000-06-19 Thread Phil Labonte

Shane I am interested in this also.  Can you give us more details please.
- Original Message -
From: "Shane Witbeck" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 19, 2000 9:09 PM
Subject: RE: Linear Site Maps: Home > Level 1 > Level 2


> i use the Fusebox method of CF programming and include my little map for
> each switch statement
>
> Sincerely,
>
> Shane Witbeck
> Webmaster
> [EMAIL PROTECTED]
> www.digitalsanctum.com
>
>
>
>
> -Original Message-
> From: ClintonGallagher [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 19, 2000 9:00 PM
> To: CF-Talk
> Subject: Linear Site Maps: Home > Level 1 > Level 2
>
>
> Has anybody learned how to create these things
> dynamically using script? ASP, JavaScript, CFML?
>
> <%= Clinton Gallagher
> http://home.att.net/~csgallagher/
> http://www.metromilwaukee.com/
>
> --
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Linear Site Maps: Home > Level 1 > Level 2

2000-06-19 Thread Mark Ireland


Breadcrumbs? The structure of the site can be a little database and these
breadcrumbs and content
links can be cfqueried and cfoutputed. . . 

At 07:59 PM 19/06/00 -0500, you wrote:
>Has anybody learned how to create these things 
>dynamically using script? ASP, JavaScript, CFML?
>
><%= Clinton Gallagher
>http://home.att.net/~csgallagher/
>http://www.metromilwaukee.com/
>
>---
---
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Linear Site Maps: Home > Level 1 > Level 2

2000-06-19 Thread Shane Witbeck

i use the Fusebox method of CF programming and include my little map for
each switch statement

Sincerely,

Shane Witbeck
Webmaster
[EMAIL PROTECTED]
www.digitalsanctum.com




-Original Message-
From: ClintonGallagher [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 9:00 PM
To: CF-Talk
Subject: Linear Site Maps: Home > Level 1 > Level 2


Has anybody learned how to create these things
dynamically using script? ASP, JavaScript, CFML?

<%= Clinton Gallagher
http://home.att.net/~csgallagher/
http://www.metromilwaukee.com/


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Linear Site Maps: Home > Level 1 > Level 2

2000-06-19 Thread ClintonGallagher

Has anybody learned how to create these things 
dynamically using script? ASP, JavaScript, CFML?

<%= Clinton Gallagher
http://home.att.net/~csgallagher/
http://www.metromilwaukee.com/

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.