Jump to content

Open site and display specific page

Recommended Posts

//i've got this widget prefrence from the docs. 

internal_url: {
  type: "pagepicker",
    label: "Link to a frog page",
      defaultValue: JSON.stringify({
        page_uuid: '',
        site_uuid: ''
//i'm trying to open the site and sepecfic page selected
//but there is no example in the docs...

//this opens the site, but not to the correct page...
Frog.Model.api('sites.getByUuid', {
    uuid: internal_url.site_uuid
  }).done(function(resp) {
      site: resp.data.link,
      page_uuid: internal_url.page_uuid

What do I need to change to get the correct page to show when the site is opened?

Edited by pconkie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...