Giter Club home page Giter Club logo

pagebased_blog's People

Contributors

raphaelthanner avatar

Watchers

 avatar  avatar  avatar

pagebased_blog's Issues

Route enhancement for filter/pagination URLs

Hi there,

Is there a possibility to use routeEnhancer in the site config to enhance the readability of the url when pagebased pagination and/or filters are active?

For example, instead of having:
"/blog/?tx_pagebasedblog_list%5Bcontroller%5D=Post&tx_pagebasedblog_list%5B_c%5D=60&tx_pagebasedblog_list%5B_stage%5D=1&cHash=4ce01703d6b5d36fb6bef069919ebd09#c60"

to have something like:
"/blog/page-2"

Thank you

Filter plugin to only show tags used in current category

Hi there,

We're using pagebased_blog on a project where we use it for different types of entries, once for a blog and once for a list of references. On both types we're using tags. While on the reference entries the tags are purely descriptional, on the blog entries we're also using the tags to filter through the blog posts (the filter plugin is inserted on the blog-category page just above the list plugin).

The filtering works without any issue but we noticed that it shows us all the tags on the whole project, so not just the tags that are used on the blog posts but also the ones that are only used on reference entries. That means when we filter one of those reference-tags it shows us no results, since the list plugin only shows blog-entries.

Is there a way to only show tags that are in use on the current category-page?

We have copied the template for the filter plugin in order to add some custom html and to remove all filters except for the tag filter. Is there perhaps a way to add a parameter to the "pagebased:filter.link" viewhelper to filter out any unused tags?

Thank you

Question: Manual pagination (without Ajax)

Hi there,

Thanks for this extension, so far it's working great. I've tried setting up the pagination manually in the List-Module without Ajax, similar to this example.

I've worked out the prev/next buttons but cannot figure out how to get links to the individual stages to directly jump to a specific stage/page. Is there a viewhelper to help with that? Thanks in advance!

<ul class="list-inline">
    <li>
        <pagebased:pagination.link.prev demand="{demand}">
            prev
        </pagebased:pagination.link.prev>
    </li>

    <f:for each="{pagination.stages}" as="stage" iteration="i">
        <li>
            ???
        </li>
    </f:for>

    <li>
        <pagebased:pagination.link.next demand="{demand}">
            next
        </pagebased:pagination.link.next>
    </li>
</ul>

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.