This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
plugins:tips [2014/02/07 10:05] datiswous [Displaying custom and localized Dates] |
plugins:tips [2014/02/07 10:07] (current) datiswous [Working around the broken sitewide cookies in GS 3.0] |
||
---|---|---|---|
Line 83: | Line 83: | ||
However, if you need it for the backend, e.g. linking to a php somewhere in the plugins folder, you can add the following code to your plugin (e.g. directly after setting up the hooks): | However, if you need it for the backend, e.g. linking to a php somewhere in the plugins folder, you can add the following code to your plugin (e.g. directly after setting up the hooks): | ||
- | <code> | + | <code php> |
if (!myplugin_is_frontend() && myplugin_gsversion() == '3.0') { | if (!myplugin_is_frontend() && myplugin_gsversion() == '3.0') { | ||
// workaround for GetSimple 3.0: | // workaround for GetSimple 3.0: |