Re: CF_Activedit alternatives??

2001-01-08 Thread Hassan Khawaja

Hi Paco,

Try ezEdit from www.siteobjects.com , and it's free as
well.

Hassan

--- "Francisco Montes; Spain on Line"
<[EMAIL PROTECTED]> wrote:
> Hi all!
> 
> I´ve been using the CF_Activeedit custom tag for
> some time now but i´ll like to know about other
> similar tags i could use as well. I´ve found out
> that it doesn´t work properly with one of our Mac
> machines for some reason (??). Does anybody know of
> any other tag that also allows text edition (even if
> it´s only basic edition functionality)?
> 
> TIA !
> 
> Paco Montes
> Spain on Line
> 
> 
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFGurus: A CFQuery and database question

2000-12-29 Thread Hassan Khawaja

You need to put an onChange attribute in your SELECT
tag, so that whenever you select an option from the
list, that name/value pair is submitted to whatever
you specify in your onChange event.


function doSub{
this.form.submit;
return true;
}


 
klm
ijk



Hope that helps

Hassan Khawaja
www.computerms.com

--- C Kong <[EMAIL PROTECTED]> wrote:
> 
> ok all you CFMasters.I think i have a
> relatively simple CF question concerning databases
> and CFQuery. But for the life of me am stumped (4
> hours to put it exactly).  I am trying to build
> a page with a pull down select menu of different
> towns in the state of connecticut.  When the
> user selects a town (i.e. Plainfield,
> Smallville...ect.), I would like my user to be
> sent to a cfm "town" page with the corresponding
> town data (ie. town, organization, population size,
> event date, ect...). The million dollar
> question is: how do i set up my pull down "town"
> variables in my code so that when a specific
> town is selected, i get that specific town's
> information from my database.  I know
> conceptually what is going on here but am having
> trouble with the correct CF coding here. I think it
> has something to do with setting my town variable up
> correctly in my inital CFQUERY and in my pull down
> menu. But cannot pinpoint it.
> Below is what i have for my CFQUERY coding
> ,  my CFOUTPUT coding, as well as coding for my
> pull down menu.   
> Please ANY help,especially with the coding, would
> be greatly appreciated. Have a safe holiday
> everyone.
>  
> thanks, colin
> Here
> is my coding:  
> 
> <CFQUERY NAME="GetResults"
> DATASOURCE="Reminder"> SELECT town,
> organization, headline, body,
> event_date FROM
> GetResults WHERE ?
>  
>  </CFQUERY>
>  
>  
> <CFOUTPUT QUERY =
>
"GetResults"><P>Town:
> #town#
>
</P>   <P>Organization:
> #organization#
>
</P>   <P>Headline:
> #headline#
>
</P>   <P>Body:
> #body#
>
</P>   <P>Event
> Date: #event_date#
>
</P>  </CFOUTPUT>
>  
>  
>  
>  
> **TOWN PULLDOWN
>  
> <table border="0" cellpadding="0"
> cellspacing="0"
>
width="611"><tr> <td
> width="99"><img height="40" width="99"
>
src="images/navhead.gif"></td> <td
> valign="middle"><font
>
size="2">  <form
> name="FormName" action="(Empty Reference!)"
>
method="get">  Search:</font><font
> face="Verdana" size="2"> <select
> name="selectName" size="1"
>
tabindex="1">   <option
> value="Manchester"
>
selected>Manchester   <option
> value="Ashford"
>
selected>Ashford   <option
> value="East Hartford" selected>East
>
Hartford   <option
> value="East Windsor" selected>East
>
Windsor   <option
> value="Ellington"
>
selected>Ellington   <option
> value="Enfield"
>
selected>Enfield   <option
> value="Pomfret"
>
selected>Pomfret   <option
> value="Somers"
>
selected>Somers   <option
> value="South Windsor" selected>South
>
Windsor   <option
> value="Stafford"
>
selected>Stafford   <option
> value="Stafforville"
>
selected>Stafforville   <option
> value="Suffield"
>
selected>Suffield   <option
> value="Tolland"
>
selected>Tolland   <option
> value="Vernon"
>
selected>Vernon   <option
> value="Warehouse Point" selected>Warehouse
>
Point   <option
> value="West Suffield" selected>West
>
Suffield   <option
> value="Willington"
>
selected>Willington   <option
> value="Windsor"
>
selected>Windsor   <option
> value="Windsor Locks" selected>Windsor
>
Locks   <option
> value="Brooklyn"
>
selected>Brooklyn   <option
> value="Chaplin"
>
selected>Chaplin   <option
> value="Colchester"
>
selected>Colchester   <option
> value="Coventry"
>
selected>Coventry   <option
> value="Danielson"
>
selected>Danielson   <option
> value="Day

