For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > March 2005 > How to use CMS with PHP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to use CMS with PHP
Jack

2005-03-05, 8:56 am

Hi there,

I have a question. I know some php and mysql. What im looking for is this:

I have created simple website with some pictures and texts in several pages.
I would like to give the owner an option to insert new pictures and replace
texts as easy as possible for the end user.

I know i have to change the code for this, its mostly build in html right
know, think i have to add some php with sql to it.

Does anyone knows a simpel CMS Content Management System for me that i can
use for this webpage, and the application for the enduser to simply add some
pictures and changes some texts?

Maybe some examples or a helpfull url would be great to. Thanks in
advanced. Jack.


NSpam

2005-03-05, 3:57 pm

Jack wrote:
> Hi there,
>
> I have a question. I know some php and mysql. What im looking for is this:
>
> I have created simple website with some pictures and texts in several pages.
> I would like to give the owner an option to insert new pictures and replace
> texts as easy as possible for the end user.
>
> I know i have to change the code for this, its mostly build in html right
> know, think i have to add some php with sql to it.
>
> Does anyone knows a simpel CMS Content Management System for me that i can
> use for this webpage, and the application for the enduser to simply add some
> pictures and changes some texts?
>
> Maybe some examples or a helpfull url would be great to. Thanks in
> advanced. Jack.
>
>

look at the the test area at

http://cnewey.pwp.blueyonder.co.uk

I'm working on the same problem, the ability to modify content without
html expertise
Philippe Krait

2005-03-05, 3:57 pm

Jack wrote:
> Does anyone knows a simpel CMS Content Management System for me that i can
> use for this webpage, and the application for the enduser to simply add some
> pictures and changes some texts?


Why don't you use a wiki for this (with the possibility to upload some
images)?

Philippe
Jack

2005-03-05, 3:57 pm

> Why don't you use a wiki for this (with the possibility to upload some
> images)?
>
> Philippe


Because i have to make the site for a family member with no knowledge about
html or ftp. She wants to add pictures and delete pictures to the site, also
wants to change the text fields now and then.

So im looking for a simple cms to get this done for her. thanks.



Philippe Krait

2005-03-05, 3:57 pm

Jack wrote:
>
> Because i have to make the site for a family member with no knowledge about
> html or ftp. She wants to add pictures and delete pictures to the site, also
> wants to change the text fields now and then.
>
> So im looking for a simple cms to get this done for her. thanks.


That's what is nice about a wiki, you don't need that kind of knowledge
at all. Text formatting is optional (and very simple if you end up doing
it), and uploading is very simple as well, you don't need ftp for this.

Philippe
Jack

2005-03-05, 3:57 pm


"Philippe Krait" <philippe@hotmail.com> wrote in message
news:4229eb16$0$11687$8fcfb975@news.wanadoo.fr...
> Jack wrote:
about[color=darkred]
also[color=darkred]
>
> That's what is nice about a wiki, you don't need that kind of knowledge
> at all. Text formatting is optional (and very simple if you end up doing
> it), and uploading is very simple as well, you don't need ftp for this.
>
> Philippe


Thanks for the tip!
Could you recommend a good wike that i could use?

thx.


NSpam

2005-03-05, 3:57 pm

Philippe Krait wrote:
> Jack wrote:
>
>
>
> That's what is nice about a wiki, you don't need that kind of knowledge
> at all. Text formatting is optional (and very simple if you end up doing
> it), and uploading is very simple as well, you don't need ftp for this.
>
> Philippe

Using a Blob column with MySQL will fix most the issues, and if the
content is dynamically included server side then you also get support
for infixed HTML on the client. Trying to get images is a different
issue as one needs a pointer the image file location.
Jack

2005-03-05, 3:57 pm


"NSpam" <chris.newey@gmail.com> wrote in message
news:YAnWd.197901$68.162108@fe1.news.blueyonder.co.uk...
> Philippe Krait wrote:
> Using a Blob column with MySQL will fix most the issues, and if the
> content is dynamically included server side then you also get support
> for infixed HTML on the client. Trying to get images is a different
> issue as one needs a pointer the image file location.



