password protected directory
Hi Folks I am creating an online library (mainly pdfs with some MSWord) on windows based server administered primarily with Plesk. Subscribers have to log in using unique passwords stored in a data base. What is the simplest way to protect the library directories. I can't figure out how to integrate my login with the windows/plesk login. Thanks Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Assessing Skills and Discerning Calls http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350191 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
sartis
hello, I'm wondering if someone can help me or point me to an example of the following: I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a show more button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs?? I'm using CF 9, javascript and sql server. Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there. Thanks. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350192 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sartis
The easiest and least obtrusive way i can think of would be to build the pagination into the page, as if you wanted it to function like it was paging without ajax. Then, use a jquery load call for the link, here is the doc for jquery load: http://api.jquery.com/load/ The key javascript call looks like this: $('#result').load('page.cfm?page=2 #result'); This basically says go get page.cfm and find the container with ID result and load it into the div with ID result on this page. Then result needs to be the wrapper around the table / content you are paginating. On Fri, Mar 2, 2012 at 8:01 AM, steve artis st...@artisdesigns.com wrote: hello, I'm wondering if someone can help me or point me to an example of the following: I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a show more button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs?? I'm using CF 9, javascript and sql server. Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there. Thanks. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350193 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Thank you for your response. I did take the .. away: cfinclude template=/includes/sponsors.cfm and it still did not display the include. There are not any errors that pop up, it just does not display. Thank you, Eileen Are you sure you need the .. in front of the first slash? It could be a relative path issue. What errors are you getting? Best regards, Bill Franklin -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Thursday, March 01, 2012 3:16 PM To: cf-talk Subject: CFinclude issues I am trying to code a cfinclude on a template page: cfinclude template=../includes/sponsors.cfm to show this include when its pages are displayed. The name of the include is correct, the location it is directing to is correct, but it will not work. Does someone have an easy solution to help me? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350194 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sartis
1000 ways to do this. For grid-style data, I've enjoyed http://tablesorter.com/docs/example-pager.html On Fri, Mar 2, 2012 at 9:01 AM, steve artis st...@artisdesigns.com wrote: hello, I'm wondering if someone can help me or point me to an example of the following: I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a show more button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs?? I'm using CF 9, javascript and sql server. Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there. Thanks. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350195 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
By 'not work' I mean the include does not display. There is no error message, just a page not displaying the include. Thank you, Eileen What do you meanby it does not work, is there an error, the file is not included, what? Regards Russ Michaels From my mobile On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: sartis
http://cutterscrossing.com/index.cfm/jqgrid Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 3/2/2012 10:01 AM, steve artis wrote: hello, I'm wondering if someone can help me or point me to an example of the following: I have an application that has a search page. If a user does a search, it can kickback any number of records. I want to be able to display 10 records at a time and then display a show more button and it would load 10 more records(showing the 1-10 too), and the user could click the show more button until the end of the recordset...etc. I do not want a page refresh. What is the best way to accomplish this? Ajax? A cached coldfusion query with hidden divs?? I'm using CF 9, javascript and sql server. Also, if you view the homepage of linkedin, there is a perfect example of what I'm describing there. Thanks. Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350197 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFinclude issues
Try a cfabort showerror=Here I am in the included page. Also, try using the fully qualified path name for the include to see if that works. Freundliche Grüße / Best regards, Bill Franklin Computer Integrated Mfg. Bayer CropScience LP 8400 Hawthorne Road, Room 2447 Kansas City, MO 64120 Tel: +1 816 242 2148 Fax: +1 816 242 2047 E-mail: bill.frank...@bayer.com Web: http://www.bayercropscience.com Vorstand: Sandra E. Peterson, Vorsitzende | Lykele van der Broek, Achim Noack, Rüdiger Scheitza, Michael A. Schulz Vorsitzender des Aufsichtsrats: Werner Baumann Sitz der Gesellschaft: Monheim am Rhein | Eintragung: Amtsgericht Düsseldorf, HRB 46985 -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 9:08 AM To: cf-talk Subject: Re: CFinclude issues Thank you for your response. I did take the .. away: cfinclude template=/includes/sponsors.cfm and it still did not display the include. There are not any errors that pop up, it just does not display. Thank you, Eileen Are you sure you need the .. in front of the first slash? It could be a relative path issue. What errors are you getting? Best regards, Bill Franklin -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Thursday, March 01, 2012 3:16 PM To: cf-talk Subject: CFinclude issues I am trying to code a cfinclude on a template page: cfinclude template=../includes/sponsors.cfm to show this include when its pages are displayed. The name of the include is correct, the location it is directing to is correct, but it will not work. Does someone have an easy solution to help me? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350198 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
if there is no error then the cfinclude is working, the content is simply not being disaplyed. Do you have a cfsetting somewhere set to only display cfoutpout maybe ? On Fri, Mar 2, 2012 at 3:28 PM, Bill Franklin bill.frank...@bayer.comwrote: Try a cfabort showerror=Here I am in the included page. Also, try using the fully qualified path name for the include to see if that works. Freundliche Grüße / Best regards, Bill Franklin Computer Integrated Mfg. Bayer CropScience LP 8400 Hawthorne Road, Room 2447 Kansas City, MO 64120 Tel: +1 816 242 2148 Fax: +1 816 242 2047 E-mail: bill.frank...@bayer.com Web: http://www.bayercropscience.com Vorstand: Sandra E. Peterson, Vorsitzende | Lykele van der Broek, Achim Noack, Rüdiger Scheitza, Michael A. Schulz Vorsitzender des Aufsichtsrats: Werner Baumann Sitz der Gesellschaft: Monheim am Rhein | Eintragung: Amtsgericht Düsseldorf, HRB 46985 -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 9:08 AM To: cf-talk Subject: Re: CFinclude issues Thank you for your response. I did take the .. away: cfinclude template=/includes/sponsors.cfm and it still did not display the include. There are not any errors that pop up, it just does not display. Thank you, Eileen Are you sure you need the .. in front of the first slash? It could be a relative path issue. What errors are you getting? Best regards, Bill Franklin -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Thursday, March 01, 2012 3:16 PM To: cf-talk Subject: CFinclude issues I am trying to code a cfinclude on a template page: cfinclude template=../includes/sponsors.cfm to show this include when its pages are displayed. The name of the include is correct, the location it is directing to is correct, but it will not work. Does someone have an easy solution to help me? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: password protected directory
use ,htaccess is the easiest way, you can pickup the login via CF (dump out the headers) and then do your own additional authentication to determine access levels etc. if you use CF alone to handle logins then this only secures cfm files and not other file types which are in your web accessible folders. On Fri, Mar 2, 2012 at 2:58 PM, Rob Voyle robvo...@voyle.com wrote: Hi Folks I am creating an online library (mainly pdfs with some MSWord) on windows based server administered primarily with Plesk. Subscribers have to log in using unique passwords stored in a data base. What is the simplest way to protect the library directories. I can't figure out how to integrate my login with the windows/plesk login. Thanks Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Assessing Skills and Discerning Calls http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350200 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFinclude issues
This is a stab in the dark - but it did catch me once. It's not a cfinclude on a cfincluded page, is it? I didn't bother to test it just now but I don't believe that will work. I'd check Firebug or IE F12 to see if it gives you a clue. -Original Message- From: Eileen Harberts [mailto:eil...@tdai.net] Sent: Friday, March 02, 2012 10:09 AM To: cf-talk Subject: Re: CFinclude issues By 'not work' I mean the include does not display. There is no error message, just a page not displaying the include. Thank you, Eileen What do you meanby it does not work, is there an error, the file is not included, what? Regards Russ Michaels From my mobile On 1 Mar 2012 21:16, Eileen Harberts eil...@tdai.net wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350201 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
On Fri, Mar 2, 2012 at 1:26 PM, Stephens, Larry V steph...@iu.edu wrote: This is a stab in the dark - but it did catch me once. It's not a cfinclude on a cfincluded page, is it? I didn't bother to test it just now but I don't believe that will work. For the record, that *will* work. -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350202 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
This is a stab in the dark - but it did catch me once. It's not a cfinclude on a cfincluded page, is it? I didn't bother to test it just now but I don't believe that will work. This will work fine, actually, just like Cameron said, unless you include a file that includes the file you're including. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
unless you include a file that includes the file you're including. Even this will work, provided you have a test to stop the recursive loop. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350204 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFinclude issues
Aren't they all also relative to the original including templates path though even though they're nested? I feel like I got bitten by that once... -Original Message- From: =?ISO-8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?=.outdoors.org [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneegans@interneti=71?=.outdoors.org] Sent: Friday, March 02, 2012 2:21 PM To: cf-talk Subject: Re: CFinclude issues unless you include a file that includes the file you're including. Even this will work, provided you have a test to stop the recursive loop. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350205 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Aren't they all also relative to the original including templates path though even though they're nested? I would say yes. Better do this in the same directory. Any way, I do not relly see a good occasion for using recursive includes, because they will all work on the same variable scope. I sometimes use recursive custom tags though. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350206 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Not to state the obvious, but you are trying to include it from a .cfm page right? You cannot use a cfinclude on a .htm page. On Fri, Mar 2, 2012 at 2:16 PM, wrote: Aren't they all also relative to the original including templates path though even though they're nested? I would say yes. Better do this in the same directory. Any way, I do not relly see a good occasion for using recursive includes, because they will all work on the same variable scope. I sometimes use recursive custom tags though. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350208 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350209 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350210 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFinclude issues
Actually you can... The web server can be set up to have ColdFusion process any file you want it to. I had to work on one site once where it was all ColdFusion, but all the extensions were .htm. -Original Message- From: Brian Cain [mailto:bcc9...@gmail.com] Sent: Friday, March 02, 2012 4:01 PM To: cf-talk Subject: Re: CFinclude issues Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350211 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Do a view source Depending on the server .html could be rendered at cfm On Fri, Mar 2, 2012 at 3:56 PM, Andrew Scott andr...@andyscott.id.au wrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350212 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Well the point was lost, because saying you can, implies that it can be called or used by ColdFusion. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 8:00 AM, Brian Cain bcc9...@gmail.com wrote: Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.au wrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350213 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Custom Tags
Hi All, I am having a challenge getting to my CF administrator page. CF 9.01, Windows 2008. I've been working on it for a bit with no solution. My question is, I have to install a custom tag. Is there any way to install a custom tag without using CF Administrator page? Thanks in advance! Greg ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350214 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Custom Tags
I am having a challenge getting to my CF administrator page. CF 9.01, Windows 2008. I've been working on it for a bit with no solution. My question is, I have to install a custom tag. Is there any way to install a custom tag without using CF Administrator page? Thanks in advance! What kind of custom tag is it? If it's a CFML custom tag, no installation is required. If it's some other sort of custom tag, you might be able to do it through the admin API: http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf364104-7fcf.html If not, you can probably edit the appropriate configuration file directly: http://kb2.adobe.com/cps/000/94a16ba6.html Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or on ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350215 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Custom Tags
you do not need to go anywhere near the cfadmin to use custom tags. CF will first look in the current folder for the custom tag, if it is not there then it will look in custom tag paths, You can set per application custom tag paths in your application.cfc or you can use CFIMPORT to import custom tag libraries. although if you cannot access your cfadmin it seems you have some other issues to worry about. On Fri, Mar 2, 2012 at 10:46 PM, Greg Edmonds edmo...@sitecon.com wrote: Hi All, I am having a challenge getting to my CF administrator page. CF 9.01, Windows 2008. I've been working on it for a bit with no solution. My question is, I have to install a custom tag. Is there any way to install a custom tag without using CF Administrator page? Thanks in advance! Greg ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Zen Desk Single Sign On
Just about to work on getting the Single Sign on for ZenDesk working this weekend. Before I start I thought I would check if any one had already done it and had any code they wanted to share? Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350217 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Andrew: You must have meant that for the other guy. My original reply said you cannot use cfinclude in a .htm file. I will add the addendum that being the case in a traditional server configuration. Brian Cain On Mar 2, 2012, at 4:06 PM, Andrew Scott andr...@andyscott.id.au wrote: Well the point was lost, because saying you can, implies that it can be called or used by ColdFusion. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 8:00 AM, Brian Cain bcc9...@gmail.com wrote: Yes Andrew, that was the point I was making. On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.au wrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350218 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFinclude issues
Then it is not an html file then is it, if someone sets the server up to server files to ColdFusion server, I would not consider this an html file. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 8:07 AM, Brian Thornton br...@cfdeveloper.comwrote: Do a view source Depending on the server .html could be rendered at cfm On Fri, Mar 2, 2012 at 3:56 PM, Andrew Scott andr...@andyscott.id.au wrote: Actually you can't being an html file, it will never be run by ColdFusion, and will only be seen as a standard html comment. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/108193156965451149543 On Sat, Mar 3, 2012 at 7:53 AM, wrote: You cannot use a cfinclude on a .htm page Well, actually you can, ... but it will include nothing ;-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350219 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Zen Desk Single Sign On
Well, it was super easy to implement! I just created a page on my server called zendesk_auth.cfm. Zendesk sends login requests here and I send back a response after logging the user in, or if the user is already logged in. In my code, if a user is not logged in I redirect to a login page which sends them back to zendesk after authentication (you have to pass around the timestamp and return_to values to send back). This is basically the code I used, I didn't include my login page and login check, but that's pretty simple... !--- zendesk_auth.lf Description: Called from zendesk when a user attempts to log in at zendesk. Check if the user is already logged in here and send that info to zendesk or show the login page (zendesk themed) and let them log in here and redirect to zendesk Parameters: @param {String} url.return_to The url to return to @param {Number} url.locale_id @param {Number} url.timestamp --- cfparam name=url.timestamp default= cfparam name=url.return_to default= cfset sToken= application.gs.zendesk_sharedsecret !--- you get this from zendesk --- cfset sUrl = '' cfset sMessage = '' cfset sDigest = '' !--- user is logged in send back to zendesk --- cfif structKeyExists(client,'isLoggedIn') !--- create auth string and send back to zen desk --- cfset sMessage = client.name client.username sToken url.timestamp cfset sDigest = hash(sMessage) !--- and the url --- cfset sUrl = url.return_to '?name=' urlencodedformat(client.name) 'email=' urlencodedformat(client.username) 'timestamp=' url.timestamp 'hash=' sDigest !--- redirect back to ZenDesk --- cflocation url=#sUrl# /cfif !--- not logged in, show login screen --- cfinclude template=zendesk_login.lf -Original Message- From: Brook Davies [mailto:br...@logiforms.com] Sent: March-02-12 3:35 PM To: cf-talk Subject: Zen Desk Single Sign On Just about to work on getting the Single Sign on for ZenDesk working this weekend. Before I start I thought I would check if any one had already done it and had any code they wanted to share? Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: password protected directory
Sounds like you could have the files in a non public directory like c:/docs Once users are autheticated, you might just have a link to getpdf.cfm?filename=myfile.pdf. The getpdf.cfm would just have a cfcontent tag which reads the pdf from the private c:/docs directory and sets the proper mime type. Byron Mann Lead Engineer and Architect Hostmysite.com On Mar 2, 2012 9:58 AM, Rob Voyle robvo...@voyle.com wrote: Hi Folks I am creating an online library (mainly pdfs with some MSWord) on windows based server administered primarily with Plesk. Subscribers have to log in using unique passwords stored in a data base. What is the simplest way to protect the library directories. I can't figure out how to integrate my login with the windows/plesk login. Thanks Rob Robert J. Voyle, Psy.D. Director, Clergy Leadership Institute For Coaching and Training in Appreciative Inquiry Author: Assessing Skills and Discerning Calls http://www.clergyleadership.com/ 503-647-2378 or 503-647-2382 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350221 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm