Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 ASP in a HTM-document?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 22 July 2001 :  17:00:42  Show Profile  Visit tomasalsbro's Homepage
Hi,
How do I implement a news.asp document in my default.htm side?

Can anyone please help me?
Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se

Id
Junior Member

USA
129 Posts

Posted - 22 July 2001 :  17:21:56  Show Profile  Visit Id's Homepage
are you just trying to set it up so that your default.htm links to a news.asp page? or did you want news.asp to be showing up on your default page?

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2001 :  02:42:15  Show Profile  Visit tomasalsbro's Homepage
Hi Id,
I want news.asp to be showing up on my default page.

Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se
Go to Top of Page

Neophoenix
Starting Member

12 Posts

Posted - 23 July 2001 :  04:04:09  Show Profile
ok i just installed this exact same thing.

you go to the example.asp that came with it and copy everything in it.
then paste it where you want in the default.html and save it as default.asp

if you need any more help then email me
xvmttvx@hotmail.com

Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2001 :  05:53:44  Show Profile  Visit tomasalsbro's Homepage
OK,
done and everything work perfect.
I asume there is no way to have it shown in a -htm or -html file?
Thanks
Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se
Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 23 July 2001 :  07:28:07  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
quote:

OK,
done and everything work perfect.
I asume there is no way to have it shown in a -htm or -html file?
Thanks
Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se



What you should infact do is leave your default.htm or whatever its called (index.htm?) file alone. Don't rename it.

No make a new file called default.asp . Copy the contents of default.htm into default.asp . Then put your code where you want news to appear.

now in default.htm , make it so that when a user goes to that page, it automatically redirects to default.asp, this way - you dont have to change all your links back to your homepage.

---
code to make it refresh
-------

Put this in the head of default.asp

<meta http-equiv="refresh" content="0;URL=default.asp">



Regards,

Spoon, (ya all love me right?)
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2001 :  11:18:36  Show Profile  Visit tomasalsbro's Homepage
quote:

quote:

OK,
done and everything work perfect.
I asume there is no way to have it shown in a -htm or -html file?
Thanks
Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se



What you should infact do is leave your default.htm or whatever its called (index.htm?) file alone. Don't rename it.

No make a new file called default.asp . Copy the contents of default.htm into default.asp . Then put your code where you want news to appear.

now in default.htm , make it so that when a user goes to that page, it automatically redirects to default.asp, this way - you dont have to change all your links back to your homepage.

---
code to make it refresh
-------

Put this in the head of default.asp

<meta http-equiv="refresh" content="0;URL=default.asp">



Regards,

Spoon, (ya all love me right?)



Yeah! We do Spoon!
But in this matter I'm more lucky then you are - I use FrontPage2000! Therefore I have no difficulty to change the file name from default.htm to default.asp. The program automaticly change all links and dependences. In fact - due to the built in navigation function in FP2000 I have to make this post-fix in order to have the navigations intact.

Cheeers / Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se
Go to Top of Page

Spoon
Average Member

Ireland
507 Posts

Posted - 23 July 2001 :  12:15:40  Show Profile  Visit Spoon's Homepage  Send Spoon an ICQ Message
I use DW4. FP sux.

Also, you can change links sitewide in dreamweaver 2. However, do you really want to go and upload all them files once again to your server????


Regards,

Spoon, (ya all love me right?)
Go to Top of Page

tomasalsbro
Average Member

Sweden
818 Posts

Posted - 23 July 2001 :  16:09:55  Show Profile  Visit tomasalsbro's Homepage
quote:

I use DW4. FP sux.

Also, you can change links sitewide in dreamweaver 2. However, do you really want to go and upload all them files once again to your server????


Regards,

Spoon, (ya all love me right?)



Well Spoon - I have not much of a choise really. All navigations links are depending on the file. If I just change the suffix - my navigation links stys intact - if I replace the htm file with a asp-file I'll have to start all over again with my navigation links. And I have a lot of files at my site about 1 800 of them, 2 359 external links and 8 614 internal links!

So I take the easy way and upload the changed files

About FP - I was sponsored by Microsoft with all my Microsoft softwares and so far I'm very preased with them - but on the other hand - I have non what so ever experiance of any other softwares in this kind.

Cheers / Tomas

!-Keep distance in traffic-!
www.whiplash.se
www.whiplash.pp.se
Go to Top of Page

Neophoenix
Starting Member

12 Posts

Posted - 23 July 2001 :  21:52:47  Show Profile
how much does Dreamweaver cost?

Go to Top of Page

Id
Junior Member

USA
129 Posts

Posted - 23 July 2001 :  22:09:56  Show Profile  Visit Id's Homepage
's running for 300 just about everywhere

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07