Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-09-28 04:09:36

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

adi_recent_tab - Recent Items

Summary

adi_recent_tab is designed to speed up workflow – especially during website construction.

The Recent dropdown menu shows a list of articles/images/links/pages/forms etc that you have recently visited in the admin interface.

The Recent tab (click on “Recent”) contains the recently visited items as well as some preferences.

This menu/tab contains items that you have visited – as opposed to the Recent Articles list in the Article tab which only contains articles that have been recently modified.

See the help supplied with the plugin, or have a look online. You can download the latest version from here.

Screenshots

TXP 4.5:

TXP 4.6:

Textpack

You can install a Textpack from the adi_recent_tab options page under the Plugins tab.

Corrections or additional language translations are most welcome and can be submitted here.

Translation credits:

  • German (thanks uli)
  • French (thanks Pat64)
  • Japanese (thanks HJ)

Requirements

Textpattern 4.5 or later.

Notes

  • visits to ‘default’, via the Page/Form/Style tabs are not logged

Bug & Limitations

  • the dropdown menu won’t work in the TXP Classic theme
  • I’ve included styling for Hive theme but others may need some adjustment
  • only visits to items in the standard TXP admin tabs – articles, images, pages, forms, links, files, style – are recorded
  • due to the Ajaxie nature of article editing, changes to article titles are not picked up immediately

Version history

  • 0.6
    • refixed for TXP 4.6
    • responsive layout & styling for recent items tab (I think)
    • fix: recognises “upload file from existing”
    • enhancement: pref for image alt text (for Uli)
  • 0.5
    • change: IDs display switched on by default
    • change: articles heading link now goes to Articles (list) tab rather than Write
    • fix: error when reordering images/files in list
    • fix: error when changing number of items per page
    • fix: error when file upload failed (e.g. file too big/file already exists)
    • fix: article titles etc that are blank with multiple spaces are treated as Untitled
    • fix: unslashed quotes in DB queries
    • fix: tabs no longer listed if user lacks privs
    • fix: upload thumbnail now ignored
    • fix: all new section names sanitised & recognised
    • enhancement: plugin privs
    • code tidy up (thanks gocom)
    • TXP 4.5+
    • tested & fixed for TXP 4.6
  • 0.4
    • TXP 4.5-ified (particularly to cope with new Sections tab & new-style Links tab)
    • fix: record new links properly
    • fix: losing image (file) name if both alt & caption blank
  • 0.3
    • style improvements to cope with long titles
    • fix: style for latest version of Hive theme (thanks Uli)
    • fix: error message in images & files search result page (thanks Uli)
  • 0.2
    • fix: cope with image replace & file replace properly
    • fix: cope with style create/save/delete properly
    • new pref: include article/image/link/file IDs
  • 0.1
    • initial release

Feedback

Comments are most welcome.

Spread the love

If you find this plugin useful and would like a warm and fuzzy feeling to go with it, please consider donating to the Textpattern development team.

Last edited by gomedia (2016-09-14 23:59:39)

Offline

#2 2011-09-28 05:56:51

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,149
Website

Re: adi_recent_tab - Recent Items

A clever plugin to speed up our development process.

Thanks Adi ;)


Patrick.
Txp Tricks & Tips by french users : http://txp-fr.net | G+
Github

Offline

#3 2011-10-30 22:22:43

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_recent_tab - Recent Items

Version 0.2 available for download.

Fixes problems associated with image replace, file replace, style create/save/delete and adds a preference to include article/image/link/file IDs in menu.

Thanks go to Uli for his thorough testing.

Offline

#4 2011-10-31 14:14:06

phuture303
Member
Registered: 2008-09-14
Posts: 127

Re: adi_recent_tab - Recent Items

Thanks adi,

this is one great plugin!

Offline

#5 2011-12-13 05:30:35

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_recent_tab - Recent Items

Version 0.3 now ready for action

  • style improvements to cope with long titles
  • fix: style for latest version of Hive theme (thanks Uli)
  • fix: error message in images & files search result page (thanks Uli)

Once again, Uli has been most helpful – it’s much appreciated.

Offline

#6 2012-08-29 03:35:53

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_recent_tab - Recent Items

Version 0.4 now available

  • TXP 4.5-ified (particularly to cope with new Sections tab & new-style Links tab)
  • fix: record new links properly
  • fix: losing image (file) name if both alt & caption blank

Offline

#7 2012-08-29 04:22:06

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: adi_recent_tab - Recent Items

Adi, sweet job. Look great on Hive theme, and works well.

I noticed few errors, when installing or activating, the plugin gives an error:

A problem occured while loading the plugin: adi_recent_tab -> Notice: Undefined variable: prefs on line 56

When accessing admin-side steps defined by a plugin (e.g. ?event=article&step=abc_MyEvent, event=image&step=abc_2xthumb):

Internal error "Undefined index: ID"
in textpattern/lib/txplib_misc.php(861) : eval()'d code at line 326.
	textpattern/lib/txplib_misc.php(861) : eval()'d code:326 adminErrorHandler()
	adi_recent_tab_logger()
	textpattern/lib/txplib_misc.php:903 call_user_func_array()
	callback_event()
	textpattern/lib/txplib_misc.php:982 call_user_func_array()

Last edited by Gocom (2012-08-29 04:24:28)

Offline

#8 2012-08-29 04:37:03

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_recent_tab - Recent Items

Gocom wrote:

Adi, sweet job. Look great on Hive theme, and works well.

Thanks.

I noticed few errors, when installing or activating, the plugin gives an error:

Think I’ve found that particular faux pas … but not sure why I haven’t been seeing it, anyway please redownload version 0.4. Hopefully the gods of change-control aren’t looking.

When accessing admin-side steps defined by a plugin (e.g. ?event=article&step=abc_MyEvent, event=image&step=abc_2xthumb):

Yes, I can image it would have a problem. I’ve made the dangerous assumption that there would always be an ID available. Which plugin is it?

Offline

#9 2012-08-29 04:51:44

Gocom
Plugin Author
Registered: 2006-07-14
Posts: 4,524
Website

Re: adi_recent_tab - Recent Items

gomedia wrote:

Which plugin is it?

Not sure if there even is a one that introduces plugin steps. Could be, but I’m not aware of. I wasn’t really referring to any plugin in particular.

Think I’ve found that particular faux pas … but not sure why I haven’t been seeing it, anyway please redownload version 0.4. Hopefully the gods of change-control aren’t looking.

That seems to fix it.

Last edited by Gocom (2012-08-29 04:56:26)

Offline

#10 2015-09-16 01:44:00

gomedia
Plugin Author
Registered: 2008-06-01
Posts: 1,167
Website

Re: adi_recent_tab - Recent Items

Version 0.5 now available:

  • change: IDs display switched on by default
  • change: articles heading link now goes to Articles (list) tab rather than Write
  • fix: error when reordering images/files in list
  • fix: error when changing number of items per page
  • fix: error when file upload failed (e.g. file too big/file already exists)
  • fix: article titles etc that are blank with multiple spaces are treated as Untitled
  • fix: unslashed quotes in DB queries
  • fix: tabs no longer listed if user lacks privs
  • fix: upload thumbnail now ignored
  • fix: all new section names sanitised & recognised
  • enhancement: plugin privs
  • code tidy up (thanks gocom)
  • TXP 4.5+
  • tested & fixed for TXP 4.6

Offline

Board footer

Powered by FluxBB