不过免费的有一款,Simple Tags,用WP的人也许会很耳熟


,EE也有一款不知道功能是不是一样的,不过应付普通的TAG的功能应该不会有问题吧


全都是洋文看得很迷糊~~~~~~只有哪天有了空间之后再尝试了


下载地址: http://www.opl.de/images/uploads/simple_tags.zip
|
|||||||
| ExpressionEngine交流专栏 ExpressionEngine是一个基于PHP的非常强大灵活的CMS。[官方] |
| 魔兽世界私服 奇迹私服 | 双至强仅二千,企商在线,最早租用商 | 亿恩1元帮您升级服务器! | 江民杀毒软件2008年推广计划 |
| 传奇世界私服 传世私服 传奇私服 | 明网Linux合租空间,独立IP | 全球最新的创意科技产品 | 魔域私服 传奇私服 魔域私服 完美世界私服 |
![]() |
|
|
主题工具 | 主题评分 | 显示模式 |
|
|
#1 (页面定位) |
![]() 注册日期: 2005-11-09
帖子: 158
![]() |
【分享】EE的TAGS插件~~~~~~···
EE有一个很著名的Tag Module,但是40美元的价格令人望而却步
不过免费的有一款,Simple Tags,用WP的人也许会很耳熟 ![]() ![]() ,EE也有一款不知道功能是不是一样的,不过应付普通的TAG的功能应该不会有问题吧 ![]() ![]() 全都是洋文看得很迷糊~~~~~~只有哪天有了空间之后再尝试了 ![]() ![]() 下载地址: http://www.opl.de/images/uploads/simple_tags.zip |
|
|
|
|
|
#2 (页面定位) |
![]() 注册日期: 2005-11-09
帖子: 158
![]() |
This extension-/module-combination is intended for tagging weblog entries.
Simple as in basic. There really are no bells & whistles or shiny interfaces. Any custom field can be designated as a field containing comma-separated tags. When posting, updating or deleting an entry the tagging database table is updated accordingly. If you happen to already have such a field, e.g. used for <meta name="keywords"> or the like, you can also re-index all your existing entries without the need to update them bit by bit. Tags as in informally assigning relevant keywords or phrases to entries and being able to use this information to access them. This version only supports tagging by the authors, not by your visitors. Currently there are no plans to change this. Installation
As has been mentioned before, in order to use tagging in a weblog the weblog’s Field Group must contain a Custom Weblog Field with Formatting set to None and this field must designated as a tagging field in the extension’s settings. When posting an entry you may enter your tags into that field. Separate the tags by commas. Taglist First thing you probably want to do is creating a template on which all related entries are shown once someone clicks on a Tag-link. I will call it site/taglist in this example. Inside this template you can use a pretty standard exp:weblog:entries-tag to display whatever you like of the related entries, but you’ll have to wrap it inside {exp:simpletag:taglist}{/exp:simpletag:taglist}. This tag has two parameters. tagname="{segment_3}" This parameter is mandatory. The Tag’s name will be passed in the URL. You have to specify the segment which contains it. Normally this will be the third segment. weblog="blog|news" This parameter is optional. If you want to limit the display to entries of (a) particular weblog(s) you can specifiy this here using the usual syntax. Important: You have to add the parameter entry_id="{tagged_entries}” to the enclosed exp:weblog:entries-tag. Example: {exp:simpletag:taglist weblog="{my_weblog}" tagname="{segment_3}"} {exp:weblog:entries entry_id="{tagged_entries}" limit="10" orderby="date" sort="desc"} <h1>{title}</h1> {summary} <a href="{title_permalink=site/article}">read more</a> {/exp:weblog:entries} {/exp:simpletag:taglist} To account for special characters tags use url_titles much like weblog entries or categories. If you want to print the plain text of the tagname there’s {exp:simpletag:tagheader}{/exp:simpletag:tagheader}. It has one mandatory parameter and a single variable: {tag}. tagname="{segment_3}" Example: {exp:simpletag:tagheader tagname="{segment_3}"} Taglist for {tag} {/exp:simpletag:tagheader} This will translate segment 3 into the plain text tagname. Listing Tag-links for each entry To display tags under your entries that are linked to the taglist we created above you can wrap {exp:simpletag:taggify}{/exp:simpletag:taggify} around the variable of the custom field you designated to contain tags. This may be done everywhere you display weblog entries with the exp:weblog:entries-tag no matter whether it’s on a single- or multi-entry template. There are two parameters. path="" This parameter is mandatory. This will contain the URL to the taglist we created. You can use a {path}-variable here. delimiter="" Optional. This can be any text-string you want to display between the single tags. If nothing is specified it defaults to one space character. Notice: Since a parameter cannot start or end with a space character, you have to use an underscore (_) instead if your delimiter shall begin or end with blanks. Example: {exp:weblog:entries weblog="blog" limit="10"} <h1>{title}</h1> {body} <br /> Tags: {exp:simpletag:taggify path="{path=site/taglist}" delimiter="_-_"} {keywords} {/exp:simpletag:taggify} {/exp:weblog:entries} This will display the tags from your field named keywords separated by “ - “ and linked to the taglist-template. Displaying a tag-cloud Finally there is an EE-tag to display a tagcloud: {exp:simpletag:tagcloud}. It’s a single EE tag with no closing element. There are five parameters. path="" This parameter is mandatory. This will contain the URL to the taglist we created. You can use a {path}-variable here. weblog="blog|news" This parameter is optional. If you want to limit the display to entries of (a) particular weblog(s) you can specifiy this here using the usual syntax. limit="X" Optional. This limits the cloud to the X most popular tags. font_max="" Optional. The font-size of the tags will be determined in %. This is the maximum size a popular tag can reach. Defaults to 250. font_min="" Optional. The font-size of the tags will be determined in %. This is the minimum size an unpopular tag can reach. Defaults to 100. Example: {exp:simpletag:tagcloud font_max="200" limit="20" path="{path=site/taglist}"} This will produce a tagcloud with the top 20 tags linked to the template site/taglist and the most popular tag will have a font-size of 200%. That’s it. Hopefully it wasn’t too confusing to give it a try |
|
|
|
|
|
#9 (页面定位) |
|
青铜长老
![]() 注册日期: 2007-11-13
帖子: 244
![]() |
为啥啊?别放弃啊,我刚刚开始准备仔细研究了呢,你就又打算放弃了。
坚持还是不坚持,是个问题。 看看,都弄了好几天了,不过一直比较菜,没啥实质性的内容。 http://www.cnite.net/ee/ |
|
|
|