aelvan / craft-cp-element-count Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
When viewing the assets page, and you have created subfolders:
I guess the rename dialog is taking all the text within the A tag to extract the name of the subfolder, which also includes the counter number within the 'cpelementcount-pill' span tag.
Ideally Craft should only extract the text within the 'label' span tag, and not all the text within the A tag. Maybe the fix is better done on their end. I'm not sure what the best workaround might be on your end, other than having an ::after element to display the counter instead, so it's not real text within the A tag.
Is there a way to only count enabled entries?
Use case: We have a lot of in-progress blog posts or disabled job postings which skews the at-a-glance view this plugin provides.
Not sure if this is intended but when you have a channel that has his own entries per site the count badge shows the total result (of both sites).
Since upgrading to 3.1, CP element count has started to not sure on some entries - see screenshot. Some are showing fine, others not (mixture of structures and channels).
Tried clearing CP caches etc, no luck.
Tried turning a few plugins off that are CP related, and no luck.
PHP version | 7.1.20
MySQL 5.5.62
Imagick 3.4.3 (ImageMagick 6.8.9-9)
Craft Pro 3.1.0
Yii version 2.0.15.1
Twig version 2.5.0
Guzzle version 6.3.3
Imagine version 0.7-dev
We have multiple user accounts per site.
Each user account sees only its own entries.
So we have a situation where user sees 1 entry, but count says 5.
When we login with admin account we have permission to see all five entries, so that count is now ok.
Is it possible to add this as a feature, to count only those entries the user has permissions to see?
Thanks!
Hum I had to remove the plugin because of a new bug, and now I cannot reinstall it from the store.
Is this plugin still maintained and accessible ?
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.