Re: CF Chat Room Facility Codes

2000-12-13 Thread Hassan Khawaja

Claude,
Check out the following link for some cool chat programs using CF.
http://devex.allaire.com/developer/gallery/SearchResults.cfm?Keywords=chat&c
ategory=*&searchOptions=0

I especially like Ivan Latunov 's cfchat 4.71.

Hassan Khawaja
Web Applications Developer
[EMAIL PROTECTED]
- Original Message -
From: "AustralianAccommodation.com Pty. Ltd."
<[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 10:27 AM
Subject: CF Chat Room Facility Codes


> I am currently using a chat room hosting service for my chat room on my cf
site
>
> Wondering if anyone knows of a cf based chat room type facility I can
implement into the site as an alternative to the chat room hosting service
>
> I am currently using the cf hosting service offered by digi chat
>
>
> Kind Regards
>
> Claude Raiola (Director)
> AustralianAccommodation.com Pty. Ltd.
> Email: [EMAIL PROTECTED]
> Developers Of:
>   Website: www.AustralianAccommodation.com
>   Website: www.AccommodationNewZealand.com
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: MULTIPLE COLUMN output problem!

2000-09-07 Thread Hassan Khawaja

Ok, I did an outer join and it fixed my problem of not being ale to display
categories not having any sub categories.
Thanks.

SELECT   mnu_categories.category_id,
mnu_categories.category_name,
mnu_categories.category_url,
mnu_sub_categories.sub_cat_id,
mnu_sub_categories.sub_cat_name

FROM   mnu_categories, mnu_sub_categories
WHERE  mnu_categories.category_id = mnu_sub_categories.category_id (+)
{outer join syntax for Oracle}
ORDER BY
  mnu_categories.category_name,
  mnu_sub_categories.sub_cat_nam

- Original Message -
From: "Courtney Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 12:49 PM
Subject: RE: MULTIPLE COLUMN output problem!


> Ok, try this.  Didn't have the tables set up to test this against but it
> should point you in the right direction.
>
>
> 
> 
> SELECT DISTINCT(CategoryName)
> FROM [your table]
> 
>
> 
>
> 
> 
> .
> .
> .
> 
>
> 
> 
> 
> 
> 
> 
>  group="CategoryName">
>
> 
> 
> 
> 
> 
>
> #CategoryName#
> 
> #SubCategoryName# |
> 
>
> 
> 
> 
> 
> 
>
>
>
> Again, haven't tested this or anything... hope it helps.
>
>
> Courtney E. Payne, Developer
> Figleaf Software
> "We've got you covered"
> [EMAIL PROTECTED]
> www.figleaf.com
>
>
> -Original Message-
> From: Hassan Khawaja [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 12:45 PM
> To: [EMAIL PROTECTED]
> Subject: MULTIPLE COLUMN output problem!
>
>
> Hi all,
> I am experiencing a certain problem, and will try to explain it as well as
I
> can.
> I have a list of links that I am trying to output in a 2 column format,
very
> similar to Yahoo! main menu design. As you know there are main Categories
> listed with sub categories right underneath them. kind of like:
>
> NewsComputers
> - World, US..-Software, WWW...
>
> BusinessReference
> - B2B, Companies..- Encyclopedias, Lists..
>
>
> Now, I have in my database 2 tables - categories, and sub-categories,
which
> are linked together thru a category id. The idea is to ouput the
categories
> with their subcategories with them in a 2 column format.
>
> I can output 2 columns correctly if I only ouput the categories. or if I
> just output the subcategory. However it gets all very hairy if join the
> tables and output using the GROUP parameter of CFOUTPUT.
>
> The problem arises when there are a dissimilar number of subcategories for
> each category. In my code it looks for  0>  to determine if the current row's MOD 2 is 0 to know if 2 columns have
> already been output, but when there are different no. of subcategories,
this
> logic statement gets evaluated at the wrong point than the one I want it
to.
> Right now it is printing 3 columns for one row and only one column for
> another, while the rest of the rows are alright with 2 columns.
>
> What I mean is that if a certain category has 1 sub-cat. and the other has
2
> sub-cats, the output counts them as 3 rows total and instead of starting a
> new row after the category and its sub-cats have been output, it tries to
> start a new one as soon as  2 columns have been evaluated. So even though
> the 3rd row is still part of the main category, for the logic statement,
> it's a NEW row.
>
> Sample output:  [ numbers are rowcount ]
> --
--
> 
> 1-Administration2-Daily Reports
> 1- Areas |  2- Divisions |
>
> 3-Data Entry  4-Help
> 3- Products | 4- About |
>
> 5-MDS6-MSDS
> 5- Areas |   6- Facilities |
>
> 7-Process Control9-Production10-Reports
> ***problem
> 7- Business | 8- Divisional | 9- Reports |  10-Data |
> *** 3 columns
>
> 11-SSOP 12-Safety
>  11- Tasks | 12- Data |
>
> 13-Sales* problem
> 13- Facilities |   just 1 column***
>
>
>
> --
--
> 
>
>
> To stop confusing you further, I am including the code snippet to
accomplish
> this:
>
> 
> 
> SELECT   mnu_categories.category_id,
> mnu_categories.category_name,
>   

Re: MULTIPLE COLUMN output problem!

2000-09-07 Thread Hassan Khawaja

Dear Courtney,

Thank you very much for your help... works fine. One thing however is that
e.g. if I have 12 categories, instead of having 6 on each side, it splits
after ouputting 5 on one side and then outputs 7 on the other.
I tried a variation to the ceiling(numcategories/2) by adding a 1. i.e.
ceiling((numcategories + 1)/2). That made it perfectly align with 6 on each
side.
What would you suggest to output the category names that have no underlying
sub categories (currently they are not ouput as they are filtered out at the
WHERE clause due to not having any matching  sub_category.category_id =
categories.category_id).

Thank you very much once again.
Regards
Hassan Khawaja

- Original Message -
From: "Courtney Payne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 06, 2000 12:49 PM
Subject: RE: MULTIPLE COLUMN output problem!


> Ok, try this.  Didn't have the tables set up to test this against but it
> should point you in the right direction.
>
>
> 
> 
> SELECT DISTINCT(CategoryName)
> FROM [your table]
> 
>
> 
>
> 
> 
> .
> .
> .
> 
>
> 
> 
> 
> 
> 
> 
>  group="CategoryName">
>
> 
> 
> 
> 
> 
>
> #CategoryName#
> 
> #SubCategoryName# |
> 
>
> 
> 
> 
> 
> 
>
>
>
> Again, haven't tested this or anything... hope it helps.
>
>
> Courtney E. Payne, Developer
> Figleaf Software
> "We've got you covered"
> [EMAIL PROTECTED]
> www.figleaf.com
>
>
> -Original Message-
> From: Hassan Khawaja [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 06, 2000 12:45 PM
> To: [EMAIL PROTECTED]
> Subject: MULTIPLE COLUMN output problem!
>
>
> Hi all,
> I am experiencing a certain problem, and will try to explain it as well as
I
> can.
> I have a list of links that I am trying to output in a 2 column format,
very
> similar to Yahoo! main menu design. As you know there are main Categories
> listed with sub categories right underneath them. kind of like:
>
> NewsComputers
> - World, US..-Software, WWW...
>
> BusinessReference
> - B2B, Companies..- Encyclopedias, Lists..
>
>
> Now, I have in my database 2 tables - categories, and sub-categories,
which
> are linked together thru a category id. The idea is to ouput the
categories
> with their subcategories with them in a 2 column format.
>
> I can output 2 columns correctly if I only ouput the categories. or if I
> just output the subcategory. However it gets all very hairy if join the
> tables and output using the GROUP parameter of CFOUTPUT.
>
> The problem arises when there are a dissimilar number of subcategories for
> each category. In my code it looks for  0>  to determine if the current row's MOD 2 is 0 to know if 2 columns have
> already been output, but when there are different no. of subcategories,
this
> logic statement gets evaluated at the wrong point than the one I want it
to.
> Right now it is printing 3 columns for one row and only one column for
> another, while the rest of the rows are alright with 2 columns.
>
> What I mean is that if a certain category has 1 sub-cat. and the other has
2
> sub-cats, the output counts them as 3 rows total and instead of starting a
> new row after the category and its sub-cats have been output, it tries to
> start a new one as soon as  2 columns have been evaluated. So even though
> the 3rd row is still part of the main category, for the logic statement,
> it's a NEW row.
>
> Sample output:  [ numbers are rowcount ]
> --
--
> 
> 1-Administration2-Daily Reports
> 1- Areas |  2- Divisions |
>
> 3-Data Entry  4-Help
> 3- Products | 4- About |
>
> 5-MDS6-MSDS
> 5- Areas |   6- Facilities |
>
> 7-Process Control9-Production10-Reports
> ***problem
> 7- Business | 8- Divisional | 9- Reports |  10-Data |
> *** 3 columns
>
> 11-SSOP 12-Safety
>  11- Tasks | 12- Data |
>
> 13-Sales* problem
> 13- Facilities |   just 1 column***
>
>
>
> --
--
> 
>
>
> To stop confusing you fur

MULTIPLE COLUMN output problem!

2000-09-06 Thread Hassan Khawaja

Hi all,
I am experiencing a certain problem, and will try to explain it as well as I
can.
I have a list of links that I am trying to output in a 2 column format, very
similar to Yahoo! main menu design. As you know there are main Categories
listed with sub categories right underneath them. kind of like:

NewsComputers
- World, US..-Software, WWW...

BusinessReference
- B2B, Companies..- Encyclopedias, Lists..


Now, I have in my database 2 tables - categories, and sub-categories, which
are linked together thru a category id. The idea is to ouput the categories
with their subcategories with them in a 2 column format.

I can output 2 columns correctly if I only ouput the categories. or if I
just output the subcategory. However it gets all very hairy if join the
tables and output using the GROUP parameter of CFOUTPUT.

The problem arises when there are a dissimilar number of subcategories for
each category. In my code it looks for   to determine if the current row's MOD 2 is 0 to know if 2 columns have
already been output, but when there are different no. of subcategories, this
logic statement gets evaluated at the wrong point than the one I want it to.
Right now it is printing 3 columns for one row and only one column for
another, while the rest of the rows are alright with 2 columns.

What I mean is that if a certain category has 1 sub-cat. and the other has 2
sub-cats, the output counts them as 3 rows total and instead of starting a
new row after the category and its sub-cats have been output, it tries to
start a new one as soon as  2 columns have been evaluated. So even though
the 3rd row is still part of the main category, for the logic statement,
it's a NEW row.

Sample output:  [ numbers are rowcount ]


1-Administration2-Daily Reports
1- Areas |  2- Divisions |

3-Data Entry  4-Help
3- Products | 4- About |

5-MDS6-MSDS
5- Areas |   6- Facilities |

7-Process Control9-Production10-Reports
***problem
7- Business | 8- Divisional | 9- Reports |  10-Data |
*** 3 columns

11-SSOP 12-Safety
 11- Tasks | 12- Data |

13-Sales* problem
13- Facilities |   just 1 column***







To stop confusing you further, I am including the code snippet to accomplish
this:



SELECT   mnu_categories.category_id,
mnu_categories.category_name,
mnu_categories.category_url,
mnu_sub_categories.sub_cat_id,
mnu_sub_categories.sub_cat_name

FROM   mnu_categories, mnu_sub_categories
WHERE  mnu_categories.category_id = mnu_sub_categories.category_id
ORDER BY
  mnu_categories.category_name,
  mnu_sub_categories.sub_cat_name














 
 #currentrow#-#category_name#  

 
 #currentrow#-
 
#sub_cat_name# | 
 
 
   

  

  
  
  
 
  
   
 




I would really appreciate if anyone can help me with this. The code should
be able to take on any no. of subcategories and out put them nicely without
breaking.

Hassan Khawaja

---


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.



test

2000-06-20 Thread Hassan Khawaja

test

--
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.



CFHTTP doesn't know Client/Session vars exist. Please help.

2000-06-10 Thread Hassan Khawaja

Dear friends,
I have a peculiar problem at hand. I tried searching the forums and this
news group but couldn't find it discussed. I do apologise if it has been
addressed before.

I have an app. where when a user logs in, it goes out and fetches user
preferences, news, weather etc.
Calls to news/weather are CFHTTP, and the intention is to send the
location_id of the user to the weather module and it sends the weather based
on that id. When the user logs in, the app sets client vars including that
of location etc so they are available for that client.
Now when I fetch the weather, the template that processes weather gives an
error saying client.location_id does not exist. I also tried with session
variables, still it didn't work.
Since both the calling templates and the called templates reside on the same
server, I then tried calling it by the CFINCLUDE tag, which then
understandably remembers the client and session variables. However the
problem with cfinclude is that I can't resolve the links within the called
template accurately and they get all messed up.
Another thing I tried is to send the client vars thru the URL( the urls are
stored in a database) e.g.  where
object_url comes from the database and is of the form
http://blah.com/weather.cfm?location_id=#client.location_id#>. Problem with
this is that the url parameter that I m trying to send doesn't get
processed. Agh! and it just writes the word "client.location_id" as a
text string.

I would really appreciate any help. Preferably I'd like to use the cfhttp
method and somehow be able to send parameters with it.

Thanks
Hassan

--
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.



test - plz ignore

2000-05-23 Thread Hassan Khawaja



--
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: Remembering checked Checkboxes

2000-04-05 Thread Hassan Khawaja

Hi Seth,
Thanks for the reply, however your technique is similar to what I had tried
along with the one I posted- and it has it's own difficulty. Basically my
technique doesn't remember the correct checkboxes UNLESS all or none are
selected(it only checkmarks the first checkbox), Whereas, the one you
mentioned, puts checkmarks to ALL the boxes even if I select just one. It
does, however, remember correctly if all or none are selected.
I think that my whole logic maybe flawed to start with. Is there a true and
tried technique to populate checkboxes from a database? Do I have to use
arrays maybe?
I would appreciate all the help.
Hassan
Here are the Queries that I am using:
===




select contents.category_id,  category_name,  contents.content_id,
contents.content_name, content_url
from categories,  contents
 where (contents.category_id = #cat_id#) and
   (categories.category_id = #cat_id#)
Order By contents.category_id,  category_name, contents.content_id,
contents.content_name

=


 select user_content.content_id
from user_content, contents
where user_content.content_id = contents.content_id and
user_content.timber_id = 12 and
contents.category_id = #cat_id#
Order By contents.content_id, contents.content_name

==
Outputting - sorting by category


 #category_name#
  
   

Available Items [Click on the link to see a preview of that item]

 
 #content_name#


- Original Message -
From: Seth Petry-Johnson <>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 05, 2000 8:56 AM
Subject: Re: Remembering checked Checkboxes


> >4. Results of Query1are output. If an entry in query1 matches query2, it
is
> >CHECKED.
> >Here is the code I am using:
> >
> >  > 
> > CHECKED
> > >
> >
>
>
> I'm sure I totally understand what you are trying to do, but the above
code
> will only create *one* checkbox that may have a bunch of "CHECKED" strings
> in it.  To see what I mean just view the source code (HTML) for your form.
>
> I think you may want something like
>
> 
>  NAME="content_ID"
> VALUE="#AllContents.content_ID#"
> CHECKED="#YesNoFormat(AllContents.content_ID IS
> UserContents.content_id)#">
> 
>
> Regards,
> Seth Petry-Johnson
> Argo Enterprise and Associates
>
> --

> 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.



Remembering checked Checkboxes

2000-04-04 Thread Hassan Khawaja

Hi all,

It seems simple enough, but I'd like a little help. The problem I am having
is that it doesn't remember the selected checkboxes unless I select them
all, or don't select any( those it remembers). This is what I am
doing(trying to do):

1. A user selects some checkboxes (same field name, different values) and
clicks Save!
2. Existing database records for that user_id are looped through, deleted
and new selected ones are inserted(on multiple rows).
3. Query1 reads all the values for all the checkbox items, while another
Query2 reads the entries for that user.
4. Results of Query1are output. If an entry in query1 matches query2, it is
CHECKED.
Here is the code I am using:

 
 CHECKED
 >


Thanks for your help.
Hassan

--
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: ColdFusion Create RTF Files

2000-03-31 Thread Hassan Khawaja

I have done it using information Ms. Motlagh (thank you) posted in this
forum.
Here are the steps:

1. First, create the RTF template that you want in Word.
2. Save it as an RTF file.
3. Open it in NotePad or WordPad and you will see the code generated.
4. Find where your variables should be placed and replace the static text
with text like: [name]
5. Save this file.
6. Now, modify the following template for your purposes (make sure you point
to the correct location of the RTF template):









  
















- Original Message -
From: Cary Gordon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 5:06 PM
Subject: Re: ColdFusion Create RTF Files


> This is how we do it...
>
> FILE="fullyqualifiedfilepathto\somefile.rtf"
>OUTPUT="your rtf stuff with embedded variables">
>
> Make certain that you escape any pound signs in the rtf code.
>
> Cary
>
> At 03:00 PM 3/23/00 -0500, you wrote:
> >Does anyone have a working example of CF Code that will create an RTF
file ?
> >
> >It's my understanding that you need to start out with an RTF file with
the
> >appropriate CF tags in it.  You call this RTF file with CF Content ?
> >
> >Sorry to ask such a broad question.  Have never worked with RTF and I
need
> >to implement this now.  I would usually figure this out myself but I
don't
> >have the time on this one.
> >
> >Thanks list !!
> >
> >Jonathan
>
>
> Cary Gordon
> The Cherry Hill Company
>
> --

> 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: 4.5 cfhttp quandary

2000-03-31 Thread Hassan Khawaja

I am having the same problem. CFHTTP doesn't work at all and gives
Connection Failure error. I have put the proxy server information properly,
but still it doesn't.

- Original Message -
From: Mack, Chris R <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 24, 2000 9:56 AM
Subject: RE: 4.5 cfhttp quandary


> I don't know, but I too am having problems with CFHTTP in 4.5.  I am using
a
> stock ticker tag from the Allaire Tag Gallery, and it works fine on 4.01.
I
> upgraded my development server to 4.5 and the tag breaks at a certain
point.
> I installed the 4.5.1 RC1 and the tag breaks in a different place.
Haven't
> had the time to dissect the tag, but if anyone knows what I'm referring to
> I'd appreciate the insight.
>
> Thanks,
> Chris R. Mack
> Manager, Internet Strategies
> Lockheed Martin Technology Services
>
>
> -Original Message-
> From: Andy Lambert [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 24, 2000 12:15 PM
> To: [EMAIL PROTECTED]
> Subject: 4.5 cfhttp quandary
>
>
> Anybody know why I am getting a "Connection Failure" error on one of my
> CFHTTP calls now that I have upgraded to 4.5? I tried using the proxyport
> and port attributes separately, both set to 80, but this particular call
> will not work no matter what. I have two other CFHTTP calls in the same
doc
> that work fine.
> Please help.. :)
>
> --
--
> --
> 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: Forcing loading URL's into a frame

2000-03-28 Thread Hassan Khawaja

Use TARGET attribute for the URL's
- Original Message -
From: Jeff Sarsoun <[EMAIL PROTECTED]>
To: House of fusion ColdFusion (E-mail) <[EMAIL PROTECTED]>
Sent: Wednesday, March 22, 2000 10:48 AM
Subject: Forcing loading URL's into a frame


> This is a multi-part message in MIME format.
>
> --=_NextPart_000_000F_01BF9405.437A5060
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
>
> I am creating a CF tool for users to use while surfing the
>  web.  The tool will have a small toolbar that resides at
>   the top of the browser window in a frame.  I will
>   load a browser in the bottom frame for the user
>   to use.  The problem I am having is that when they click a
>   link it breaks the frames (of course)
>   and loads the url of the page.
>How could I retain the called
>   url, reload my frameset page and load the called
>   url into the bottom frame?  I don't think javascript
>   has the ability to do this due to security
>   restrictions, but I may be mistaken.
>
> --=_NextPart_000_000F_01BF9405.437A5060
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> 
> 
>  charset=3Diso-8859-1">
>
>
> 
> 
> I am creating a class=3D30334718-22032000>=20
> CF tool for users to use while surfing the web.  The =
> tool will=20
> have a small toolbar that resides at  the top of the browser =
> window in=20
> a frame.  I will  load a browser in the bottom frame for =
> the=20
> user  to use.  The problem I am having is that when they =
> click=20
> a  link it breaks the frames (of course)  and loads =
> the url of=20
> the page.   How could I retain the called  url, =
> reload my=20
> frameset page and load the called  url into the bottom =
> frame?  I=20
> don't think javascript  has the ability to do this due to=20
> security  restrictions, but I may be=20
> mistaken.
>
> --=_NextPart_000_000F_01BF9405.437A5060--
>
> --

> 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: Custom Configure a PC page for my site

2000-03-28 Thread Hassan Khawaja

Hi Chris,

Your problem seems simple enough, though I know a lot of thinking has to go
in the design to implement it. From what I can see, here are my thoughts.

 Have the system calculate the price of the system as-is when the page first
loads, i.e. default computer . You would probably be adding all the
pre-selected item prices, based on each item's item_id. So, when a user hits
reconfigure, have the query add the new item prices - again based on the
item_id. I don't think you woul dhave to worry about calculating differences
or anything.
e.g.
Default PC:
Item_nameItem_iditem_price
========
Pentium II 400   3 $200
64MB RAM  4$60
10 GB HD 8 $100
=
total$360
the SQL would be like this:

select sum(item_price) as totals
from items
where item_id in ( 3, 4, 8)

New PC:
Item_nameItem_iditem_price
========
Pentium III 800  9$500
128MB RAM5$120
10 GB HD 8 $100
=
total$720
the SQL would be like this:

select sum(item_price) as totals
from items
where item_id in ( 9, 5, 8)

since you item_id would be coming from a form, you could populate the WHERE
clause dynamically i.e. where item_id IN (#form.item_id#)

Hope that helps

Hassan

- Original Message -
From: Chris Farrugia <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 27, 2000 2:44 PM
Subject: Custom Configure a PC page for my site


> I am making a page on my site where users can custom configure a new PC.
> There is a form with drop down boxes where they choose the processor, RAM,
> hard drive, etc, and then hit a submit type button.  For processor, the
> choices might be:
>
> Pentium III 700mhz
> Pentium III 600mhz (subtract $100)
> Pentium III 500mhz (subtract $175)
>
> Once all of the choices are made, they click on a "submit" type of button
> and it takes them to a page that shows them their choices and gives them a
> price.  All of the products and prices used to populate the form are
coming
> out of a database of products.  Now, lets say that they don't like the
price
> they get...  they can hit a button "Re-Configure" and go change the form
and
> resubmit it.  When the system is exactly the way they want it, they can
> click an order button and the system is theirs.  With this overview, here
> are my questions:
>
> 1.  When they click on a machine to custom configure (such as an office
> machine), there will be certain products already chosen in the form as a
> standard.  For instance, an office machine might start iwth a Pentium III
> 600 with 64mb of ram, but they'll be able to increase or decrease these
> specs to make it better suite their needs and budget.
>
> 2.  I don't know how I am going to have the database calculate the
> difference in price between the default product (the one that is
preselected
> in the form), and the others that they can choose from.
>
> 3.  If they hit reconfigure, how will I have it now show the products they
> chose the first time around as the new default options in the drop down
box?
>
> If I could get answers to these three questions, I would be able to finish
> my site.  Thank you for all of your help.
>
> --

> 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.



A Great Free CFML editor

2000-03-27 Thread Hassan Khawaja

This is a multi-part message in MIME format.

--=_NextPart_000_012B_01BF97E1.7CB13FD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all,
Recently I dowloaded and tried a new CF editor, which IMHO is an awesome =
tool, and best of all its FREE(freeware and not shareware). If you all =
haven't yet tried EVR Soft's 1st Page 2000, it's at =
http://www.evrsoft.com . I think it's a strong competitor to CF Studio =
as far as functionality is concerned. The interface is very similar to =
CF STudio and also has menus for JavaScript, WebTV, ASP, SSI's, and =
comes built in with hundereds of javascripts, perl scripts to use. The =
menu bars come in different styles based on your level of expertise i.e. =
for beginners it has more icons and text and few buttons, and it also =
has expert and hardcore modes.

Has anyone else used it? what has been your experience with it?

I was mainly interested in how it handled CF tags, and when you select a =
tag it writes the tag with all its available options - which is a great =
help. It's not strictly a CF editor, but I think it's worth it.=20

Tucows gave it 5 stars

Thanks,
Hassan

--=_NextPart_000_012B_01BF97E1.7CB13FD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable








Hi all,
Recently I dowloaded and tried a new CF =
editor,=20
which IMHO is an awesome tool, and best of all its FREE(freeware and not =

shareware). If you all haven't yet tried EVR Soft's 1st Page 2000, it's =
at http://www.evrsoft.com">http://www.evrsoft.com . I think =
it's a strong=20
competitor to CF Studio as far as functionality is concerned. The =
interface is=20
very similar to CF STudio and also has menus for JavaScript, WebTV, ASP, =
SSI's,=20
and comes built in with hundereds of javascripts, perl scripts to use. =
The menu=20
bars come in different styles based on your level of expertise i.e. for=20
beginners it has more icons and text and few buttons, and it also has =
expert and=20
hardcore modes.
 
Has anyone else used it? what has been =
your=20
experience with it?
 
I was mainly interested in how it =
handled CF tags,=20
and when you select a tag it writes the tag with all its available =
options -=20
which is a great help. It's not strictly a CF editor, but I think it's =
worth it.=20

 
Tucows gave it 5 stars
 
Thanks,
Hassan

--=_NextPart_000_012B_01BF97E1.7CB13FD0--

--
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.