{ Dev Farm }

Web & Windows Development

Modificar

Home Forum Wp Gpx Maps Support Modificar

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

    ¿Alguien me puede echar una mano con la configuración?
    estoy intentando cambiar el orden de como sale los datos. quiero que la velocidad y tiempo salga arriba del todo.

    #75773 Rispondi
    max
    Amministratore del forum

    To change the order you have to edit the plugin code (only if you have a programming skills)

    in the file wp-gpx-maps.php you have to edit this part:

    if ($summary==’true’ && ( $points_graph_speed != ” || $points_graph_ele != ” || $points_graph_dist != ”) ) {

    $output .= “

    “;
    if ($points_graph_dist != ” && $p_tot_len == ‘true’)
    {
    $output .= ““.__(“Total distance”, “wp-gpx-maps”).”: $tot_len“;
    }
    if ($points_graph_ele != ”)
    {
    if ($p_max_ele == ‘true’)
    $output .= ““.__(“Max elevation”, “wp-gpx-maps”).”: $max_ele“;
    if ($p_min_ele == ‘true’)
    $output .= ““.__(“Min elevation”, “wp-gpx-maps”).”: $min_ele“;
    if ($p_total_ele_up == ‘true’)
    $output .= ““.__(“Total climbing”, “wp-gpx-maps”).”: $total_ele_up“;
    if ($p_total_ele_down == ‘true’)
    $output .= ““.__(“Total descent”, “wp-gpx-maps”).”: $total_ele_down“;
    }
    if ($points_graph_speed != ” && $p_avg_speed == ‘true’)
    {
    $output .= ““.__(“Average speed”, “wp-gpx-maps”).”: $avg_speed“;
    }
    if ($p_total_time == ‘true’ && $max_time > 0)
    {
    $time_diff = date(“H:i:s”, ($max_time – $min_time));
    $output .= ““.__(“Total Time”, “wp-gpx-maps”).”: $time_diff“;
    }
    $output .= “

    “;
    }

Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
Rispondi a: Risposta #75773 in Modificar

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.