pkp / browse Goto Github PK
View Code? Open in Web Editor NEWBrowse block plugin
License: GNU General Public License v3.0
Browse block plugin
License: GNU General Public License v3.0
I use OPS 3.3.0.10 and faced the issue where the hyperlinks for categories in the browse block does not redirect correctly.
I changed the word "catalog" to "preprints" in browse/templates/block.tpl on line 29 and it worked:
<a href="{url router=\PKP\core\PKPApplication::ROUTE_PAGE page="**catalog**" op="category" path=$browseCategory->getPath()|escape}">
Another issue with category highlight when after clicking a category in the browse block after opening the page. I changed the word "catalog" to "preprints" again in browse/browseBlockPlugin.php file on line 55 and it fixed it:
if ($router->getRequestedPage($request) . '/' . $router->getRequestedOp($request) == '**catalog**/category') {
I still cannot figure out where do I see a page/link with the list of all categories only on one page. Please let me know if you can help!
For OPS 3.3.0.10, is there a way to hide to automatically hide the categories in the browse block if there are no preprints posted in that category? Also, how can we show the number of preprints posted in a category next to the category name in browse block? For example, "Biology (3)" where the category name only shows when there are at least 1 preprint posted in it, and in the parenthesis it will display the number of preprints. This will help the readers to not browse categories which have 0 items posted. It is an issue for us since we have around 10 categories to choose from for the submitting authors at the time of submission.
Thank you!
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.