Joomla! 中文开发

组件开发,插件、模块定制

 
 
 
 
 
 
 
 

Login to Read Fulltext

Download link is here!
This is a content protection plugin ONLY for Joomal! 1.5 native, please don't install on Joomla! 1.0.x.
Login to Read Fulltext will protect your article content from unregistered (public) visitors. It will only display the IntroText together with a link to your registration page to public visitors. After login in, your registered users can read the fulltext of the article.
You don't need to insert any {} like syntax in the article to trigger this plugin. Just install and enable it, then Login to Read Fulltext plugin will start to protect all the articles on your Joomla! 1.5 website.
If you want only protect certain sections or categories, you can define your ID list at the Admin side of this plugin.

最后更新于: 2008-07-25 23:57 阅读全文

About Login to Read Plugin

今天,收到Zak的来信,他/她在信中这样写道:

Hi Hoping,

I've just discovered your plugin on JED and it looks like it's just
what I need! Thanks for making it available.

I'm wondering if it has the option to recognise crawlers, such as
the googlebot from the User-Agent string and give them the full
text (and give them the "nocache" directive)? The benefit is that
the full text would be indexed by the search engine, potentially
bringing more people to the site, but once they come to the site
they will have to register to access the full article.

If not, would it be a simple matter to adapt the plugin to do this?

Regards,
Zak

阅读全文

Joomla中将空的标题别名转换为汉语拼音

  Joomla!在前台添加文章时,是不用输入标题别名的,它会自动的以当前时间做为别名。这样,当开启了SEF时,前台的内容链接看起来有些不爽,后面一大堆的数字,当然,这只是针对您的文章的标题为全汉字而言。所以就想着能把空的标题别名改为汉语拼音,以让它看起来舒服一些。

阅读全文

另类的Joomla!标题Alias处理方法

Joomla! 的連結其實是用 Alias 欄位。然而這 Alias 欄位並不一定是你輸入的文字或由 Title 欄位複製過來,它是經過轉換的結果。不幸的是,這轉換過程把 Alias 欄位變成只有英文、數字與破折號。

當你儲存一篇文章、單元、分類或選單時,Joomla! 把 Alias 欄位(可能是由 Title 欄位複製過來)送交給 JFilterOutput::stringURLSafe() 處理。而 stringURLSafe() 函式則把這字串餵給 JLanguage::transliterate(),在那裏用上函式 utf8_decode(),然後 htmlentities()。接下來字串中所有奇怪的字元(對英文語系的人來說)都以正常的字元取代。中文或日文字無法經過這些折磨還存活。但是字串還要經過更多的處理。
最后更新于: 2008-08-22 18:52 阅读全文

Joomla!组件开发时SEF的设计

    今天开始设计LIC的前台了,遇到了一个问题,就是如何将链接融入到Joomla!的SEF中去。
    Joomla!现在是把SEF功能独立了出来,每个组件都会有一个router.php文件来处理URL。
    先将代码贴在下面,具体的解释等有空的时候再写吧。

最后更新于: 2008-08-31 11:49 阅读全文

第 4 页/共 5 页