Jump to content

Recommended Posts

I have a website for a healthcare facility that is html/css. There is a "news" page that I would like them to be able to update themselves. I'd like them to be able to goto an interface where they can type in the content, edit, bold, color fonts, etc., and have that content show on the "news" html page. I know content management systems sort of work this way but I don't need a whole system for this. I'm thinking there is probably a simple PHP based interface I could use, likely in conjunction with MySQL, where the "feed" or "content" the facility enters will then be read by some html code placed into the body of my News page html. Sort of like adding a Twitter feed to a site, only slightly more robust.

 

Any ideas would be greatly appreciated. Thanks so much!

Link to comment
https://forums.phpfreaks.com/topic/171846-simple-php-based-html-update-interface/
Share on other sites

I've created a few different news systems, and they can be very simple to very complicated. It depends on how simple/complicated you want it to be really. but the basic idea is that you have a page where you post the news to the database, and a different page where you show the latest news on the database.

but the basic idea is that you have a page where you post the news to the database, and a different page where you show the latest news on the database.

 

Exactly. I'm really looking for it to be very simple. The facility goes to a page where the type in the content. Perhaps make some text bold, underline, change font color, etc. In fact, as I type this message i'm looking at the editing options above and aside from the emoticons, and second row of options (pi, email, bullets, etc) i'd love to have it something just like this.

Yep, edit options aren't hard to code in either. Just takes a good grasp of CSS and replacing certain strings with other strings. For example, if you wanted to create a bold button you would replace bold takes

[b][/b]

 

with html strong tags

<strong></strong>

 

But to be honest, I'm sure there are already build systems that have this stuff, but I personally like reinventing the wheel (which most people advise against) so I would build it myself, but the basic logic is very simple and easy to implement so creating your own system shouldn't take much time or effort

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.