facebook

how to create an add to favorites button

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #328378 Reply

    roguzman11
    Member

    hello I am new using the software me to seemed very well. but I want to create a kitchen recipes application and want to add an add to favorites button to every recipe, I would like to know how it is done. thanks.
    I wait for your answer

    #328503 Reply

    Hi roguzman11,

    Some thoughts:

    I assume that every recipe will be in a different design page. You will need a button on every page add a key/value pair on the localStorage. To show if the page is in favs you should query if the key(that can be the name of design) exists and then show something like an image for indicate that the page is a favorite and hide the button.

    For create the list of added pages in favs you can use the Populate Custom List Example and make some tweaks to load the elements saved on localStorage

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: how to create an add to favorites button

You must be logged in to post in the forum log in