Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2005-07-01 23:07:27

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: Creating an admin side welcome page

I guess the notepad admin plugin could be adapted to serve this purpose… just gotta get back to work on that thing.

Offline

#12 2005-07-02 19:52:14

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: Creating an admin side welcome page

It sounds like you want something like WordPress’s dashboard.


bludrop studios .::. Creative Expression

Offline

#13 2005-11-06 21:10:59

Sencer
Developer emeritus
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Creating an admin side welcome page

Here is something very simple (mostly as a proof of concept) to get plugin authors started.

http://www.sencer.de/code/txp/asy_dashboard.txt (plugin)
http://www.sencer.de/code/txp/asy_dashboard.phps (source)

What it does:

  • Allows you to make a fully custom dashboard by bringing the front-ends parse() to the backend, meaning you can use txp-tags and html for customizing.
  • Looks for a form called asy_dashboard (if it exists), otherwise defaults to plain article and comment list (see below)
  • Introduces two tags (for articles and comments) which shows the most recent elements with links to the respective editing pages.

See help of the plugin for how to get started.

Offline

#14 2005-11-08 01:54:27

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Creating an admin side welcome page

Sencer,
To help me understand: Do you suggest creating a section for this? How does it get applied to the admin-side of things? Is this a dashboard for a site, that takes people to the admin pages? Thanks for clarifying.

OR is this really JUST a starter for plugin developers?, cause although I wish I were, I am not :) still much to learn.

Matthew

Last edited by ma_smith (2005-11-08 02:07:27)


Offline

#15 2005-11-08 07:34:32

Sencer
Developer emeritus
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Creating an admin side welcome page

1. You install the plugin.
2. You log in (or go the admin-url) and you see a plain (and somewhat ugly) dashboard.
3. If you want to pretty it up, you can create a form called asy_dashboard and customize it any way you want. There are two new txp-tags included (see help).

If you can live with the functionality it offers, then this will be enough for you.

I seeded this, so that a plugin-developer can make a more comprehensive plugin, that is more appealing out of the box.

Offline

#16 2005-11-08 07:41:49

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Creating an admin side welcome page

Hey, nice one, Sencer. I may just play around with this later.

Offline

#17 2005-11-08 08:09:59

thebombsite
Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Creating an admin side welcome page

I hate to spoil the fun but I’m not seeing anything. When I login I just end up at the article editing screen as normal.


Stuart – The BombsiteProText ThemesTextgarden

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#18 2005-11-08 10:48:03

edeverett
Plugin Author
From: London
Registered: 2005-03-17
Posts: 42
Website

Re: Creating an admin side welcome page

Me neither, I don’t see anything, I’m just taken straight to the standard write tab.

Ed.

Offline

#19 2005-11-08 11:40:00

Sencer
Developer emeritus
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Creating an admin side welcome page

<strike>D’oh. It’s true, you don’t get to the dashboard, after login, because the login is a form-submit. I’ll get this fixed.</strike>

Ok, it’s repaired now (also fixed another bug). Make sure you force reload (ctrl-f5) when you download from the link above.

Offline

#20 2005-11-08 11:55:21

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Creating an admin side welcome page

Sencer,
Thanks,
Now its working fine, and I can play around with it. :)

Matthew


Offline

Board footer

Powered by FluxBB