• Resolved kaviyaayyappan

    (@kaviyaayyappan)


    Hi,

    I am working on creating an export to Excel for our user favorites. I am using the frontend shortcode to create an export button for the favorites page.

    I am searching for how to set the condition to export only current users’ favorites. I tried to pull the particular column (my_favorites)but it shows only the id of the post, not the details.

    Can you please guide me how to resolve this.

    Thanks in advance,

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Javier Carazo

    (@carazo)

    When you export all users how is it called the column with the user favorites? Is this a meta key saved in the database in usermeta table?

    Thread Starter kaviyaayyappan

    (@kaviyaayyappan)

    Hi,
    I can see the column name my_favorites when I export all users and the data stored is in the form of IDs.

    I am using dynamic. ooo plugin which has Add to the Favorite widget for adding the post to the favorite list. It has the favorite key name my_favorites to store the data for the users.

    https://help.dynamic.ooo/en/articles/4952566-add-to-favorites

    They do have a Favorite widget to list their favorite post using the my_favorites key.
    https://help.dynamic.ooo/en/articles/5634595-favorites
    I tried to use this key to pull the data of the current users but it not working.

    Please help me with how can i set conditions to pull those details in the front end.

    Thanks in advance

    Plugin Author Javier Carazo

    (@carazo)

    Sorry but I don’t understand. is my_favorites present in the usermeta table or not?

    Thread Starter kaviyaayyappan

    (@kaviyaayyappan)

    Hi,

    Yes, it present in the user meta table.

    Plugin Author Javier Carazo

    (@carazo)

    If you export all data this column should be filled. If you choose only some columns and you fill correctly the column (look at spaces), it should be exported.

    Thread Starter kaviyaayyappan

    (@kaviyaayyappan)

    Hi,

    I want to export current users’ favorite post details from the frontend page. In that case, I want to export the current users and the list of their favorites into Excel. How to provide the shortcode to achieve this? when I try with column name the excel is empty.

    Plugin Author Javier Carazo

    (@carazo)

    In the back this is working?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Export user favorites’ is closed to new replies.