1
Cozzie
How to submit new values to a modules database - help!
  • 2007/11/2 10:07

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


This question relates to smartsection but I think it can apply generally to understanding how modules work.

I have added some columns to my smartsection_items table. It allows me to list key facts & figures for each article and allows users to search for articles according to those criteria.

All works great!

But the problem is that when Admin or Users want to submit or edit an article they can only add data to the orginal smartsection values and I'm left using phpmyadmin to input the new values (not great as I want readers to be adding most of the articles).

I've spent 2 days looking at submit.php and include/submit.inc.php to try and make the code change that allows the new values as well as the old ones (title, introduction, Main Body, image etc) be submitted/edited but just can't figure it

How can I do this?

In general (not just refering to smartsection) what pages do I need to be looking at that allow you to submit values to a database table?

Anyone with suggestions has a chance to win an ipod!!!! (sorry, not really)

Thanks!

2
Cozzie
Re: How to submit new values to a modules database - help!
  • 2007/11/3 8:55

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


I've found class/item.php which seems to be the relevant file and tried to make the changes but its still not working.

Can anyone offer insights, how can I do this? What files should I be working on?

Thanks!

Login

Who's Online

347 user(s) are online (234 user(s) are browsing Support Forums)


Members: 0


Guests: 347


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits