JavaScud | Forum | JIRA | Blog |
  Dashboard > scud的个人文档 > Home > LifeType Placard Plugin
  scud的个人文档 Log In View a printable version of the current page.  
  LifeType Placard Plugin
Added by scud, last edited by scud on Apr 23, 2006  (view change)
Labels: 

Plugin: Placard 个人公告
Author: scud 飞云小侠
Release Date: 2006/04/19
Version: 1.0
WebSite: http://www.javascud.org

This plugin allows you to publish any placard.

可以用来做个人公告,或者做自定义CSS,只要修改文字说明已经显示的位置,就可以改为不同的用途.

Usage as follow:

You can use:
1. $placard->isEnabled() to check the plugin is enabled or not.
2. $placard->getPlacardText() to fetch and show the placard.
3. $placard->getPlacardTitle() to fetch and show the placard.

Example:
Add the following code to any template file where you want it to show:

{if $placard->isEnabled()}
{if $placard->getPlacardTitle() != ""}
<div class="Sidetitle">
<h4>{$placard->getPlacardTitle()}</h4>
</div>
{/if}
<p>
{$placard->getPlacardText()} 
</p>
{/if}

Extend:
this is a very simple plugin,can add your fields for configurate,for your special use.
for example,for your custom css,for ....

扩展非常容易,参考脚本可以自己增加一些字段,非常简单了.

ScreenShot:

Admin Screen:

Download:
placard.zip

Site running on a free Atlassian Confluence Open Source Project License granted to WebWork China. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.3 Build:#808 May 29, 2007) - Bug/feature request - Contact Administrators