How to make part of a page dynamic so any updates apply across the whole site

  • Thread starter Thread starter Jet
  • Start date Start date

Jet

Jet

Soldato
Joined
19 Oct 2004
Posts
2,952
Location
Newcastle
Basically what I want to do is have a section on a web page that i can edit separately and when I make changes these will be reflected on every page of the site.

I.e. I have a top contributor table in the sidebar. As it stands, everytime I need to change this table I have to change it on every page of the site which will take ages. I want to be able to edit the table and then when uploaded the changes will be reflected on all of the pages of the site. Make sense?

My knowledge is limited to HTML and CSS, so no PHP or anything.

Is this easy to do? Is there a guide anywhere? I don't even know what to search for really.

Thanks in advance.
 
My fault. When I mentioned my knowledge it was purely so people could keep the replies simple.

If the best way of doing it is php or whatever then so be it. I was just looking for some background info on how you guys would do it.

If you guys could explain how (broadly) you would do it I can look further into it myself. I'm not averse to learning new things.
 
Thanks for the replies guys.

I'm with tsohost and I'm 98% sure they support php.

I'm off out to watch the Newcastle match but I'll try what you guys have suggested and report back if I run into trouble.

Thanks again.
 
It's only gone and bloody worked!

Thanks so much. This is easily the coolest thing I've done since learning web design and who knew it would be so simple.

And to top it all off Newcastle got a good result.

Awesome.

Edit: last question. For web design I use skEdit and after changing the the end of the filename to .php I can no longer preview it locally. Is the solution to simply keep it as .html until everything is finished and then adding .php?
 
Last edited:
Back
Top Bottom