0

Hi,

I've been renewing information in my site directly into code for quite some time now. Since my page isn't that big it's not very difficult.

I have about 15 .html pages in my web directory. They all are more or less identical, and they all have small news section. At the moment I'm just copying those news from one page to another. What I wanted to know is there a way I can Change news section in all of those pages at once?

Thanks!

8
Contributors
12
Replies
25
Views
8 Years
Discussion Span
Last Post by _1_27
Featured Replies
0

could you build your sites template into a simple cms such as wordpress? then you could let the cms handle it al and leave you with more time to write news/ do something else

0

Really, you need to use some sort of content management system.

For that you are best using server-side-scripting technology (perhaps using a database as well, although for a small site, flat-file would do fine)

0

could you build your sites template into a simple cms such as wordpress? then you could let the cms handle it al and leave you with more time to write news/ do something else

Thanks, I suppose I can use other cms as well like drupal etc ?!

Really, you need to use some sort of content management system.

For that you are best using server-side-scripting technology (perhaps using a database as well, although for a small site, flat-file would do fine)

If I have a server to play around with, is there something I must install to use server-side-scripting. I'm not that familiar with servers yet.

0

If I have a server to play around with, is there something I must install to use server-side-scripting. I'm not that familiar with servers yet.

Speak to your web host and they can add PHP (one such server-side scripting technology) support and/or a database engine to your package for an increased monthly rate.

0

I actually have those, not sure what to do though, Is there something I can install, like php my admin ? - I searched google a bit :)

0

I recently did a site which had a news section and to be honest all i did was create a text file and use

<?php include('news-file.txt');?>

into the pages i wanted to display the news.

For styling purposes you could create a HTML page and change the news-file.txt to news-file.html.

Probably not the best way of doing things but you only update one file upload it and bobs your uncle!!

Hope it helps!

0

You can just do a php include arrangement. That is what i have done.

Its pretty easy to do. Google will help you with that sort of stuff.

1

Thanks guys, found some php include tutorials on the net :)

Votes + Comments
Hello! You just need to use one of the following : 1- http://www.cubescripts.com/cms-script.php ( The BEST ). 2- http://www.Pulsecms.com These all the best scripts that you can integrate a one of them on your existing HTML/CSS website. Check out them, yo
0

Suprised no one used this as their answer.. If you are using Dreamweaver, just open up all the html pages and do a search and replace. BAM all pages done, save and ftp back to the server.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.