Giter Site home page Giter Site logo

browse's People

Contributors

ajnyga avatar amirzoian avatar asmecher avatar bsvvi avatar ckamburov avatar defstat avatar jirrka avatar jonasraoni avatar josekarvalho avatar kant avatar mannemark avatar mduduman avatar mhvezina avatar mirkospiroski avatar mpbraendle avatar natewr avatar osmndrmz avatar thinkbulecount2 avatar tigran54 avatar trungvjm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

browse's Issues

Circumstances when to Display Categories

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!

Block links redirect and Highlight Issue in OPS 3.3

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.