don
don

Reputation: 4522

Joomla articles saving

I'd like to analyize the way Joomla saves articles to the database, does anyone knows where I can find the relative files and where I could get clarifications?

Upvotes: 2

Views: 2180

Answers (2)

alghimo
alghimo

Reputation: 2899

You should start looking at com_content. You should look here:

/administrator/components/com_content

If you use Joomla 1.7, almost all methods used by the com_content article model are used from the parent class (JModelAdmin, the class is defined in /libraries/joomla/application/component/modeladmin.php). For the article model, the save function performs a call to JModelAdmin::save, with some particularization if you're saving as copy or a featured article. Besides, take in consideration the many plugins may interact with your article before and saving it (you can search in the plugins folders for methods like 'onContentBeforeSave' and 'onContentAfterSave').

I hope it helped!

Upvotes: 3

Romias
Romias

Reputation: 14133

You can see the Joomla database structure here.

The Articles are saved in Content table. There you save the HTML... the images are located in the filesystem.

Upvotes: 0

Related Questions