Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2005
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts

    looking for language to enable "contents managment"

    So I'm looking for a web-coding language that allows editing in this kind of way:
    On the homepage the contents is loaded from a text-file which has a build somewhat like this:
    #HEADER = "..."
    #TEXT= "..."
    #IMG= "..."
    whereas there would have to be some kind of 'if' fuction to check if an image has been specified, so that either a standard or no image is displayed.
    the header and text would have certain preset formatting
    Also it would be good if manual text formating would be available, but just simple things like bold, underline, italic, line break, maybe even a highlight colour. font size, type etc would remain the same at all times.

    I'm probably going to be using php for my nav/header/footer. meaning that there will be external files for them which will be parsed together into one.

    I would just simply use a html-file and parse it aswell with php, their is one problem though, the person that will be editing in future wouldn't understand, he needs a simple .txt edit.

    If someone could point me in the right direction for which language to use and which part of the language to look at that would be great. Also if there is maybe even a better way to parse the html files than with php.

    Thanks,
    Jesus

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cms

    Which language you use doesn't matter that much, as long as you select one with sufficient capabilities; PHP sure fulfills this requirement.

    Instead of building something yourself, wouldn't it be easier to apply an exisiting CMS package? There are packages that feature user administration and text formatting out-of-the-box; it would save you a lot of hard graft, unless getting to grips with what a CMS is all about is the object of this exercise.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New Coder
    Join Date
    Jul 2005
    Posts
    57
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't really want to use a CMS because the reality is, most of them are just bloated. The guy that is going to be adding the latest news and updates to the site is a moron, he has trouble using Word or PowerPoint. That's why I need something simple like this, which he can easily edit in Notepad. That way he'll easily be able to update without too much brain exercise.

    If I can do this with PHP, what should I specifically look at, or could you give me some kind of pre-made php-script that I can modify?

    Thanks for the reply.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •