开发者

Putting content to frontpage in Joomla 1.5

开发者 https://www.devze.com 2022-12-09 10:21 出处:网络
What should be changed in Joomla\'s database to put content to the frontpage? I\'ve got a great deal of articles and making it by hand would take a lot of time. So I\'m looking for an automati开发者_

What should be changed in Joomla's database to put content to the frontpage?

I've got a great deal of articles and making it by hand would take a lot of time. So I'm looking for an automati开发者_JAVA百科c way.


The frontpage of Joomla is not a specific component. It can be any component, but defaults to the com_frontpage component in Joomla1.0 and com_content component in Joomla1.5.

Most likely what you want is to just export all your articles to the database. Take a look at your Joomla database to get an idea of it's structure.

You have jos_content and jos_sections and jos_categories which you want to insert data into.

Most importantly though is jos_content. Write a PHP file that takes each article, and just inserts that article into the jos_content table.

0

精彩评论

暂无评论...
验证码 换一张
取 消