ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 26th, 2005, 10:26 PM
saxy46 saxy46 is offline
SWAT
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: baltimore
Posts: 5 saxy46 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 12 sec
Reputation Power: 0
Send a message via AIM to saxy46 Send a message via MSN to saxy46
Monthly Updated Links

Hello,

I am looking into developing a featured client link for a website. They want the featured client to change each month. The the list of clients is all ready for the year. I was thinking of creating a dynamically driven link or something that would point the user to the new client page each month so I would not have to update the link 12 times a year if it was a static link. I saw that this can be done in javascript, but I figured it would be cleaner if it was done in cold fusion or asp. I am still a beginner with these programs, but I understand cold fusion a bit more. Any help would greatly be appreciated. I also do not plan to use any database for this either.

Reply With Quote
  #2  
Old January 27th, 2005, 08:25 AM
kiteless kiteless is offline
Moderator
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,661 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 4 Days 14 h 23 m 22 sec
Reputation Power: 53
I'm not sure what you are asking. If you want to know if ColdFusion can output a dynamically generated link, then the answer is yes. The docs cover this, and any book on ColdFusion development will talk about this in the first 50 pages. Though without a database, I'm not sure how you are going to "tell" the code what link you want to show up when. You could use an XML file or something, but this will be more complex than using a database.
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old January 27th, 2005, 09:02 AM
Black Adder Black Adder is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 16 Black Adder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 47 m 27 sec
Reputation Power: 0
Since you don't want to use a database, the easiest way would be to make a case-selection ( month(now()) ), with the URL hardcoded for every case(month). Nevertheless I would be interested why u are using ColdFusion for your website without a database?

Reply With Quote
  #4  
Old February 7th, 2005, 09:55 PM
marathon851 marathon851 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 4 marathon851 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 14 sec
Reputation Power: 0
hi, in your post you mention that this can be done with javascript, can you provide me with a link or the script??..i'm trying to do the same thing as you and javascript would be fine for my application, but I can't find a script

Thank You!

Quote:
Originally Posted by saxy46
Hello,

I am looking into developing a featured client link for a website. They want the featured client to change each month. The the list of clients is all ready for the year. I was thinking of creating a dynamically driven link or something that would point the user to the new client page each month so I would not have to update the link 12 times a year if it was a static link. I saw that this can be done in javascript, but I figured it would be cleaner if it was done in cold fusion or asp. I am still a beginner with these programs, but I understand cold fusion a bit more. Any help would greatly be appreciated. I also do not plan to use any database for this either.

Reply With Quote
  #5  
Old February 8th, 2005, 08:58 AM
Shane_Z Shane_Z is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Location: In denial
Posts: 22 Shane_Z User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 57 m 52 sec
Reputation Power: 0
Send a message via MSN to Shane_Z
I agree with BlackAdder and breaking it out by the month. I'd create a 12 element array and set the site for each month. You could then pull the site out of the array when you make the link. Not the most elegant solution, nor the best but it will work

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Monthly Updated Links


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway