Apr
04

When I transfer all my joomla 1.0’s content to 1.5,I found that the title alias was not transfered.I use the sh404SEF component to rewrite my site URL using the title alias as the SEF URL,so this is a big problem!

But fortunately,I find the way so solve this problem.

In PhpMyAdmin:

1,chose the jos_content table,copy it structure and data to jos_content_bak.

2,rename alias to alias2.

3,add 1 field named alias after the id field.

4, execute:

UPDATE (jos_content LEFT JOIN jos_content_bak ON jos_content.`id` = jos_content_bak.`id`)
SET jos_content.`alias`= jos_content_bak.`title_alias`

5,what’s more?that’s all!

Sep
06

joomla数据库表结构与关系图解
joomla 1.0.X

 

joomla10databasetables1ge

joomla 1.5

joomla150databasetables

Aug
01

在发布文章的时候后台有两个编辑器,一个是”文字介绍: (必须的) “,另一个是:”主介绍: (不是必须的)“。
不难理解,文字介绍是文章的一段简介,按照中国人的思维来,在这里输入一些简介文字后,就可以在标题周围显示出这段简介文字了,这是很对的。但是有个问题,当你点击这个带有简介文字的标题后,你会发现它并不像国内的CMS一样,而是显示了两次这段简介文字。这,的确是一个令头痛的问题,所以我一般都不太用这个功能,假冒偶尔用的时候还是把文章分面简单和正文两部分,正文呢就不再输入简介文字了。这个可能是我们中国人的习惯吧,总喜欢把文章的第一段的一部分当成简介文字。 Continue reading Joomla:隐藏文章的简介