mmikkel / dashcols-craft Goto Github PK
View Code? Open in Web Editor NEWEasily add custom fields to index tables in Craft CMS
License: MIT License
Easily add custom fields to index tables in Craft CMS
License: MIT License
It would be nice if it is also possible to select custom columns for assets. Either only on the assets index page or also when selecting assets in the assets field type.
As assets is just another elementsType, it should be possible to extend the columns aswell.
Thank you!
Hey!
It would be great to be able to use this in the sprout forms.
Is this in the pipeline?
Add support for displaying certain metadata as fields – e.g. Updated Date
Now that CP Nav exists, you may not need to give people the ability to hide or rename the CP tab anymore. I'm guessing that many people will install these two plugins together. (I know I will!)
Just my 2 cents. :)
Hello Mikkel,
Thank you for developing DashCols, nice addition to the CP! Playing around I noticed two little issues:
– after saving settings for Singles, DashCols tries to load ..."admin/singles", should be "admin/entries/singles".
– after deactivating standard date fields, reactivating them does´t bring them back.
Thanks for looking into that.
It would be awesome if we could change the name of the default columns, including title
.
Here's my current code, before I discovered DashCols...
public function modifyEntryTableAttributes(&$a, $source)
{
switch ($source) {
// Teachers
case 'section:6':
$a['title'] = Craft::t("Teacher's Name");
break;
// Classes
case 'section:16':
$a['title'] = Craft::t("Class");
$a['postDate'] = Craft::t("Posted");
break;
}
}
If DashCols allowed us to override the default column names, that would be fantastic.
It's a great plugin by the way... Thanks for building it! :)
When using search to filter the list of entries and a user field is in the list, the search criteria is searching on the username of the user, whereas the full name of the user is displayed in the table. This can lead to some odd results being shown where the username bears no relation to the full name of the user, for example when the config setting useEmailAsUsername
is set to true.
It would be very useful to have the search performed on the same data that is displayed on the table, i.e. the full name of a user.
99% sure this is a bug...
If you sort by "Entry Type", you'll notice that it's sorting by the entry type's id, instead of the entry type's name. Obviously, that's not terribly useful. :)
Integers of 0 and 1 renders as a Lightswitch field.
Would be nice to have to option to output some revision related information as a metadata column – e.g. number of revisions
DashCols should be able to do this:
http://craftcms.stackexchange.com/questions/9020/how-can-i-disable-relative-dates-in-elements-index
I'm using Doxter for some of my body's entries.
Your plugin gives me : Unknown class: Craft\DoxterModel
There is a way I can easily added it ?
In fact, it could be plain text and used the same process as richtext.
Thank you
I've enabled CSRF protection and I could not save DashCols fields settings. It return a bad request error saying "The CSRF token could not be verified.". Perhaps updating forms with CSRF token is necessary in case if CSRF protection was enabled.
I didn't dig into this one too deeply, but it appears that numeric columns don't show a 0
value. It's just blank instead.
Let me know if I'm mistaken! :)
I would love to add a custom Col with "entry actions" like creating a new child entry or deleting a entry (see last col in attached screenshot)? For structure sections this would be perfect. To enable this options it could be implemented like the Hide/show default fields. Is that possible? What do you think?
Since User and Entry fields are listed in the tables as strings, is there any possibility of adding them as sortable attributes for the table?
Here's a list of custom/plugin FieldTypes I'm currently looking at supporting in DashCols:
Know another fieldtype you'd like to see added? Please comment.
Would be great if you could format the display of the date field, but by default i think it should be the same as postDate?
ps Nice Plugin!!
For index tables without a DashCols layout, the "Edit columns" button isn't always rendered
I got a category field (country) assigned to some users.
I d like to display this category info (so the entry author category) in a column in my entries listing view.
But I think not possible now with DashCols no ?
Love this plugin, but would love to see Entry Type be a possible field (guessing it would have to be in the Show/hide metadata section)
As discussed in #1, the "Hide/show default fields" show the same 4 default fields for all indexes, regardless of which fields are actually relevant for any given index (i.e. the Singles listing only display URI). This can be confusing.
Upon saving the layout for "All entries", DashCols may redirect to the previously viewed section, instead of the All entries listing.
This is due to Craft redirecting to the last viewed section when pointed to the /entries base URL, making the All entries listing hard to redirect or link to :)
Anybody got a quick fix for this, I'm grateful. Might have to hook into localStorage on submitting the form and clear the relevant data?
SVG files outputs as images, but Craft is unable to render them
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.