Forum Moderators: open

Message Too Old, No Replies

Weekly Newsletter on main page

         

lschafroth

11:21 pm on Apr 6, 2005 (gmt 0)

10+ Year Member



I am building a site for a business. They want their main page to show two or three newsletters. They want the date which is a link to the real file. Under that will be a sentence or two of the document.

I would like to provide them with a upload page, each file they upload could be named by date. Is there code that do this?

LS

PS I primarily use FrontPage 2003, but any Java code or etc will be fine. I'm still learning.

tedster

4:57 pm on Apr 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you looking to provide them with a browsr interface? Are they going to be responsible for changing the link?

To make this work well will take some server-side scripting, I think, and not just HTML. There are number of free scripts available to get you started - check out the usual suspects for free script sites.

But that only uploads the file itself. If you want them to be looking at updating the link on the exisitng page to point to the new file, you can ue something like Macromedia Contribute. You can also build something in PHP for example - but that may be a bit much for someone who is just learning HTML.

Most of all, you want to keep them from mucking things up too badly. That's one reason I recommend Contribute with its easy roll-backs to previous states.

And by the way, Java and Javascript are two very different things - I think you were asking about Javascript, and probably client-side javascript. But that's not a good choice of technology for this job.

lschafroth

9:47 pm on Apr 7, 2005 (gmt 0)

10+ Year Member



I was hoping to accomplish soemthing simple liek allowing them to name the file 040705.DOC or PDF or whatever.

They can upload that then the page loads the last 3-5 reports and makes them a link by parsing the date in the name of the file. Maybe I could give them Frontpage and let them edit the link manually, but I really don't want to.

LS

tedster

10:27 pm on Apr 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You've got two issues to resolve: enabling your client to upload new files and then updating the link on the home page somehow.

But I think this discussion goes outside what the HTML and Browsers Forum here deals with. You have a lot of server-side questiuons to iron out, and on this board we essentially deal with the client side.

I suggest you start a new thread in Website Technology Issues [webmasterworld.com] for some help sorting out what technologies are best for your situation. Then as you implement your solution, you can ask further questions in the appropriate forum for whatever you are working with.

Good luck with it - slogging through new tech for the first time can be quite frustrating, as I'm sure you realize already.