Skip to main content
Participating Frequently
April 27, 2006
Answered

I need help on a main page. basic for u but not for me

Hello,

I need help on a main page.

I have this page called themainpage.cfm which someone here asked me to make it the main page of my cf pages.

I have 2 pages right now in testing server.

Bloicpage.cfm
And
Index.cfm

When you go to
Server.myappfolders/repfolder


It let you go to

Server.myappfolders/rep/folder/ Bloicpage.cfm


Page.

I need for the themainpage.cfm to be the default when typing

Server.myappfolders/repfolder


Then have a link to the Bloicpage.cfm and a back button to go back to the mainpage.cfm

Many thanks
This topic is closed to new replies. Start a new post to keep the conversation going.
Dan_BracukCorrect answer
Inspiring
April 28, 2006
If you want themainpage to be your default page, you have to re-name it index.cfm. Give your current index.cfm another name first.

5 replies

Dan_BracukCorrect answer
Inspiring
April 28, 2006
If you want themainpage to be your default page, you have to re-name it index.cfm. Give your current index.cfm another name first.
Translate
Inspiring
April 27, 2006
What is currently in index.cfm?
Translate
Participating Frequently
April 27, 2006
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" media="all" href="/shared/scripts/calendar_adv/calendar-win2k-cold-1.css" title="win2k-cold-1" />

<!-- main calendar program -->
<script type="text/javascript" src="/shared/scripts/calendar_adv/calendar_stripped.js"></script>

<!-- language for the calendar -->
<script type="text/javascript" src="/shared/scripts/calendar_adv/lang/calendar-en.js"></script>

<!-- Calendar.setup helper function-->
<script type="text/javascript" src="/shared/scripts/calendar_adv/calendar-setup_stripped.js"></script>

</head>

<body>

<h1>TITLE</h1>

<cfquery name="getCaseTypes" datasource="db9i">
Select CTCODE, CDDF
From TCTYPE
Where CDDF = 'Y'
order by CTcode
</cfquery>

<div align="center">
<form name="theForm" action="Bloicpage.cfm/test.csv" method="post">
From Date:   <input type="text" name="startDate" id="id_startDate" value="" />
<img src="/shared/images/calendar.gif" id="startDate_trigger" />
<script type="text/javascript">

Calendar.setup(
{
inputField : "id_startDate",
ifFormat : "%m/%d/%Y",
button : "startDate_trigger",
singleClick : true,
weekNumbers : false,
step : 1
}
);
</script>

To Date:   <input type="text" name="endDate" id="id_endDate" value="" />
<img src="/shared/images/calendar.gif" id="endDate_trigger" />
<script type="text/javascript">

Calendar.setup(
{
inputField : "id_endDate",
ifFormat : "%m/%d/%Y",
button : "endDate_trigger",
singleClick : true,
weekNumbers : false,
step : 1
}
);
</script>

<BR /><BR />
Case Types:  
<select name="case_typ_code" size="1">
<option value="ALL">ALL</option>
<cfoutput query="getCaseTypes">
<option value="#CTCODE#">#CTCODE#</option>
</cfoutput>
</select>
<BR />
Output Format:
<input type="radio" name="outputFormat" value="HTML" checked="checked" />HTML  
<input type="radio" name="outputFormat" value="CSV" />CSV
<BR />
<BR />
<input type="Submit" value="Run Query" />
</form>
</div>

</body>
</html>
Translate