Forum Replies Created
-
AuthorPosts
-
Marin Knezevic
ParticipantHi Long,
Thank you so much for your time, we made it work 🙂
Marin Knezevic
ParticipantHi,
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
Marin Knezevic
ParticipantHi Long,
I updated the plugin, but still getting the same output. What else can I do to fix this?
Marin Knezevic
ParticipantHi 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
Marin Knezevic
ParticipantHi 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! 🙂
-
AuthorPosts