Skip to content

A simple plugin that displays a full preview link in the sidebar

Notifications You must be signed in to change notification settings

FoxyGirl/datocms-plugin-full-preview-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Datocms Plugin Full Preview Links

A simple plugin that displays full preview links in the sidebar

Configuration

When applying this plugin to your field, please insert the following settings:

Plugin settings

  1. URL prefix of your site is required.
  2. Develop URL prefix of your test develop site is optional.
  3. Alias for Model, which will be used instead of Model ID is optional.

The full preview links are created from [URL prefix][locale][Model ID][slug] and look like https://sitename.netlify.com/en/advice/first-advice

Using

The result of plugin working appears in the sidebar:

Preview links in the sidebar

  1. Clicking on "Link on prod"/"Link on test server" opens these links in new tabs.
  2. Clicking on the button shows/hides the full preview link (e.g. for copying or checking).

About

A simple plugin that displays a full preview link in the sidebar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published