Forum Moderators: phranque
were talking really basic, hopefully using a .txt file to make the amendments, but at the same time i dont want them to have to do any ftp'ing, simply logging on to some kind of system and editting the text file there and saving the results!
basic layout would be
<meta tags>
<title>
<header>
<tag line>
<pic>
<main body>
<footer>
-------
doesnt need to be valid html or anything fancy just a simple form based CMS where they can edit online information!
Thanks Dan :)
Essentially the site has a base template that acts like a 'donut' and the content is inserted automatically when they update. It actually goes a step further and creates a content database and an XML feed of the sites content so that it can be syndicated.
It's got an admin center that is password protected. The articles can be created and images uploaded via the browser. etc etc..
What I've got sounds like it goes well beyond their needs bu I am sure that it could be repurposed for simple CMS needs. It's still a few weeks outside of beta.
we really are talking basic? simple interface for a site run by text files? there must be one out there?
i can use the include function of php to insert the text file into certain tags in a html providing the server is running php but my problem is i want the client to be able to do the edits live and online, rather than introducing them to ftp clients and giving them the opperunity to really mess things up!
how could i go about creating a interface for editing text files and uploading them via a browser?
Dan
maybe i should go to php forum?
[wordpress.org...]
It's a blog-type CMS, but it can be easily adapted to your needs. Nice clean interface, and easy editing. It's very stable and mature too. It could be just what you're looking for.
basically created about 8 sections to the page
<header>
<tagline>
<intro>
<pic>
<para1>
<para2>
<para3>
<footer>
each of these tags are formatted using css which the user has no access to, page design and layout in not going to be altered once aprooved will remain the same for probably years! lol
each tag has its own text file, using the include statement it gets pulled in and shown! smashing part 1 done,
then im using a simple php text editor with a simple password username login to edit the files, file name correspond with the above sections header.txt, intro.txt and so on!
thank you for all your input!
Dan
like so;
<? include ("/var/www/site/wfolder/files/intro.htm")?>
so in theory i can do this with any tag in the html, i.e. the <head> tag so that the clients can ammend there description meta tags and keywords?
this really is a basic system!
for instance
<html>
<head>
</head>
<body>
<!-----include here------>
<html>
<head>
</head>
<body>
</body>
</html>
<!-----include stops----->
</body>
</html>
Do you know what i mean?
I could be wrong, but that's the problem i've been having with my CMS. I need an editor that isn't designed to create a whole page, but is made to edit the text and text tags etc...
I hope I am making sense
"is a set of scripts and pages that allow you to view, upload, create, edit, rename, and delete files in folder on your webserver using a browser"
so i literally only vreate a text file, there is no formatting of the text file its just plain text,
e.g.
sample.txt (held on the server) i create this file using my text editor through php and save it
the on my php page i create an include statement in the relevant part of the page
<body>
<div id="sample">
<? include ('sample.txt')?>
</div>
end result
<div id="sample">
blah blah blah
</div>
the php text editor doesnt add any html tags or php tags into it just strictly a text file! its great especially for novices!