954,604 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Is it hard to create admin panel for site with html+css knowledge?

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!

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 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

customhosting
Newbie Poster
7 posts since Oct 2009
Reputation Points: 10
Solved Threads: 3
 

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)

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 
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.

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 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.

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601
 

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 :)

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 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!

emhmk1
Junior Poster
107 posts since Feb 2008
Reputation Points: 11
Solved Threads: 7
 

Thanks!

I suppose I could do the same with iframe ?

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 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.

cohen
Practically a Posting Shark
822 posts since Nov 2008
Reputation Points: 46
Solved Threads: 45
 

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

wonderland
Junior Poster
108 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: