Jump to content

$page->editUrl not in CheatSheet


Tom.
 Share

Recommended Posts

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,

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...