TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 94
  • Total: 94

Articles questions...

Started by rockinaway, March 26, 2007, 05:22:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rockinaway

Right I have 2 questions:

1) Where is the MySQL query to insert a new article into the database, I couldn't find it...

2) Is there any way to have a default category... if I knew where the MySQL line was then I would change that.. any help?

IchBin

All of the dbquery's for that type of stuff is done in Sources/TPortalAdmin.php. This is how SMF works. Display is done in the template files, all the hard work is done in the Source files. :)

rockinaway

Yeh.. there are several files.. like TPmodule.. that is where I found all the FCKeditor files etc being called and the MySQL queries for updating comments and ratings.. but I couldn't find the actual articles addition. Is that in the Admin one?

IchBin

I wouldn't have told you the file name if it wasn't the file. :) Yes, its in the TPortalAdmin.php file.

rockinaway


This website is proudly hosted on Crocweb Cloud Website Hosting.