- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I am exploring building an app for Weebly. Is the following possible?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Hey @bennick
You wanted to know if a Weebly app is able to be involved or to intercept tranffic during the HTTP request/response cycle.
The short answer is no.
The reason for this is...
When an app is installed into a site by a Weebly Site Admin, then once the site is published and when users visit the published site, app content is rendered asynchronously after page-load (once the response is complete).
Does this answer your question?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to prevent the content from rendering at all based on some user criteria?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Depending upon your use-case, your app could make a request to the User API for the currently authenticated user and contextually display content. Of course, this is only during edit mode, and wouldn't be a supported use-case for published website's end-users.
Does this help answer your question?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
How then do the various membership apps in the app center restrict access to content based on a user memebrship or logged in status?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
If you mean apps such as these membership apps on the Weebly App Center, those are relying upon the Membership feature in Weebly and are only charging for access to specific groups or member content pages. The actual member authentication is handled by Weebly and not by the apps themselves.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
In that case where are the API docs for members and groups? I find a broken link in your docs to https://dev.weebly.com/membership-api.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
The URL is incorrect you provided. Could you give me the URL where you found this incorrect link please?
Here is the correct URL to the Membership API: https://dev.weebly.com/membership.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
You can find that url (which ends up as a 404) on the first paragraph of this page: https://dev.weebly.com/pages-api.html
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
Why is the membership API being depreciated?
I help run https://www.memberspace.com so I'm in the process of exploring how we can work with your platform.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report