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: 7 months 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 (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-27T13:53:33.000Z (almost 10 years ago)
- Last Synced: 2025-06-25T19:41:49.505Z (7 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 4
- Watchers: 9
- 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**