Display a different web page according to the day.

Hi all

A beginner total question here because I'm not sure how to start this project.

I have a new page on my site from work and asked that every Friday, the displays a page of differnet: a summary of the new weeks... (I've never used cfm for the things of database so it is a new direction for me).

I don't know where to start. I could get coldfusion to find the date and time, but how could I get it to display a different page depending on what day it is?

No guidance to get me in the right direction would be appreciated.

Thank you

Paul.

don't forget the dayofweek () /dayofweekasstring () functions, too!

If it's a good html/cfm page summary of the week you have,
You can simply use to redirect to your original page
a new if today is Friday...

That is to say, at the top of your original news page add:



---
Azadi Saryev
SABAI - Dee.com
http://www.SABAI-Dee.com

Tags: ColdFusion

Similar Questions

  • Is it possible to scale the pages according to the browsers of different size?

    Is it possible to scale the pages according to the browsers of different size?

    Your question has been addressed in our FAQ forum under the heading: you can change the layout of your site based on the browser, the size of the screen? (delicate design)

    Please see the following link for more information: http://forums.adobe.com/message/4313082#4313082

  • I want to auto generate a word from a PDF document. Firstly, the OCR must identify the document. Then I want to be able to select the character 'areas' where the text will be different by document according to the document. Again, I want this automated pr

    I want to auto generate a word from a PDF document. Firstly, the OCR must identify the document. Then I want to be able to select the character 'areas' where the text will be different by document according to the document. Again, I want this automated process.

    We have many forms in our records. From these forms, we generate a list of documents that fully represents what is in the file. To create a list of accurate documentation of a specific file, I have to manually go page-by-page, extract specific information (they are in the same place) and the list of documents manually. I want to automate this process.

    The function of OCR in Acrobat does not 'zone' OCR.

    Server as "automation" is not supported by Acrobat (by license and by design). Acrobat is a desktop application, and so many activities can be "automated" via Acrobat JavaScript and Acrobat Actions (a feature of the 'Pro' version) a hot body will have to be available to keep things moving along.

    From what write you it's maybe that your specific needs would be better served by a category Server product. To research these remember Bing / Google is your friend.

    Be well...

  • How can I 'include' a file different php depending on time? Work on a 'Happening Now' page for an event and the need to plan a different content to load as the day continues. Thank you!

    Work on a 'Happening Now' page for an event and the need to plan a different content to load as the day continues. Thank you!

    The event has class sessions all day (3 days). I would like the page happening now to show what classes are going on right now and what is coming up next. I was hoping just to separate configuration files and load them when necessary, but open to all suggestions.

    PHP has a powerful set of date and time functions.

    To do this is to create a DateTime object and then use conditional logic to include the files you want. A better way would be to keep the details in a database and use the time to retrieve and display the details you want.

    A DateTime object using:

    $now = new DateTime();

    $hour = $now-> format ('G'); This gives you time to the 24 hour clock.

    If ($hour == 13) {}

    It is between 13:00 and 14:00

    } else if ($hour == 14) {}

    It is between 14:00 and 15:00

    } ....

  • How to communicate between two SWFs residing in different web pages

    Hello

    I don't know about the connection class Local linking two SWFs in the same web page.

    But, kindly let me know if there is a way to connect to two sovereign wealth funds residing in different web pages.

    Thank you.

    LocalConnection can be used for sovereign funds in different Web pages.  they may even be in different browsers or even not in a browser.

    they have just the two must be open on the same local computer at the same time.

    If they are both open on the local computer even at different times, use the sharedobject.  otherwise, use localconnection.

  • When I scroll a certain Web page, browser reloads the page upward, this happens even if I change the browser... Why? Help, please!

    When I scroll a certain Web page, browser reloads the page upward, this happens even if I change the browser... Why? Help, please!


  • All of a sudden, I can't print any web page. After the print command, she wants to save it to an XPS file.

    All of a sudden, I can't print any web page. After the print command, he wants me to save a file in XPS, and I can't spend.

    This has happened

    Each time Firefox opened

    Is a few weeks ago

    In the print dialog box, change the selected Microsoft XPS Document Writer printer in your printer you want.

  • How can I get my example Yahoo web pages to fit the screen of my computer?

    How can I get my example Yahoo web pages to fit the screen of my computer?  When I open yahoo page is longer then the screen of my computer. This is happening on all pages, when I opened.

    Advisor.

    Andy

    original title: computer screen

    Hello!

    Try this:
    1. shoot to the top of your Internet explore
    2. go to the toolbar at the top of the page go to hell VIEW > ZOOM > and adjust the size of the page that will fit your window.
    Hope this helps,
    Thank you
    Makoi
  • was on a website and now cannot accrss now because I get a web page saying in the Application Server error ' / '.

    In the Application Server error ' / '.

    I was on a website and now can't accrss now because I get a web page saying in the Application Server error ' / '.

    Hello

    1 have had any changes made to the computer before the show?

    2. which antivirus software do you use?

    3. what Internet Explorer that you are using?

    Method 1:

    Try to disable add-ons in Internet Explorer 9 and check if it helps.

    How to manage add-ons in Internet Explorer 9

    http://Windows.Microsoft.com/en-us/Windows7/how-to-manage-add-ons-in-Internet-Explorer-9

    Method 2:

    How to optimize Internet Explorer

    http://support.Microsoft.com/kb/936213/no

    (Also applies to Internet Explorer 9)

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Hope this information is useful.

  • No sound from web pages that require the use of flash player

    flash drives

    All of a sudden I can't sound to web pages that require the use of flash drives: I use Vista Home premium

    All of a sudden I can't sound to web pages that require the use of flash drives: I use Vista Home premium

    ===============================
    I don't know if it applies to your question, but some
    video on the net sites have volume control
    You can set.

    For example... on YouTube... move your mouse
    pointeur pointer on the "speaker" icon, then drag to adjust
    volume.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Question: CP9: color of the web page outside of the project area.

    CP9, HTML5, output only.

    Hello

    Question: How can I change the color of the web page outside of the project area?

    I want that my projects in 100% white as in example 1.

    I tried changing all kinds of options on the slide master and made sure that both projects have the same settings, but I still get a gray color as in example 2.

    (If the solution is to edit the index.html file or any other file I'm happy about it).

    Any help will be much appreciated.

    Thank you

    Peter.

    Example 1

    This project page is 100% white.

    border01.png

    Example 2

    This is another project, but the page outside of the project area is a very pale gray.

    border02.png

    Hi Peter,.

    You can change the color of the HTML box around the Captivate project from:

    1. in the menu bar, click themes and select the skin editor.

    2. in the skin Editor window, open the borders page (second means of icon on the left, under the name of skin).

    3. in the theme section, specify the background color of the HTML.

    This solves your question?

  • After I do a search for a particular Web site and click on the link, I have redirected to a completely different Web page that has nothing to do with the site I was looking for.

    When I click on the link from a web page I get redirected to a completely different page. How can I stop this?

    It seems that your computer is infected.  You can continue cleaning your system getting assistance at a forum free online, as one of those listed below, who specialize in solving these issues...  You will need to register first.

    Malware removal Forum
    Safer-Networking Forum

    What is the Tech Forum

  • Preview in the browser will not display Web page or see the right url for the page

    In the maintenance of our Web site, we use Dreamweaver MX. Recently, chrome has disappeared from the list of browsers to preview in the browser. IEXPLORER would have no lonnger loading page. I added Chrome, but Chrome now does not display pdf pages or the web address for the page that we use to generate links to other documents and Web pages. Can anyone help with some advice on the preview correctly in the browser an especially CDPlus generate the url for us to use to generate links to the page?

    Thank you.

    Ok.  A glimpse that you use in your DW preferences, with temporary files?  If so, disable it.

    Nancy O.

  • Add the Classifieds to find big, I have the ability to take off and do it, but it remains and these display around my web pages especially Sky Sport adds.

    I discovered recently when I log on sky Sport my Web page gets cluttered with ads "Ali Express" there is a name adds find many. I found it in my add on and gives me the possibility to disable or remove. I choose to remove and it is deleted. Unfortunately the next time I connect it is back. Even when it is deleted adds still appear. I have sent a screenshot to sky sports and they advised I check with Firefox that I need to get rid of what is an insult to have to continue to see this nonsense. I hope that you are able to help.
    Thank you Alwyn.

    See this help to remove that malicious software.
    http://malwaretips.com/blogs/ads-by-great-find-removal/

  • With ADF Mobile, I can make a mobile web page independent of the resolution?

    Hi all.

    I am involved in a kind of mobile web project that can use mobile ADF.

    The most important question now is resolution problem.
    This project will use multi-devices(smart phones).

    Should I make each page by a device with its own resolution?
    Or is there another solution?

    Please advise me.

    Thank you.

    Hi, Jayce, you should not create different pages for different mobile devices. In general, as long as you use components of layout as panelGrouplayout or panelLabelAnd Message around user interface components such as outputText, then those controls would be based on the size of the available screen. You just specify the wdith of these controls on Panel at 100% so that it matches the width of the unit.

    It has so far, little a problem where the resolution of the smartphone is so high that the text fields are too small (like the iPhone or BlackBerry "BOLD" which has half-VGA resolution), then you must include this statement in part trh:Head of your page:
    Content = "width = device-width;" initial-scale = 1.0; maximum scale = 1.0; user-scalable = 0; » />

    This sets the port to display the page and sets the factor of scale accordingly, so that the size of the text appear 'normal '.

    Also, if you want more style your application, you will get an aspect native deive with style sheets.

    There are examples of this in http://www.oracle.com/technology/tech/wireless/adf_mobile.html. Locate the sample FOD or Mobile Banking. Mobile Banking has a more complete set of stylesheets and of code examples that you can use. Mobile Banking has not been added yet, but I will do that soon.

    Feel free to contact me directly if you have any other questions. [email protected].

    Thank you

    Joe Huang

Maybe you are looking for

  • Cannot download iphoto where is he on maverick

    1. cannot find iphoto to load 2 the image says not connected to the camera of my iphone

  • How to reinstall the Miniport Tun Microsof card on laptop?

    In Device Manager I uninstall the device and now I need to reinstall the device

  • Excel file is not recognized by Matlab

    Hello I'm saving my data (with headers) using the function 'Write to a spreadsheet file' in file .xls. Windows will recognize such as Excel and it opened ok. But when I'm reading in Matlab by function "xlsread", I get an error "not in the Microsoft E

  • HP envu 4500 on XP embedded

    Hello I tried to install a built-in desire 4500 on xp, but it will not be printed. During installation (cd), it's already past evil. Most of the installation files is reported missing and the installation program tells me (for ex) cannot find the fil

  • BlackBerry Smartphones SSL POP3 and SMTP

    I get emails from fix the SSL for POP3 and SMTP settings.  I have it configured in the settings of my primary e-mail for my client.  What I define as well for my Blackberry? And if so, how?