google map toggle problem

hi,

my zenphoto is using default theme, with google map plugin enabled.

i would like to toggle the map to be shown default, i made it successed in album page, but fails in image page, even i have passed the right parameter ( $toggle = ture)

please help, thx.

Comments

  • If you are using literallly `$toggle=true` this is not correct syntax for passing parameters. Parameters are positional. You need to have `true` as the sixth parameter.
  • @sbillard,

    yes, i have passed the right parameter in right position, the code in "default" theme image.php is:

    printImageMap(NULL, NULL, NULL, NULL, gettext('Google Map'), false);

    in google_map.php, the printImageMap() describe that "@param bool $toggle set to true to hide initially", but does not work as my expect when i set to false

    please help, thx
  • Be sure you are running on the current nightly build.
  • @sbillard,

    thx for your advice, i have upgraded to latest nightly build and it does work

    thx again.
Sign In or Register to comment.