News Content Management System

This is a discussion on "News Content Management System" within the PHP Forum section. This forum, and the thread "News Content Management System are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 25th, 2007, 17:17
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
News Content Management System

Hiya, I don't know whether this has been asked before (I did search but I didn't find much) and this is proberly a really noobish question. But I am looking into coding a CMS for my site. Basically I would like to create a news CMS that is just news. Nothing fancy at all, I would just like to have an admin page where you can log in, then the news add form appear when you have logged in. Then there are a couple of fields on the form: Title, date (automatic if possible), Category, Source, then the news it self using a WYSIWYG (Short news to be shown on the homepage and long news for when they click on the "read more" link.) Then a submit and reset button.

When they press submit I would like the short news and to appear on the homepage along with - category, title, date and remore link in this format:

Title
Category - Date
News
Read more

Is there any really good tutorial/book/website which will tell me how to do this?

Thanks, Jj
Reply With Quote

  #2 (permalink)  
Old Aug 25th, 2007, 23:49
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

are you skilled in php already?
If you are it would be great to try and do this from scratch, you'd learn tonnes.
If you put your mind to it, it isn't that hard.
admin page; username and password from which can be stored in a session and editing/adding entries is a lot like the blog I just made.
use a textarea and a mysql query for both adding and editing.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #3 (permalink)  
Old Aug 25th, 2007, 23:58
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

Quote:
Originally Posted by alexgeek View Post
are you skilled in php already?
If you are it would be great to try and do this from scratch, you'd learn tonnes.
If you put your mind to it, it isn't that hard.
admin page; username and password from which can be stored in a session and editing/adding entries is a lot like the blog I just made.
use a textarea and a mysql query for both adding and editing.
Im no nothing of PHP so I have decided to read up on that first. Then read up on databases. Still haven't found a good book/site/tutorial on making a cms though

Jj
Reply With Quote
  #4 (permalink)  
Old Aug 26th, 2007, 00:06
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

w3schools.
I love their tutorials.
Learn enough about php (variables, arrays, loops etc) and try some database related tutorials.
there's plenty out there. Once you get into it, it's quite easy and kinda fun to work out how to do this and that.
before you even think about creating a cms, you must be confident in php.
You could of course use someone elses, but since you don't know much php you wouldn't know what to edit, aswell as if you create it yourself you get valuable experience.
Hope that's clear enough, though my babble generally isn't very...
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #5 (permalink)  
Old Aug 26th, 2007, 00:08
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

Thanks for your hel, and yes you did help
Reply With Quote
  #6 (permalink)  
Old Aug 26th, 2007, 00:13
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

and when you get onto mysql:
http://www.pantz.org/database/mysql/mysqlcommands.shtml
it's a list of the most useful mysql commands. I use it frequently
glad I could help
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #7 (permalink)  
Old Aug 26th, 2007, 00:14
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 21
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

PHP 101: PHP for the Absolute beginner
Sampson Resume - PHP Tutorials

Should get you started.

Pete.
Reply With Quote
  #8 (permalink)  
Old Aug 26th, 2007, 00:15
Junior Member
Join Date: Apr 2007
Location: England
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

Thanks alot pete!
Reply With Quote
  #9 (permalink)  
Old Aug 26th, 2007, 00:20
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

hey pete, by any chance do you know of any in depth php class tutorials?
the ones i tried aren't clear at all and i get lost.
cheers
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #10 (permalink)  
Old Aug 26th, 2007, 00:29
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 21
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

Look on that Sampson Resume site I posted a link to. Click on 'PHP Programming' and watch the 'Classes and Objects' Tutorials. There are three. They explain the basics quite well.

They are definitely something to look at, as far as I'm aware recent versions of PHP have offered more support for Objects and classes and you can do some pretty cool stuff with them.

Also check this:

The Practicality Of OO PHP - Nice little article

Don't ask me for any real advice on OOP with PHP as I am only just picking up that stuff myself.

Pete.
Reply With Quote
  #11 (permalink)  
Old Aug 26th, 2007, 00:32
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

video tuts are they?
gotta download windows media player 11 :/
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #12 (permalink)  
Old Aug 26th, 2007, 00:33
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

I can't view them ha.
The plugin does not support servers.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #13 (permalink)  
Old Aug 26th, 2007, 00:38
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

Okay I think I'm gunna brush up on functions a bit more before I go onto classes.
They are a lot harder than i anticipated
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #14 (permalink)  
Old Aug 26th, 2007, 00:51
SuperMember

SuperMember
Join Date: May 2006
Location: North West, UK
Age: 21
Posts: 1,173
Thanks: 0
Thanked 0 Times in 0 Posts
Re: News Content Management System

Once you understand the idea behind them it all begins to make a bit more sense but, yeah, I always find it's best to start at the beginning.

Pete.
Reply With Quote
  #15 (permalink)  
Old Aug 26th, 2007, 00:59
alexgeek's Avatar
Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,771
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: News Content Management System

Yeah I get you.
Uh one phrase/expression whatever you call it, I always see about is
foo and bar.
isn't that a kids programs about some cushiony freaky elephant things :S
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

Tags
cms, news

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a content management system crackafaza PHP Forum 4 Dec 21st, 2007 17:18
News System login problem Andrew1986 Classic ASP 3 Dec 20th, 2007 23:58
Review my content management system tox0tes PHP Forum 16 Aug 30th, 2007 20:03


All times are GMT. The time now is 21:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43