Jump to content


Photo

help im a newbie : >


  • Please log in to reply
5 replies to this topic

#1 thatniqqasean

thatniqqasean
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 05 August 2006 - 10:58 AM

Hey

I'm looking around everywhere for a really simple kind of php script where an admin can sign in, and edit parts of the website via text only.
eg. he signs in and wants to change the home text in a text box he types "welcome to blah blah" and it'll show up on the home page.

I've been editing othe scripts, searched for a script like this.. and gave up
help would be very apreciated.
thanks
Sean

#2 GingerRobot

GingerRobot
  • Staff Alumni
  • Advanced Member
  • 4,086 posts
  • LocationUK

Posted 05 August 2006 - 11:16 AM

This is called a content management system. There are free ones about which you could use. If you plan on making your own, it will take quite a lot of time and wont be easy.

#3 ignace

ignace
  • Moderators
  • Now mod flavored
  • 6,431 posts
  • LocationBelgium

Posted 05 August 2006 - 12:13 PM

If you wanna start creating your own cms system I suggest you first find the best information you can get on cms system's and use: http://www.mamboserver.com as a startingpoint, dig into the code, try to translate what you see and try to understand it! I did it a few times, it helped me at a few points also http://www.getvanilla.com is another nice startingpoint this is a forum however...

#4 silentwf

silentwf
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 05 August 2006 - 12:55 PM

Actually i dont think its that hard...
The VERY simple one I think is: (pseudo code)
set up the db
make the fields
and edit

So like you could have db with teh fields: id, txt, eTime; setting id as autoincremement.
and then for every post you set up, add an id. and then when you want to modify it, just use the sql query with: "UPDATE dbname SET txt='$text', eTime=now()";

#5 thatniqqasean

thatniqqasean
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 05 August 2006 - 01:31 PM

thanks for the help
yeah what you said silentwf is proably what id do as those content management scripts are too big with too many features.

i've worked with php a little but i've never started a db and wrote out from scratch is there any tutorials on that?
thanks


#6 legohead6

legohead6
  • Members
  • PipPipPip
  • Advanced Member
  • 434 posts

Posted 05 August 2006 - 05:19 PM

ur starting out WAY to hard then.... if you try to start by doing a huge complex project its just gunna get you mad and frustrated.... start off easy .... like buy a book or something...then when ur ready start something like this!
"Syntax error" .. WHERE THE **** IS IT?!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users