Software Archive
Read-only legacy content
17061 Discussions

Is there a way to bookmark/favourite pages?

JackHorror
Beginner
573 Views

Hallo! I would like to bookmark/favourite pages is there any way to do that?
(I need The bookmarks/favourites to show up on a specific page called "Favourite")

I would like to create to bookmark/favourite pages inside the app.
For example ,
i want to create an app with recipes, lets say there will be 100 pages,
i want all pages to have an icon that will "bookmark" the recipe page and and then it will automatically added to a page called "Favourites (or bookmarks or My list)" so when a user hit the "Favourites" page he will see there, all his favourite/bookmarked recipes..
Is that possible? 

Please can anyone help me?

0 Kudos
1 Reply
Anusha_M_Intel1
Employee
573 Views

I can only think of doing this via programming. You can set a flag that would mark the recipe/page as a favorite and then have those marked ones appear in your favorites list. 

You might want to reconsider using a page for each recipe (I think this is what you are trying to do. Please correct me if I am wrong). This will cause serious performance issues. For apps like this, you can consider using a database to store the recipe and have the page render information from the DB. You can maintain your 'favorite' flag on the DB. 

Take a look at this page for information on storage options: http://cordova.apache.org/docs/en/4.0.0/cordova_storage_storage.md.html

0 Kudos
Reply