Support » Plugin: Pods - Custom Content Types and Fields » Pagination text

  • Resolved sivmil

    (@sivmil)


    Pagination text (Next, Previous, First, Last ) is in English instead of my site language, although WordPress core and my template are 100% translated to my language.
    How do I change that?
    Thanks

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Jim True

    (@jimtrue)

    How are you calling pagination?

    Plugin Author Jim True

    (@jimtrue)

    Closing as there have been no replies.

    sivmil

    (@sivmil)

    Hi
    Sorry for the late response
    pagination=”true”
    Is that what you meant?
    Thanks

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @sivmil
    We’ll need the full code to see what you are trying to do, not just the parameter.

    Hi @keraweb

    The full code:
    [pods name="problem" template="רשימת מחלות" pagination="true" limit="5"]

    The template (רשימת מחלות) code:

    <div class="pods-problem-container">
    <h2><a href="{@permalink}">{@post_title}</a></h2>
    <p>{@post_content}</p>
    </div>
    <div style="background: #EFEFEF; padding: 10px; margin: 40px -40px 30px -40px;"></div>
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @sivmil
    You’ll need to finish the Pods translation of your locale on translate.wordpress.org for this to work:
    https://translate.wordpress.org/projects/wp-plugins/pods/
    Cheers, Jory

    If I may comment please.

    Just saw this post and added it to a DEV server and production server.

    On the DEV it displays the 1 2 3 5 Next › Last » on the top.

    On the production it displays the 1 2 3 5 Next › Last » on the bottom.

    The Production uses a template for all html & css, and only this line in the Page:

    [pods name=”user” pagination=”true” limit=”10″ where=”active.meta_value like ‘1’ and user_login NOT LIKE ‘dave%’ and user_login NOT LIKE ‘kelly'” orderby=”last_name.meta_value” template=”Member List”][/pods]

    Behavior is same if classic or gutenberg block.

    DEV has 34 recs, production 55 recs.

    Not an issue at all, just an observation.

    BTW, the pagination function is a huge PLUS!

    Now being fussy! Is there a search feature available for the Report List?

    Our sites do have a Search Function with plugin = Ivory Search, but do not see feature to search at that level. Maybe I can add one of their searches to the report, and if I find it, will add details here.

    Thank you

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    @mgrgvaz In the future please open a new topic for your questions, it’s much easier for us to track and respond to.

    Try adding search="true" to your [pods] shortcode to output a search at the top. If you have any fields you want to filter by which are relationship fields, you can include them too in a comma-separated list like filters="relationship_field_1,another_relationship"

    More helpful parameters can be found at: https://pods.io/docs/learn/shortcodes/pods/

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    @mgrgvaz Also double check what version of Pods you are running on dev versus production. That could be why you see the difference in position. We have another argument for the shortcode that you can customize the position: pagination_location="before" (default is after)

    Location does not seem to modify. Stays on the bottom.

    Pods used in Page (classic editor):

    [pods name=”user” pagination=”true”  limit=”10″ pagination_location=”before”  search=”true” filters=”last_name.meta_value” where=”active.meta_value like ‘1’ and user_login NOT LIKE ‘dave%’ and user_login NOT LIKE ‘kelly'” orderby=”last_name.meta_value” template=”Member List”][/pods]

    Template:

    [before]
    <div style=”overflow-x:auto;”>
    <table id=”customers”>
    <thead>
    <tr class=”pods-th”>
    <td>GVR NO</td>
    <td>First Name</td>
    <td>Last Name</td>
    <td class=”pods-tr-alignctr”>Res</td>
    <td>Email</td>
    <td>Phone</td>
    <td>Pd Thru</td>
    </tr>
    </thead>
    <tbody>
    [/before]
    <tr>
    <td>{@user_login}</td>
    <td>{@first_name.meta_value}</td>
    <td>{@last_name.meta_value}</td>
    <td class=”pods-tr-alignctr”>{@annual_member.meta_value}</td>
    <td>{@user_email}</td>
    <td>{@phone1.meta_value}</td>
    <td>{@paid_through.meta_value}</td>
    </tr>
    [after]
    </tbody>
    </table>
    </div>
    [/after]

    Pods v(all sites): Version 2.7.15

    PS: Will open new topic going forward.

    Replying to SEARCH separtely

    Search:

    Search seems to work, but my filter is probably wrong syntax (will have to check pods.io doc). Not too sure my WHERE clause working here now NOT LIKE (something I can resolve).

    Search DOES traverse through all pages, so that is perfect.

    Any search beats no search!

    Pods in Page (classic editor):

    [pods name=”user” pagination=”true”  limit=”10″ pagination_location=”before”  search=”true” filters=”last_name.meta_value” where=”active.meta_value like ‘1’ and user_login NOT LIKE ‘dave%’ and user_login NOT LIKE ‘kelly'” orderby=”last_name.meta_value” template=”Member List”][/pods]

    Thank you for the replies and help!

    Plugin Author Scott Kingsley Clark

    (@sc0ttkclark)

    I’ll be sure to respond when the new topic is open

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.