Good day everybody,
We are doing a website to get a client that will need updating certain webpages quite frequently (upcoming occurrences, news, etc… ) I’m putting quite a bit of time on the website and I don’t want the integrity on the design to detoriorate once I am from the picture considering I do not think there is anyone within their organization that has experience with website maintenance.
Is there any alternative that will having them and additionally the code directly Possibly there is anyway they can update just like a page outside belonging to the actual coding after which the coding recommendations that information Almost like filling out a form after which it it " echoes" the idea or something.
I know a bit about PHP but I’m interested in the simplest solution possible.
Thank you guys/gals!
It depends on how a lot of pages need modernizing.
One way would be to simply have some sort of page that updates a text document. Lets say on your own upcoming events site, all you could do is have some PHP program code that echoes the contents of. Then on another page there’s a text area which has the contents belonging to the file with some sort of save button. THE user makes this changes then keys to press Save. When they following view the impending events page they’ll see the modifications they made.
Needless to say, with power comes responsibility. You would want a way involving not allowing anybody for making changes to the file. We will be talking password safeguards.
Another thing to note usually if this is going to be needed on say in excess of 2 pages, you need to consider powering your pages which includes a database. The principle is exactly like above, just the slide images is saved elsewhere.
Check out: http: //www. search engine. co. uk/searchhl=en& q=php start text file around textarea& btnG=Search& meta=
Its fairly simple nevertheless like I say depends the amount of pages this should be applied on.
Are there virtually any pre-built forms available that I is able to use I’m thinking just about like those pre-made blogs you could insert the code into your blog post and update your blog using their site… you know the reason
Stair…
Start out by creating a few text files that have the content.
Case: p1. php, p2. php p3. php
These files is going to be paragraphs or websites of text that will be displayed
where you need them on your page(s).
To display those on your own page, do this where you need it to look:
< php include(" p1. php" )> (use the correct filename, p1. php, p2. php etc. )
Whenever you get that significantly, we can show you a good way to edit those
text files employing a simple online word editor.
Remember that the pages of which use PHP INCLUDE should have
the extension of. php (instead with. html).
.
Greetings mlseim,
For a start, thanks for the assistance. Really appreciate the item.
Used to do what you mentioned, and it previously worked. (see http: //rodandconecreative. com/php/include/php1. php) I’d be prepared to hear how to do it with sorts now.
In addition, in the p1. php, p2. php, etc… can I utilize html like < h1> and also < p> to ensure the text in these files when included on the php1. php was in " style" specified by CSS Is there anyway to accomplish this without using html inside p1. php files Like I mentioned, I’m trying to make updating as dumbed down for the client as likely.
In addition, how do WHEN I handle security w/ such as this I learn that’s probably a challenge…
THANKS A GREAT DEAL OF!
The quite easy text editor We’ve does not do things like
produce www. google. com the link or help to make emails a connection…
Nevertheless the script could be altered to do that.
Security is a simple login having PHP SESSIONS.
I’m unclear how much PHP you recognize.
While you have the wording files, you could install a " rich text"
publisher, and use similar text files. Once again, I’m not sure
how much PHP you realize.
But for now, here’s my straightforward text editor…
Simply for experimenting, this script is admittedly basic. You have
to manually get into the page number from the URL, or make
your special form to do this (either from an application or from some sort of URL).
There’s no security at now, it’s just an example.
MY SPOUSE AND I call this record " edit. php" therefore you tell it just what exactly page to
edit with the addition of it to the particular URL: example (page 2)…. change. phpp=2
< php
$action
=$_POST'action';
$textarea=$_POST'textarea';
if(
$_GET'p')
$p=$_GET'p';
else
$p=$_POST'p';
// Where to go if they click the < - Return hyperlink.
$return="index. php";
// This is the URL to your pages ... however you named all of them.
// In this case, they are named p1. php, p2. php etc.
<span style="color: #0000BB