Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2010-07-13 06:20:53

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: jmd_dashboard: Customizable dashboard

thanks for responce.
it’s hard for me to do what you write. because i dont have enough skills to work manually with javascript.


<txp:txp_me />

Offline

#50 2011-01-18 14:19:29

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: jmd_dashboard: Customizable dashboard

Hello Jm I’m not sure if you are still active on this plugin…
Implementing it and it fires this error on the dashboard page:

Notice: Unknown image. in /pathto/textpattern/publish/taghandlers.php on line 156

Any clue ?

Thanks !


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#51 2011-02-02 01:33:14

th3lonius
Member
From: Iowa City, IA
Registered: 2010-02-09
Posts: 67
Website

Re: jmd_dashboard: Customizable dashboard

robin746 wrote:

The help for this plugin has the following line in its form example:
bc. <txp:article_custom form=“jmd_dashboard_pending” status=“pending”/>
However, article_custom does not work with status set to “pending”. Only for “live” and “sticky”. I have tested this.
Rather unfortunate, IMO. maybe someone with more skillz can tell me how to hack that tag to work as shown above.
P.S. Nice plugin!

Does any one have a solution to this? I grabbed the plugin to enhance the workflow for my editors and being able to display a list of pending articles is the most important aspect of this. The status attribute of article_custom has only ever allowed the values “live” or “sticky”. So how can I pull this off?

Last edited by th3lonius (2011-02-02 01:34:28)

Offline

#52 2011-02-02 01:53:56

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: jmd_dashboard: Customizable dashboard

Untested:

<txp:php> $query = mysql_query("SELECT * FROM `textpattern` WHERE `status` = '3'"); </txp:php>

I think pending should be 3, top to bottom.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#53 2011-02-02 02:04:48

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: jmd_dashboard: Customizable dashboard

th3lonius

Or try (also untested):

<txp:php>
$rs = safe_rows('*,
     unix_timestamp(Posted) as uPosted,
     unix_timestamp(LastMod) as uLastMod,
     unix_timestamp(Expires) as uExpires',
   'textpattern',
   'status = 3');
foreach ($rs as $row) {
   populateArticleData($row);
   echo output_form(array('form' => 'your_article_list_form'));
}
</txp:php>

Hopefully that’ll list the pending items using the tag layout defined in your_article_list_form but I don’t know if it works.

Last edited by Bloke (2011-02-02 02:05:11)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#54 2011-02-02 05:01:34

th3lonius
Member
From: Iowa City, IA
Registered: 2010-02-09
Posts: 67
Website

Re: jmd_dashboard: Customizable dashboard

Thanks guys!

Offline

#55 2011-03-15 19:07:08

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: jmd_dashboard: Customizable dashboard

If any jmd_dashboard users are interested, I was able to make this work with the new ‘Home’ tab feature.

Offline

#56 2011-03-21 18:39:53

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: jmd_dashboard: Customizable dashboard

In case this helps anybody: I couldn’t get jmd_dashboard to work with symlink redirects so I had to use esq_adminsplash. :-(

If anybody gets it to work, let me know.

Offline

Board footer

Powered by FluxBB