Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-09-04 03:07:17

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#2 2013-09-04 07:50:13

etc
Developer
Registered: 2010-11-11
Posts: 5,053
Website GitHub

Re: Admin Dashboard

You could probably just filter the articles using admin_criteria callbacks.

Offline

#3 2013-09-04 13:11:00

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Admin Dashboard

I want additional widgets on my dashboard as well so using the standard article list page wouldn’t work.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#4 2013-09-04 14:33:32

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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&amp;step=edit&amp;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

#5 2013-09-04 18:20:14

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#6 2015-02-26 01:08:30

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#7 2015-02-26 10:20:28

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Admin Dashboard

Yeah, sorry, the design patterns moved and are here now:

4.6 design patterns

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

#9 2016-05-13 06:21:33

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Admin Dashboard


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB