[wellwell-devel] [wellwell] Add URL path to content_list component.
Stefan Hornburg
wellwell-devel at rt.icdevgroup.org
Wed Sep 29 09:57:55 UTC 2010
commit 42906ba79fc6805bb60d2eb07b612eb8ba07b89f
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Wed Sep 29 11:21:33 2010 +0200
Add URL path to content_list component.
plugins/content/components/content_list | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/content/components/content_list b/plugins/content/components/content_list
index 7ec70d1..df9abd6 100644
--- a/plugins/content/components/content_list
+++ b/plugins/content/components/content_list
@@ -4,13 +4,14 @@
[query sql="select * from content order by created desc" list=1]
[on-match]
<table>
-<tr><th>[L]Title[/L]</th><th>[L]Author[/L]</th><th>[L]Date[/L]</th></tr>
+<tr><th>[L]Title[/L]</th><th>[L]Author[/L]</th><th>[L]Date[/L]</th><th>[L]Path[/L]</tr>
[/on-match]
[list]
<tr>
<td><a href="[area content/[sql-code]]">[sql-param title]</a></td>
<td>[user name [sql-param uid]]</td>
<td>[time time="[sql-param created]"]%A, %e.%B %Y[/time] </td>
+<td>[sql-param uri]</td>
</tr>
[/list]
[on-match]
More information about the wellwell-devel
mailing list