Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-10 05:10:32

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

Admin: display article/image/file/link IDs in edit tabs

How about displaying article/image/file/link IDs in their respective edit tabs?

and even in system messages, e.g. “Article xx posted”.

Would save a visit to the article/image/file/link lists to find out an ID before going off to enter it somewhere else (e.g. in Article image fields, in article_custom tags etc).

Offline

#2 2010-07-20 23:14:29

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

Re: Admin: display article/image/file/link IDs in edit tabs

Just thought I’d bump this for consideration again …?

Offline

#3 2010-07-20 23:26:14

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

Re: Admin: display article/image/file/link IDs in edit tabs

Spookily enough I was editing an image today that I wanted to put in the article image field and thought ‘what’s the ID of this damn thing’? It’s in the URL but having it a bit more in your face might be nice. Otherwise you have to go back to the list page and scroll down/repage to find out.

Any thoughts where it makes sense to put it so it’s not in the way and doesn’t shove other info too far out of reach? I could have a quick play and see if it works (or not).

Last edited by Bloke (2010-07-20 23:26:57)


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

#4 2010-07-20 23:34:14

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

Re: Admin: display article/image/file/link IDs in edit tabs

It’s funny what what you find down the back of the sofa! I’d forgotten about this one until today again.

Bloke wrote:

Otherwise you have to go back to the list page and scroll down/repage to find out.

Exactly, more mouse clicks than should be necessary.

How about in the gap at the end of the Title field?

Or in the RHS panel above Status?

Offline

#5 2010-07-21 00:01:43

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

Re: Admin: display article/image/file/link IDs in edit tabs

gomedia wrote:

How about in the gap at the end of the Title field?

Hmmm, the ‘View’ link goes there so it might clash. btw, look at smd_article_stats for a Write tab solution :-)

With regards the other tabs, how about:

  • Images: have it read Replace Image #42 next to the upload form
  • Files: after the name in the File Info panel at the top. e.g. Name: towel.jpg 1
  • Links: not sure here. Guess the only logical place is after the title somehow, but it’ll stick out a bit

?


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

#6 2010-07-21 00:06:48

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

Re: Admin: display article/image/file/link IDs in edit tabs

Mind you, these changes are not very i18n friendly (I’m thinking rtl scripts, primarily) so perhaps there’s a better solution out there.

Last edited by Bloke (2010-07-21 00:08:13)


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

#7 2010-07-21 00:15:14

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

Re: Admin: display article/image/file/link IDs in edit tabs

Bloke wrote:

Hmmm, the ‘View’ link goes there so it might clash.

Is there not still room for a simple: ID #12?

Images: have it read Replace Image #42 next to the upload form

Maybe. Putting it right at the top would be a bit more “in your face”. Especially if the image is large.

Files: after the name in the File Info panel at the top. e.g. Name: towel.jpg 1
Links: not sure here. Guess the only logical place is after the title somehow, but it’ll stick out a bit

Again, maybe right at the top?

Another possibility is to put the ID next to the Save buttons

Last edited by gomedia (2010-07-21 00:17:17)

Offline

#8 2010-07-21 01:06:08

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

Re: Admin: display article/image/file/link IDs in edit tabs

On the Write tab there’s already a section for article related information below the excerpt.


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

Offline

Board footer

Powered by FluxBB