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.
|
|
|
|
|
![]() |
||
News Content Management System
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 |
|
|
|
#2
|
||||
|
||||
|
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)
|
|
#3
|
|||
|
|||
|
Re: News Content Management System
Quote:
Jj |
|
#4
|
||||
|
||||
|
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)
|
|
#5
|
|||
|
|||
|
Re: News Content Management System
Thanks for your hel, and yes you did help
|
|
#6
|
||||
|
||||
|
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)
|
|
#7
|
|||
|
|||
|
Re: News Content Management System
|
|
#8
|
|||
|
|||
|
Re: News Content Management System
Thanks alot pete!
|
|
#9
|
||||
|
||||
|
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)
|
|
#10
|
|||
|
|||
|
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. |
|
#11
|
||||
|
||||
|
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)
|
|
#12
|
||||
|
||||
|
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)
|
|
#13
|
||||
|
||||
|
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)
|
|
#14
|
|||
|
|||
|
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. |
|
#15
|
||||
|
||||
|
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)
|
![]() |
| Tags |
| cms, news |
| Thread Tools | |
|
|
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 |