⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 documentation.resx

📁 一种Portal的实现源码
💻 RESX
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dita PUBLIC "-//IBM//DTD DITA Composite//EN" "http://www.altova.com/schemas/dita/ditabase.dtd">
<?xmlspysps http://www.altova.com/sps/template/dita/dita.sps?>
<dita xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<topic id="AddModule" xml:lang="en">
		<title>ServiceItemList - An Introduction</title>
		<prolog>
			<metadata>
				<keywords>
					<keyword>ServiceItemList module</keyword>
				</keywords>
			</metadata>
		</prolog>
		<body>
			<p></p>
			<p>Welcome to the &quot;ServiceItemList&quot; help file. The ServiceItemList module uses the Rainbow community WebService. This module list data from another Rainbow based portal or the same portal as where the module resides.</p>
			<p>This module list data from another Rainbow based portal in a table that looks similar to the PortalSearch output. Data from the same portal where the module resides can also be displayed. Various kind of data-filtering, searching and ordering are supported.</p>
			<p>To get a quick understanding of how this modules works please add the module to a page and edit the Module setting (lets pretend you are interrested in localization stuff):</p>
			<p><table>
					<title><b>ServiceItemList Module settings - simple example</b></title>
					<tgroup cols="2">
						<colspec colnum="1" colname="spycolgen1" colwidth="*"/>
						<colspec colnum="2" colname="spycolgen2" colwidth="*"/>
						<tbody>
							<row>
								<entry>URL</entry>
								<entry>http://www.rainbowportal.org/Rainbow/</entry>
							</row>
							<row>
								<entry>PortalAlias</entry>
								<entry>&lt;Leave this field empty&gt;</entry>
							</row>
							<row>
								<entry>LocalMode</entry>
								<entry>Uncheked</entry>
							</row>
							<row>
								<entry>Searchstring</entry>
								<entry>localization</entry>
							</row>
						</tbody>
					</tgroup>
				</table></p>
			<p>NOTE: just use the default settings of the rest of the fields! Press OK and see the resulting list of items in a table. The table should list approx. 9 items: 4 Announcements, 3 articles and 2 HTML Documents.</p>
			<p>The layout of the table can be controlled by settings that start with &quot;Show&quot;. E.g.: Showcreateddate controls if column Date shold be displyed. Ordering is controlled using   fields Sortfield and SortDirection.</p>
			<p><table>
					<title>Description of all settings</title>
					<tgroup cols="2">
						<colspec colnum="1" colname="spycolgen1" colwidth="*"/>
						<colspec colnum="2" colname="spycolgen2" colwidth="*"/>
						<tbody>
							<row>
								<entry>URL</entry>
								<entry>The url of the Rainbow portal that supplies the data.</entry>
							</row>
							<row>
								<entry>Portalalias</entry>
								<entry>Represents the Alias of the site. Must be set for a multiportal Rainbow installation.</entry>
							</row>
							<row>
								<entry>Localmode</entry>
								<entry>When checked data from the local Rainbow database is used. Please still fill out URL.</entry>
							</row>
							<row>
								<entry>Moduletype</entry>
								<entry>All;Announcements;Contacts;Discussion;Events;HtmlModule;Documents; Pictures;Articles;Tasks;FAQs;ComponentModule. Controls which module data is comming from. Default value is &quot;All&quot; which is all modules.</entry>
							</row>
							<row>
								<entry>Maxhits</entry>
								<entry>The maximum numbers of items to display in the table.</entry>
							</row>
							<row>
								<entry>Searchstring</entry>
								<entry>All listed items must include this string. THIS SETTING CAN NOT BE EMPTY! Please see search tips below.</entry>
							</row>
							<row>
								<entry>Searchfield</entry>
								<entry>ModuleName;Title;CreatedByUser;CreatedDate;TabName. Sorting is always done on the selected field.</entry>
							</row>
							<row>
								<entry>Sortdirection</entry>
								<entry>ASC;DESC. Sort Ascending or Descending.</entry>
							</row>
							<row>
								<entry>Mobileonly</entry>
								<entry>If checked only items for mobiledevices are listed.</entry>
							</row>
							<row>
								<entry>Idlist</entry>
								<entry>Comma separeted list of id&apos;s. Here you can enter a list of e.g. modules you want to get data from, e.g.: 3327,3328,3329. The type of id is controlled by setting Idlisttype</entry>
							</row>
							<row>
								<entry>Idlisttype</entry>
								<entry>Item;Module;Tab. Controls the type of id&apos;s in setting Idlist.</entry>
							</row>
							<row>
								<entry>Tag</entry>
								<entry>Not used (leave the 0).</entry>
							</row>
							<row>
								<entry>Target</entry>
								<entry>Blank;parent;self;top. Default value is &quot;Blank&quot; which will open a new browser.</entry>
							</row>
							<row>
								<entry>Showid</entry>
								<entry>If true ID&apos;s are displayed in the lists</entry>
							</row>
							<row>
								<entry>Showmodulefriendlyname</entry>
								<entry>If true column X are displayed in the list</entry>
							</row>
							<row>
								<entry>Showsearchtitle</entry>
								<entry>If true column Title are displayed in the list</entry>
							</row>
							<row>
								<entry>Showdescription</entry>
								<entry>If true column Description are displayed in the list</entry>
							</row>
							<row>
								<entry>Showcreatedbyuser</entry>
								<entry>If true column User are displayed in the list</entry>
							</row>
							<row>
								<entry>Showcreateddate</entry>
								<entry>If true column Date are displayed in the list</entry>
							</row>
							<row>
								<entry>Showlink</entry>
								<entry>If true column Link are displayed in the list</entry>
							</row>
							<row>
								<entry>Showtabname</entry>
								<entry>If true column Tab are displayed in the list</entry>
							</row>
							<row>
								<entry>Showmoduletitle</entry>
								<entry>If true column Module are displayed in the list</entry>
							</row>
						</tbody>
					</tgroup>
				</table></p>
			<p></p>
			<p><b>Search tips for field Searchstring:</b> <ul>
					<li>Use AND and NOT</li>
					<li>It is not necessary to type AND between words</li>
					<li>Use &apos;-&apos; in front of words. Example: &quot;word1 word2 -word3&quot; and &quot;word1 word2 NOT word3&quot; returns same result</li>
					<li>Use ? as singlecharacter wildcart</li>
					<li>OR is not supported (it is ignored)</li>
					<li>Phrase searching supported using quotes: &quot;this is a phrase&quot;</li>
				</ul></p>
			<p></p>
			<p>NOTE: The search code PortalSearch uses are called by module ServiceItemList.</p>
			<p></p>
		</body>
	</topic>
</dita>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -