|
Re: Admin controlled, user testimonials
They way i'd go about it is having a "testemonials" table in your db, with a "status" column, with a numeric code to represent whether the testemonial has been approved(0="pending", 1="approved", 2="declined" or something, you could even just delete the declined testemonials). Since you haven't given a language i can't knock out any code...
Then on your testomonials page have a query that selects all the testemonials which have a status of "1", and echos them on the page, then in your admin side, a form which lists the testemonials with a status of "0", and gives a checkbox or similar to approve/disapprove a testemonial...
It's easily done, it just takes a bit of head work and time.
Cheers,
Jamey
|