Thats actually the most important part of all. To be able to upload more
pictures to different upload folders like:

/pictures_house
/pictures_children
/pictures_dog

these pictures could be on different pages, so i know i have to put some
sort of pointer or tag or whatever to say where the uploaded picture should
go.

Also the webpage must display all pictures in that certain directory, so if
i add a picutere though wiki and refresh the page, that extra picture should
also be visible. Maybe im asking for to much i dont know, i thought a wiki
or cms could handle this for me.


Philippe Krait

2005-03-05, 8:59 pm

Jack wrote:
>
>
> Thanks for the tip!
> Could you recommend a good wike that i could use?


Personnally, I use PmWiki (http://www.pmwiki.org/). I like its
simplicity and completeness, the fact that it is simply a php wiki and
does not require much else, and the general philosophy of the
developper. There are nice mailing lists explaining lots of things and
you get very quick help in case of proble;s. Set-up is a breeze too.

There is an optional upload facility, very easy to set-up and use (you
can configure the type of files that you accept and the maximum size,
for example), with a password protection:
http://www.pmwiki.org/wiki/PmWiki/Uploads

Cheers,

Philippe
Evert

2005-03-05, 8:59 pm

This is a little off-topic, but
What is the definition of a wiki? I've worked with some, but what is it
really?

grt,
Evert

Philippe Krait wrote:
> Jack wrote:
>
>
>
> Personnally, I use PmWiki (http://www.pmwiki.org/). I like its
> simplicity and completeness, the fact that it is simply a php wiki and
> does not require much else, and the general philosophy of the
> developper. There are nice mailing lists explaining lots of things and
> you get very quick help in case of proble;s. Set-up is a breeze too.
>
> There is an optional upload facility, very easy to set-up and use (you
> can configure the type of files that you accept and the maximum size,
> for example), with a password protection:
> http://www.pmwiki.org/wiki/PmWiki/Uploads
>
> Cheers,
>
> Philippe

Philippe Krait

2005-03-05, 8:59 pm

Evert wrote:
> This is a little off-topic, but
> What is the definition of a wiki? I've worked with some, but what is it
> really?


I think the best definition of a wiki can only come from the wikipedia
itself: http://en.wikipedia.org/wiki/Wiki :)

Philippe
NSpam

2005-03-06, 8:56 am

Jack wrote:
> "NSpam" <chris.newey@gmail.com> wrote in message
> news:YAnWd.197901$68.162108@fe1.news.blueyonder.co.uk...
>
>
>
>
> Thats actually the most important part of all. To be able to upload more
> pictures to different upload folders like:
>
> /pictures_house
> /pictures_children
> /pictures_dog
>
> these pictures could be on different pages, so i know i have to put some
> sort of pointer or tag or whatever to say where the uploaded picture should
> go.
>
> Also the webpage must display all pictures in that certain directory, so if
> i add a picutere though wiki and refresh the page, that extra picture should
> also be visible. Maybe im asking for to much i dont know, i thought a wiki
> or cms could handle this for me.
>
>

yup thats the problem, being able to add images without html type
expertise. I can't think of a solution that doesn't require embedding
tags in text
Jim Evans

2005-03-07, 4:00 pm

NSpam wrote:
> Jack wrote:
>
> yup thats the problem, being able to add images without html type
> expertise. I can't think of a solution that doesn't require embedding
> tags in text


If you're not really bothered about where the images are stored on a
server, then a wiki will still work for you. It'll still place the
images in the right spots on the page, all you need to do is upload them
- most wikis use forms for this.

The main issue with wikis is that they can often be edited by visitors.
It's a balancing act with the security. Does it matter where the images
go? You could either create a template with te image tags built in, then
store all the image info in MySQL, or better still use a complete CMS
like phpnuke or mambo, and have a gallery area for the images.

http://www.phpnuke.org/ (youll need to download an extra hack to give a
wysiwig editor) or http://www.mamboserver.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com