Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

advice on what to use to change page

Status
Not open for further replies.

confusedlady

Programmer
Apr 26, 2001
163
0
0
US
Hi all. I don't know too much about web disign, so I could really use your suggestions. I maintain a webpage for my church, but I did not do any of the designing. This is how it currently looks- which looks great. The problem is that the information that changes (news, weekly, events section) are hard-coded onto each page! So changing one item means updating all pages!

My question is, how could I replace that code? Before this redesign, (yes it was ugly) I had a frameset on the index page, referencing events.htm. Is there a way to make a news.htm, events.htm, and weekly.htm and somehow put it in the designer's table layout and not mess the look up?

Sorry, so long. And thanks in advance!
Melissa
 
With some server side programming, you could use a template system. The benefit of this is that you would have one main template for your site, and have a dynamic content layout.
Thus, just sending the template the information it needs just for that specific page... all other information is hard coded into the template. This could be done in alot ways.

Just my 2 cents!

X
 
xaqte,
Could you explain that just a little more? I'm guessing that would require me learning some sort of scripting? What programming language? I'm a Cobol programmer, and to be honest,I haven't looked at much else in years.
 
Yes, that would require a programming language. Something like Perl or PHP, just to name a couple.
 
I will definitely look into this further. From looking at the sites provided by Vragabond (and google), this shouldn't be as difficult as I thought. I wish now that they had designed it using includes. They have the navigation buttons as part of a sliced image, so I don't even want to think about adding a button yet!

One more question-is there a language supported by all hosting companies? Or do I need to contact them to see what to use before doing anything?


Thanks again
 
One more question-is there a language supported by all hosting companies? Or do I need to contact them to see what to use before doing anything?

Unless they have a website available with this information, you may need to contact them. If you tell us the host, we may be able to find out for you.

Another alternative:

Let us know your results!

X
 
xgate,
It's American Computer Associates ( but this page tells you nothing. I can't log in. It asks for a "customer name", and password, and obviously that is not the username and pass I use to access the server :)

Melissa
 
Yeah, it seems as if they really don't advertise their services very well. I would recommend that you call them to get this information. However, the freemaker link I gave you is Javascript. So, if you went that route you wouldn't have to worry about it.

X
 
Thanks again xaqte. I probably will go with freemaker, since I don't have a contact name or anything for anyone at American Computer, and I'd like to do some work on this over the weekend.
 
Try this #:
570-874-1910

If its not the correct number, the party answering should know a contact #.

Good luck & Let us know your results!

X
 
However, the freemaker link I gave you is Javascript.
According to the page you linked to it's Java, not Javascript. A very different beastie. To use it you'd need some kind of Java engine running on the server, which is a rather uncommon set-up, I think.

Most hosts will support PSP and/or Perl. Windows-based ones will probably do ASP as well. If your host doesn't, go somewhere else - there's plenty of cheap, good hosting out there.

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
ChrisHunt,
Thanks for pointing out my goof! You are absolutely right... I hope she has good luck getting in contact w/ the host.
 
Xagte-

I didn't see your post until now, so hopefully someone will be in tomorrow.
 
Just an update-I never got in touch with the hosting company until late last week, so by that time my question was just "Is it OK that I uploaded some .php and .inc files?".

I made on .php file to get the info, figuring if it worked, it was supported. It returned all this- so I found out all I needed.

Thanks a bunch-especially those links!
Melissa
 
Good to hear! Nice site design! I look forward to hearing your end result!

X
 
lol. Actually, that is the end result for now. I replaced what I could on the existing pages, and any new ones I'll do using just a "template" of what's there and includes.

I did replace the whole navigation area with an include, but the problem I will have is adding another button. Because of all the nested tables to control the layout, the whole page shifts and everything is all ugly then!

For right now though, I just wanted to easily change the events and stuff each week.

Thanks again
 
Another question...How do you handle putting newsfeeds onto a site? I currently have 3 of them on my test page ( The first one is just the cut/paste script from their site. For the other two, I downloaded a freebie app called Carp.

Before I spend too much time tinkering with it, I thought I'd ask your opinions. Anyone use/like this program?

Thanks again,
Melissa
 
Yes, I've used CARP.

It's pretty simple to set up and customise to display the news feed as you want it to.
It uses a basic templating language to define what gets shown where.

Give it a go!

Foamcow Heavy Industries - Web design and ranting
Target Marketing Communications - Advertising, Direct Marketing and Public Relations
I wonder what possesses people to make those animated gifs. Do you just get up in the morning and think, "You know what web design r
 
Do you know of a tutorial or example of this? That's exactly what I need to look into-how to display it all properly.

Currently I'm using 3 different feeds, but I want them to look the same. My test site is and it's in the news section - easier to show you than tell you :)

Melissa

Oh, sorry, the first one is a cut/paste javascript, but only because I had it uglier using Carp myself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top