{ Dev Farm }

Web & Windows Development

found a bug if hide graph

Home Forum Wp Gpx Maps Request a New Feature found a bug if hide graph

  • Questo topic ha 1 risposta, 2 partecipanti ed è stato aggiornato l'ultima volta 11 anni, 8 mesi fa da max.
Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #606 Rispondi
    David
    Ospite

    Hi to all.

    I found a bug : if I disable the graph with gheight=0 the summary table will also disable.

    I change the following code in wp-gpx-maps.php on (line 429)

    if ($gh == “0” || $gh == “0px”)
    {
    $points_graph_dist = ”;
    $points_graph_ele = ”;
    $points_graph_speed = ”;
    $points_graph_hr = ”;
    $points_graph_cad = ”;
    }

     

    to

     

    if ($gh == “0” || $gh == “0px”)
    {
    // $points_graph_dist = ”;
    // $points_graph_ele = ”;
    // $points_graph_speed = ”;
    $points_graph_hr = ”;
    // $points_graph_cad = ”;
    }
    and now it works.

    #607 Rispondi
    max
    Amministratore del forum

    thank you for your code

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
Rispondi a: found a bug if hide graph

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




Non è possibile lasciare nuovi commenti.