Web Hosting Talk







View Full Version : Creating a links site which I can update from admin


demomen
10-03-2004, 04:28 PM
Hi there, I would like to create a site which uses php and a
database

I want it to do the following ...

Add news to the main page just short things which I will add
once every few days and have a menu where you can go to
different sections which links to sites are ..

For example October 2004 links -

Latest added at the top ....


AD - Added 03/10/2004
AB - Added 03/10/2004
AC - Added 02/10/2004
AD - Added 01/10/2004


Click on the AD link and you get a few details about the site and
then you click on a link to go to the site


Also on the main page the last 5 added or something

I want to add new links daily and see how many clicks a link is
getting from the admin panel, but not showing it to users ...


And I want to add all the links and the news from an admin panel
not go and mess around daily adding todays new links ...


Can someone help me or tell me how I should go about creating
such a site :)

sea otter
10-03-2004, 04:46 PM
It sounds like you want a simple CMS system. You can find reviews and demos of all sorts of systems at:

http://opensourcecms.com/
http://www.cmsinfo.org/
http://cmswatch.com/
http://lists.evolt.org/archive/Week-of-Mon-20031215/152822.html

demomen
10-03-2004, 04:55 PM
CMS mean something like postnuke etc..

I want to create my own one ;)

It can't be that hard to do all the above can it ... ;) ;)

sea otter
10-03-2004, 05:23 PM
Originally posted by demomen
CMS mean something like postnuke etc..

I want to create my own one ;)

It can't be that hard to do all the above can it ... ;) ;)

<sarcasm>oh no, not at all. easy as pie</sarcasm> :)

So what exactly did you want to know? How to design one? Where to get sample code? Where to learn php?

I ain't gonna write a cms for you (at least not for free), but I'll help out how I can :)

marvelous
10-03-2004, 05:42 PM
It isn't easy, but is well worth the effort if you really want to learn. Part of our site is now run with a custom CMS. It only took a week or so of looking at code for it to click, and although it is still pretty basic, it makes updating it simple and fast.
Google for a beginners PHP and database tutorial and start experimenting.

Good luck

Gary

demomen
10-03-2004, 06:04 PM
Im looking at typo3 wow never come accross this one before ..

sea otter
10-03-2004, 07:10 PM
You might also like wordpress (http://wordpress.org/)

Writing a CMS actually is fun, because you can tailor it exactly to your needs and tastes (I admit it, I'm writing my own as well :) )

demomen
10-03-2004, 07:34 PM
mmm looks okay but it doesn't show the amount of click from admin .. how could I add that

sea otter
10-03-2004, 08:21 PM
What exactly do you mean by "amount of click from admin"?

And do you mean in typo3 or wordpress? (actually, I don't know how for either; I'd have to dig through the source and see).

Gregory-Eric
10-04-2004, 03:02 AM
I have used typo3, very powerful, but may be too much for about 80% of websites. It's like using a jumbo jet to go the grocery store!
I have also used phpnuke, postnuke, mambo and recently md-pro. They all have some advantages, but in general I usually recmnd using md-pro (at maxdev.com) it is easy to make a theme for and has a great support base.
I must admit tho'...I am also developing my own system. Going for xhtml strict, minimal queries per page load, and very light code base with a simple module and theme engine. It's both fun and very educational.

sea otter
10-04-2004, 03:05 AM
Originally posted by Gregory-Eric

I must admit tho'...I am also developing my own system. Going for xhtml strict, minimal queries per page load, and very light code base with a simple module and theme engine. It's both fun and very educational.

Bingo! That's where we're all headed. I've also added tableless CSS to my list, and that's proving to be harder to accomplish than the php coding :) But It's gettin' there...

When the requirements are very specific, there really is no substitute for rolling your own.

Gregory-Eric
10-04-2004, 03:05 AM
by the way...are you just looking for something to manage weblinks? If so, you may want to check out phpLinks at sourceforge.net/projects/phplinks/ (sorry, admins wont let me post the code for a direct link until...well, after this post) :)

Gregory-Eric
10-04-2004, 03:09 AM
sea otter: have to agree with you. If you know exactly what you want, and there is nothing that matches exactly (even if it is very, very close) why not? You get the knowledge and the application that allows you to do what you need.
I may release mine under GPL, and have already begun to talk to a few others about working together. But then again, commercial allows more control over the code...both have their advantage.

demomen
10-04-2004, 09:08 PM
Anyone use typo3 ..