Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit Page
#1
Hello GetSimple community.

I once again submitted a few lines of code, that may come in handy in certain situations:

Edit Page is a very simple plugin which does nothing, but adding an "Edit this page" link below every page's content area.

I know that Edit This Page exists, but due to a lack of GSCOOKIEISSITEWIDE in GetSimple versions >= 3.1 it does not work at all.

To overcome this problem my code does not expect the user to be logged to the admin backend, but just prints this link to every page. I know that this is most probably not suitable for production pages, but may still be handy for maintenance or development situations where a lot of content is being added/altered while the website is offline.

If one of the core developers reads this: Is there any way to check if the admin user is logged in other than using GSCOOKIEISSITEWIDE?

I hope you'll enjoy it. Have a nice day!
Reply


Messages In This Thread
Edit Page - by mank319 - 2014-02-10, 10:23:50
RE: Edit Page - by datiswous - 2014-02-10, 19:39:42
RE: Edit Page - by mank319 - 2014-02-10, 21:34:26
RE: Edit Page - by mank319 - 2014-02-10, 21:50:20
RE: Edit Page - by alex_d - 2014-02-25, 00:43:59
RE: Edit Page - by mank319 - 2014-02-25, 07:59:37



Users browsing this thread: 1 Guest(s)