https://github.com/statamic/cp-edit-url
Generate link to go to the edit page in the control panel of currently viewed page.
https://github.com/statamic/cp-edit-url
Last synced: 3 days ago
JSON representation
Generate link to go to the edit page in the control panel of currently viewed page.
- Host: GitHub
- URL: https://github.com/statamic/cp-edit-url
- Owner: statamic
- Created: 2014-11-29T07:36:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-27T13:53:33.000Z (about 9 years ago)
- Last Synced: 2025-01-23T05:14:03.498Z (5 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 4
- Watchers: 10
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CP Edit URL 
===========Generate link to go to the edit page in the control panel of currently viewed page.
Unzip the folder, rename it to `control_panel_edit_url` and drop it inside into your _add-ons folder. Now, on any of your pages, you should be able to use `{{ control_panel_edit_url }}` in a link and away you'll go.
Maybe something like this in the footer of your site:
```
{{ if logged_in }}
Edit This Page
{{ endif }}
```**Requires v1.7**