Support Forum » User Profile

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: 'View' not working with custom post type #31698
    Marin KnezevicMarin Knezevic
    Participant

    Hi Long,

    Thank you so much for your time, we made it work 🙂

    in reply to: 'View' not working with custom post type #31546
    Marin KnezevicMarin Knezevic
    Participant

    Hi,

    I cleared all caches and nothing changed.

    User Dashboard Page:

    Shortcode: [mbv name="tablica-nekretnina"]
    View: {% set args = {author:user.ID , post_type: 'nekretnina', posts_per_page: -1 } %}
    {% set posts = mb.get_posts( args ) %}
    {% for post in posts %}

    <table>
    <tr>
    <th>Naziv nekretnine: {{ post.post_title }}</th>
    <th>Adresa: {{post.adresa}} </th>
    <th>Grad: {{post.grad}} </th>
    <th>Županija: {{post.zupanija}}</th>
    <th>Poštanski broj: {{post.postanski_broj}} </th>
    <th>Status nekretnine: {{post.status_nekretnine}}</th>
    <th>Veličina: {{post.velicina}} </th>
    <th>Broj soba: {{post.broj_soba}} </th>
    <th>Broj kupaonica: {{post.broj_kupaonica}} </th>
    <th>Cijena: {{post.cijena}} </th>
    <th>Ostale informacije: {{post.ostale_informacije}} </th>
    <th>Slika: {{ mb.get_the_post_thumbnail( post.ID, '_thumbnail_id' ) }}</th>
    <tr/>
    </table>
    {% endfor %}

    Frontend Edit Page
    Shortcode: [mb_frontend_dashboard edit_page="438"]

    You can find screeenshots here: https://nx7439.your-storageshare.de/s/mSAepD75n5fHdHH

    in reply to: 'View' not working with custom post type #31531
    Marin KnezevicMarin Knezevic
    Participant

    Hi Long,

    I updated the plugin, but still getting the same output. What else can I do to fix this?

    in reply to: 'View' not working with custom post type #31519
    Marin KnezevicMarin Knezevic
    Participant

    Hi Long,

    Yes it is the post data that the user submited, but for some reason it not working. It says that Something is wrong with the shortcode on the page id, which I changed to page I want to display submitions. I am curious, does it have anything to do with the Oxygen builder? Could that be the reason why it is not working?

    Thank you Long

    in reply to: 'View' not working with custom post type #31494
    Marin KnezevicMarin Knezevic
    Participant

    Hi Long,

    Thank you very much for your help, I managed to render all the data I needed from the view. My next question would be, how can a user, that is logged in, edit or delete the data.

    Thank you! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)