Have a look atExpandPath( /) On 6/22/06, Scott Thornton [EMAIL PROTECTED]
wrote:Hello,Is there a programmatical way of returning the root directory of the website, regardless of the current page's location within the site?
egThe site http://mysite/somepage.cfm = c:\mysites\application\the site
cfset thisPath=ExpandPath(/)
cfset rootDirectory=GetDirectoryFromPath(thisPath)
or am I missing something?
- Original Message -
From: Scott Thornton [EMAIL PROTECTED]
To: cfaussie@googlegroups.com
Sent: Thursday, June 22, 2006 12:17 PM
Subject: [cfaussie] Path to the site root
put this in your application.cfm
application.path = getDirectoryFromPath( getCurrentTemplatePath() );
On 6/22/06, Scott Thornton [EMAIL PROTECTED] wrote:
Hello,Is there a programmatical way of returning the root directory of the website, regardless of the current page's location within the site?
Hi Rod.
Your code below when run from
http://127.0.0.1/platypus2/Untitled-1.cfm
returns
C:\CFusionMX\wwwroot\
which is very odd, as my site is actually
d:\websites\platypus2\
It also returns the same when run from http://platypus2/Untitled-1.cfm
Fromthe docs ... This function
does
actually...
cfset thisPath=ExpandPath(./)
is a bit closer to what I am after. but when used from a subdirectory of
the site... it returns the subdirectory too. I was hoping to avoid that.
[EMAIL PROTECTED] 22/06/2006 5:14 pm
cfset thisPath=ExpandPath(/)
cfset
Guys,
I was a bit dissapointed to see that the majority of people who came
down to the meeting where mostly the guys that I had pulled down from
work.
We had a total of 6 people at the meeting, including myself and Steve
- and 3 of the others were people I work with.
Considering that every 3
What's going on guys? What can we do to get this User Group up and
running again?
Persistence for starters. I remember my first Saturday on-air as a
community radio DJ with a 4pm slot. I was all excited about the
concert tickets I had to give away. Not a caller to be found.
Just keep
I can't talk on behalf of Steve, but I would like to see this
conversation kept going -
a) Where is better location for you guys?
Getting to St Kilda from the city is really not a huge deal I would
have thought - take the Tram straight down St Kilda Rd to Carlisle St
and a short walk from there.
If 6 months is a ridiculous amount of time to wait for a meeting, then
should we assume that you'll be organising the venue, topics and
speakers for the next meeting in 4 weeks time? You'll actually need to
have it organised within about 3 weeks, as you'll need to start
promoting it for the week
Hi Mark,
I would like to thank you for your excellent presentation and new ideas and
techniques you shared with us.
Many thanks to Steve, who did organise the venue and made this event
happened as well as nice Macromedia and WebDU t-shirts.
Thanks for other mates, who did manage to arrive,
To that point actually Darren,
If you ever want me to do a presentation on Transfer, just let me know
where and when.
I'll probably have to get you to setup a Breeze type broadcast up to
you guys, as I'm in Melbourne, and I don't tend to fly around too much
;o)
Ditto goes for Sydney, and any
If everyone here thinks it's cool to run this thing every 6-9 months and
expects that everyone will attend, then we are kidding ourselves.
Regards
Dale Fraser
-Original Message-
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Darren Tracey
Sent: Friday, 23 June
One of the more abused quotes. JFK was the president of the United
States motivating a country during his inauguration. Similar
principle, but the scale is off a bit.
Sure people need to be responsible for their own action. But they
need a leader to show how its done. The group is dormant
Dmitry,
Was nice meeting you!
I hope to see you again at meetings to come!
Mark
On 6/23/06, Dmitry Yakhnov [EMAIL PROTECTED] wrote:
Hi Mark,
I would like to thank you for your excellent presentation and new ideas and
techniques you shared with us.
Many thanks to Steve, who did organise
Mark,
a) Where is better location for you guys?
Getting to St Kilda from the city is really not a huge deal I would
have thought - take the Tram straight down St Kilda Rd to Carlisle St
and a short walk from there. But I can't talk - it's an easy drive
for me as I work in South Melbourne.
I
You have to remember its not just a matter of organising the meeting. The
guy from VTR hung around till like 9:30pm. The organise a projector and
everything for us. Presenters make time to present, I chase down stuff to
give away and the general organising of the event and when no one
Question for those contracting on hourly rates do you bill your
clients for lunchtime if you are working on their premises?
This arises from a conversation I had with a colleague the other day.
I noted down the time we left the office to go buy a sandwich across
the road, and he asked what
I never charge for my lunch break, because in my mind I'm not working.
So I'm totally with you on that one.
It is a fair question tho'
Mark
On 6/23/06, Mike Kear [EMAIL PROTECTED] wrote:
Question for those contracting on hourly rates do you bill your
clients for lunchtime if you are
Mike,
All contract jobs that I have done in the past I have not included the lunch
break time, fulltime employees don't get paid for it and I don not know any
contractor except devious ones who do any such thing as you have described.
But then maybe I am too honest:-)
Senior Coldfusion
For anyone who is interested, I just put up the slides from my
Transfer presentation I did last night at the Melbourne CFUG.
Blog Post : http://www.compoundtheory.com/?action=displayPostID=127
Direct Link : http://www.compoundtheory.com/?action=transfer.presentation
Hope you find them
Personally, I only charge for time worked. If I work while I eat, I
charge. I am not providing services when I am getting myself a
sandwich. Same goes for what I expect when I use contractors. Under
the other argument, then how long is an allowed lunch break to get
what I deserve to
Hey everyone,
I have been having a discussion for the last couple of days with a
fellow programmer here. And the way we write functions and call them.
Can you give me the pros and cons for the following;
function initialise(id)
{
if(isDefined(id) EQ
CFC or a page. So really either. We are looking at it for both
instances. What do you mean no typing over the argument?
Jeremy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
cfaussie group.
To post to this group,
As Mark has pointed out the second method gives you more control, now if
this function was to be called via a webservice you would need to write a
façade for it, but as mark said you have more control on the type definition
of the arguments as well as having defaults and whether they are required
Hahahaha. after I sent it I realised what I had said.
And the other guy here pointed it out to megot up way to early this
morning to watch the soccorOT: AWESOME game!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I agree with Steve - I've come across a number of people who follow
the view of charging for being onsite etc, but I have a hard time
justifying to myself charging for anything other than just the exact
hours I worked on documentation and code etc.
Toby
On 23/06/2006, at 1:38 PM, Steve
But then in general, your pain of being onsite is catered for in
the onsite rates you charge :)
(you being you, me, whomever)
Toby
On 23/06/2006, at 1:56 PM, Chad Renando wrote:
Personally, I only charge for time worked. If I work while I eat, I
charge. I am not providing services when
The only caveat to that is to cover costs, particularly with fuel
prices being what they are. If it is in the same town, cool. But if
I have to drive for over 15 minutes, I typically tack on a
representitive flat fee to cover costs. This isn't to cover my time
so much, as I typically public
28 matches
Mail list logo