You might want to display all comments, and this script will retrieve them:
Wiki Output Sample Copy to clipboard {LIST(cache="n")}
{filter type="comment"}
{pagination max="10"}
{OUTPUT( template="table")}
{column field="title"}
{column field="comment_content"}
{column field="object_link" mode="raw"}
{column field="date"}
{OUTPUT}
{FORMAT( name="object_link")}
{display name="object_id" format="objectlink"}
{FORMAT}
{sort mode="date_desc"}
{LIST}
The FORMAT control block defines an object with the name object_link which is displayed in such a way that it is object_id which is displayed and formatted as objectlink; which makes the id clickable. This object reference is then used in the column control block in the body of the OUTPUT table.
This gives us the following result:
Title
|
Comment
|
Thread Id
|
Date
|
Any thoughts here? |
I don't get this syntax: URL (use $page to be replaced by the page name in the URL example: http://www.example.com/tiki-index_raw.php?page=$page ): I would like to refer to Wikipedia definitions of terms in my wiki content, how do I do that? |
167 |
2005-12-08 19:22:22 |
Styles Hide This |
Some styles show the "Show/Hide Right Modules" and some don't expose that toggle link. Hows does one go about making sure a style exposes this in the GUI? |
166 |
2005-12-07 22:40:37 |
Expand to a "walk through"? |
Anyone have thoughts on expanding this simple Quick Start into a full-fledged walkthrough? I'm working on a TikiWIki walkthrough that would show how to configure some of the more commonly items, such as: *Turn on (or off) specific TikiWiki features **Enble articles, forums, blogs, and site identity **Disable top and bottom bar, hotwords, and image gallery *Change the look and feel (theme) of your TikiWiki *Specifying your site's identity *Assign user and group permissions *Create custom menus *Customize TikiWiki's modules What do y'all think? |
162 |
2005-11-18 03:10:54 |
Also imalign and usemap... |
Wiki image syntax also now includes imalign (so HTML isn't needed for wrapping text) and usemap attributes. |
160 |
2005-11-16 06:46:08 |
getting rid of "&bl" |
I observe that choosing "best language" option in Admin->Features has side effects. A tiki link " STNTUPLE ", for example, would be displayed as "...tiki-index_raw.php?page=Offline.Stntuple&bl" by a web browser which, in particular, seems to confuse a web help generation utility. Turning "best language" OFF helped - thanks to luciash for pointing it out. |
157 |
2005-11-14 00:30:12 |
GraphViz is installed ON THE SERVER |
This may seem obvious to everyone else, but it wasn't that obvious to me (because of all the references to Windows on this page). GraphViz needs to be installed on the Wiki server, and normally the installation needs to be done as root, meaning your ISP will probably have to do it if you have a hosted server. (TigerTech.net is happy to do it for you, for example.) There are probably ways to execute the config script so that it will install in a local directory instead of /usr/local/lib, but the default config script expects you to be able to install as root. Just thought I'd clarify that. |
156 |
2005-11-12 03:33:07 |
When some users register themselves, they receive an email with a confirmation link. |
Is there self registration available without email confirmation? If so, should we discuss it here? |
154 |
2005-11-08 07:48:02 |
Re: Need to add PluginCatorphans |
> It's in Polaris; I'm using it. Nice tool, lists pages that are not assigned to any category. Don't know whether it is in Sirius. > Page discussing it. PluginOrphanPages. |
150 |
2005-11-06 06:28:00 |
Need to add PluginCatorphans |
It's in Polaris; I'm using it. Nice tool, lists pages that are not assigned to any category. Don't know whether it is in Sirius. |
149 |
2005-11-06 06:23:55 |
LDAp passwords |
I can only get LDAP to work if my passwords are cleartext. How do I tell tiki that my LDAP passwords are crypt or md5? \\Greg |
147 |
2005-11-03 03:59:42 |
We see that this only gives us the information about the object (the comment in this case), but what if I want to have more information before visiting the comment?
One way to do this is to add a column which indicates the item being commented on. It is typically a wiki page or tracker item which is clickable and takes me there.
So let's make some changes and see what we have:
Wiki Output Sample Copy to clipboard {LIST(cache="n")}
{filter type="comment"}
{pagination max="10"}
{OUTPUT( template="table")}
{column field="contributors"}
{column field="title"}
{column field="comment_content"}
{column field="parent_object_title" mode="raw"}
{column field="object_link" mode="raw"}
{column field="date"}
{OUTPUT}
{FORMAT( name="object_link")}
{display name="object_id" format="objectlink"}
{FORMAT}
{FORMAT( name="parent_object_title")}
{display name="parent_object_type"}: {display name="wikiplugin_objectlink" format="wikiplugin" type="parent_object_type" id="parent_object_id"}
{FORMAT}
{sort mode="date_desc"}
{LIST}
Here we have just added a new column whose label is "Parent Object".
The new FORMAT control block formats the parent_object_title field, which is the title of the comment's parent object, then with {display} tag we first display the name of the parent object, which is stored in the parent_object_type field. For example, if the parent object is a trackeritem, it will display "trackeritem:", and finally we display the link to the parent object, using the wikiplugin_objectlink plugin. This plugin allows you to create a link to a Tiki object according to its type and its identifier. Here you specify the link format as "wikiplugin", the object type as parent_object_type, and the object id as parent_object_id. For example, if the parent object is a trackeritem with id 1, this will generate a link to "tiki-view_tracker_item.php?itemId=1".
So you get a field that displays the name and link of the comment's parent object. For example, if the comment is linked to an item called "This is my first item", you display "trackeritem: This is my first item".
This gives us the following result:
Title
|
Comment
|
Parent Object
|
Thread Id
|
Date
|
Any thoughts here? |
I don't get this syntax: URL (use $page to be replaced by the page name in the URL example: http://www.example.com/tiki-index_raw.php?page=$page ): I would like to refer to Wikipedia definitions of terms in my wiki content, how do I do that? |
wiki page: External Wikis |
167 |
2005-12-08 19:22:22 |
Styles Hide This |
Some styles show the "Show/Hide Right Modules" and some don't expose that toggle link. Hows does one go about making sure a style exposes this in the GUI? |
wiki page: Users Flip Columns |
166 |
2005-12-07 22:40:37 |
Expand to a "walk through"? |
Anyone have thoughts on expanding this simple Quick Start into a full-fledged walkthrough? I'm working on a TikiWIki walkthrough that would show how to configure some of the more commonly items, such as: *Turn on (or off) specific TikiWiki features **Enble articles, forums, blogs, and site identity **Disable top and bottom bar, hotwords, and image gallery *Change the look and feel (theme) of your TikiWiki *Specifying your site's identity *Assign user and group permissions *Create custom menus *Customize TikiWiki's modules What do y'all think? |
wiki page: Initial Configuration |
162 |
2005-11-18 03:10:54 |
Also imalign and usemap... |
Wiki image syntax also now includes imalign (so HTML isn't needed for wrapping text) and usemap attributes. |
wiki page: Wiki-Syntax Images |
160 |
2005-11-16 06:46:08 |
getting rid of "&bl" |
I observe that choosing "best language" option in Admin->Features has side effects. A tiki link " STNTUPLE ", for example, would be displayed as "...tiki-index_raw.php?page=Offline.Stntuple&bl" by a web browser which, in particular, seems to confuse a web help generation utility. Turning "best language" OFF helped - thanks to luciash for pointing it out. |
wiki page: i18n Admin |
157 |
2005-11-14 00:30:12 |
GraphViz is installed ON THE SERVER |
This may seem obvious to everyone else, but it wasn't that obvious to me (because of all the references to Windows on this page). GraphViz needs to be installed on the Wiki server, and normally the installation needs to be done as root, meaning your ISP will probably have to do it if you have a hosted server. (TigerTech.net is happy to do it for you, for example.) There are probably ways to execute the config script so that it will install in a local directory instead of /usr/local/lib, but the default config script expects you to be able to install as root. Just thought I'd clarify that. |
wiki page: GraphViz Install |
156 |
2005-11-12 03:33:07 |
When some users register themselves, they receive an email with a confirmation link. |
Is there self registration available without email confirmation? If so, should we discuss it here? |
wiki page: Users |
154 |
2005-11-08 07:48:02 |
Re: Need to add PluginCatorphans |
> It's in Polaris; I'm using it. Nice tool, lists pages that are not assigned to any category. Don't know whether it is in Sirius. > Page discussing it. PluginOrphanPages. |
wiki page: Category |
150 |
2005-11-06 06:28:00 |
Need to add PluginCatorphans |
It's in Polaris; I'm using it. Nice tool, lists pages that are not assigned to any category. Don't know whether it is in Sirius. |
wiki page: Category |
149 |
2005-11-06 06:23:55 |
LDAp passwords |
I can only get LDAP to work if my passwords are cleartext. How do I tell tiki that my LDAP passwords are crypt or md5? \\Greg |
wiki page: LDAP authentication |
147 |
2005-11-03 03:59:42 |
|