Hi all,
in the Edit of my weblogs, I see title, view, author, etc… Is it possible to add a custom filed to that, next tot tiele? For example, the article number of ana rticle, as this is truly unique, while description mught be the same.
Thx, M
Thread Moved by Moderator to Extensions: Discussion and Questions
May be I miss something but the article number is in the first column. But if you want added some extra columns you can use hooks edit_entries_additional_tableheader and edit_entries_additional_celldata.
For example - Weegee from Masuga add edition information (thumbnail image) the same way.
Hi MAxup,
I instelled the extension, enable it, but what do I need to fill as id. The id of my custom field ‘Article Number’ is ‘nummer’. If I fill in this, it gives me the error that the column does not exist.
Notice: Undefined variable: field_label in /home/pacoor/public_html/system/extensions/ext.edit_custom_field.php on line 139
MySQL ERROR:
Error Number: 1054
Description: Unknown column 'field_id_nummer' in 'field list'
Query: SELECT field_id_nummer FROM exp_weblog_data WHERE entry_id='57'
Where do i go wrong?
M
I think you’ll need the actual id number of the field instead which you will find by going to :
Admin->Weblog Administration->Custom Weblog Fields->(Your Field Group Name)->Add/Edit Custom Fields
Hover over the field that you wish to find the id for and in the status bar you should see a longish link which should have field_id=2 tacked on the end. Where I have placed 2 previously you will find the id number that you need.
You need to hover over the field name in this way because you may one day order the fields in the back end differently and the numbers that show in the back-end are layout numbers as opposed to the actual field id.
Hope that helps. Great little extension by the way MaxUp 😉
Best wishes,
Mark
because ‘nummer’ is not ID. It’s the name. When you edit customer field by Weblog Administration › Field Groups › Custom Fields look in URL C=admin&M=blog_admin&P=edit_field&field;_id=ID last numbers it was you need
Surely it was passable to make option for detected ID by custom field name, but it one more query, so I decided don’t do it.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.