Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Admin Dashboard
How can I build an Admin Dashboard using Hive UI elements and smd_tabber?
I’d like to show a list of articles from a specific section related to the logged in user but using the styles and widgets used throughout the admin interface.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Admin Dashboard
You could probably just filter the articles using admin_criteria callbacks.
Offline
Re: Admin Dashboard
I want additional widgets on my dashboard as well so using the standard article list page wouldn’t work.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Admin Dashboard
When you use a plugin that allows using Textpattern markup language, you can merely do what you do with any other template:
<table class="txp-list">
<thead>
<tr>
<th>Title</th>
<th>Posted</th>
</tr>
</thead>
<txp:article_custom wraptag="tbody" break="tr">
<td><a href="?event=article&step=edit&ID=<txp:article_id />"><txp:title /></td>
<td><txp:posted /></td>
</txp:article_custom>
</table>
Which would generate that styled list table. You can find all documented design patterns here.
Offline
Re: Admin Dashboard
Thanks Jukka, Google kept getting me to broken links that I hoped would get me to those design patterns. This will help.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Admin Dashboard
Gocom wrote #274973:
Which would generate that styled list table. You can find all documented design patterns here.
Do these have a new home? 404 is what I get.
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: Admin Dashboard
Yeah, sorry, the design patterns moved and are here now:
Note they are for Textpattern 4.6.0 onwards, which you can pretty safely use (it’s stable enough as a Nightly Build).
Edited to fix link.
Last edited by philwareham (2016-05-13 09:06:38)
Offline
#8 2016-05-13 06:17:15
- candyman
- Member
- From: Italy
- Registered: 2006-08-08
- Posts: 684
Re: Admin Dashboard
The latest link published is outdated now.
I noted because a recent post leads here.
Last edited by candyman (2016-05-13 06:18:19)
Offline
Re: Admin Dashboard
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Pages: 1