Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSgallery 2.0 - Simple Image Gallery Plugin (Square It)
jimmivader Wrote:there is same weird conflict with massmailler plugin, when updating or deleting gallery there path are getting messed up

Each plugin should prefix global variables and constants with a plugin specifix string, e.g. $gsgal_path, GSGAL_DATA_PATH. Function names should also include a plugin specific string, e.g. function get_gsgal_galleries(). This would minimize name clashes.

Namespaces could be an alternative also, but I don't know enough about them.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
GSgallery 2.0 - Simple Image Gallery Plugin (Square It) - by mvlcek - 2011-02-08, 00:27:29



Users browsing this thread: 1 Guest(s)