Tom. Posted September 17, 2015 Share Posted September 17, 2015 Hello, After racking my brains on how add an edit page button. I found that editUrl is missing from the CheatSheet. I added "/processwire/page/edit/?id=". $page->id, however I felt that wasn't right. After going on github and checking the default template I noticed that there was a editUrl function available. Would be nice to see it added to the CheatSheet or in the API Documentation. "http://processwire.com/api/variables/page/" Thanks, 1 Link to comment Share on other sites More sharing options...
Pierre-Luc Posted September 19, 2015 Share Posted September 19, 2015 The cheatsheet is a bit outdated.. Don't be surprised if you don't find everything in there, but most of it is. 1 Link to comment Share on other sites More sharing options...
Tom. Posted September 19, 2015 Author Share Posted September 19, 2015 The cheatsheet is a bit outdated.. Don't be surprised if you don't find everything in there, but most of it is. Thanks for the heads up Link to comment Share on other sites More sharing options...
CalleRosa40 Posted May 2, 2017 Share Posted May 2, 2017 $page->editUrl is still lacking from the cheatsheet. (However, it has found its way into the API reference, cf. https://processwire.com/api/ref/page/edit-url/.) Would be nice and helpful if somebody could fix this. The cheatsheet is still being maintained, right? Link to comment Share on other sites More sharing options...
szabesz Posted May 2, 2017 Share Posted May 2, 2017 55 minutes ago, CalleRosa40 said: The cheatsheet is still being maintained, right? https://processwire.com/blog/posts/processwire-3.0.60-core-updates-and-more/ "With the API reference now up-to-date, we'll soon be looking at the cheatsheet and hopefully updating that to pull data from the API Explorer module as well." 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now