General Actions:
Log-in
Wiki:
CreativeIT
▼
:
Document Index
»
Space:
Panels
▼
:
Document Index
»
Page:
WebHome
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Panels
Wiki source code of
Panels
Last modified by
Administrator
on 2006/12/15 03:10
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
1 Panels #if($hasAdmin) 1.1 Create new panels #includeTopic("Panels.CreatePanel") #end 1.1 Viewer panels #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='Panels.PanelClass' and doc.fullName!='Panels.PanelTemplate' order by doc.name") #set($searchResults = $xwiki.searchDocuments($sql)) #foreach ($item in $searchResults) #set($obj = $xwiki.getDocument($item).getObject("Panels.PanelClass")) #if($obj.type == 'view') * [$item]#if($hasAdmin){pre} [{/pre}<a href="$xwiki.getURL("$item", "inline")">$msg.get("edit")</a> <a href="$xwiki.getURL("$item", "delete")">$msg.get("delete")</a>{pre}]{/pre}#end: $obj.description #end #end #if($hasAdmin) <div class="plainmessage"><img src="$xwiki.getSkinFile("icons/wiz.png")" alt=""/> You can customize the side column(s) using the [Panel Wizard>Panels.PanelWizard].</div> #end 1.1 Editor panels #foreach ($item in $searchResults) #set($obj = $xwiki.getDocument($item).getObject("Panels.PanelClass")) #if($obj.type == 'edit') * [$item]#if($hasAdmin){pre} [{/pre}<a href="$xwiki.getURL("$item", "inline")">$msg.get("edit")</a> <a href="$xwiki.getURL("$item", "delete")">$msg.get("delete")</a>{pre}]{/pre}#end: $obj.description #end #end
Quick Links
Home
Index
What's New
Blog
Calendar
Photo Albums
Sandbox
Tags
Bulletin Board
My Recent Modifications
PamelaJennings
|
rwakkary
|
HaledenSands
|
ByronLahey