• Resolved up99up99

    (@up99up99)


    Ciao Tobias.
    Scusa il disturbo.

    nella tabella che vedi (https://www.nuotopinnatogdf.it/palinsesto/)
    vorrei evidenziare le celle che hanno la parola “Dogali” in giallo e quelle che hanno la parola “Ragazzi” in verde.
    ho spulciato utto il forum, ma non ho capito come posso fare.

    Grazie

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you could indeed try a TablePress Extension:
    https://tablepress.org/download/extension/tablepress-cell-highlighting.zip

    For details and an example, please see the PHP file source code, which has one in the comment at the top.
    Essentially, you’ll need to use the modified Shortcode

    [table id=37 highlight="Dogali||Ragazzi" /]
    

    on this page.
    In addition, add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress .highlight-dogali {
    	background-color: #ff0000 !important;
    }
    .tablepress .highlight-ragazzi {
    	background-color: #00ff00 !important;
    }

    Regards,
    Tobias

    Thread Starter up99up99

    (@up99up99)

    Grazie Tobias.

    Ho provato, ma non funziona.

    Ho installato l’estensione highlighting.

    ho aggiunto queste righe all’opzione plugin
    .tablepress .highlight-dogali {
    background-color: #DDA0DD !important;
    }

    .tablepress .highlight-ragazzi {
    background-color: #B0E0E6 !important;
    }

    ed ho cambiato lo shotcode come mi ha detto…..ma non va.
    cosa sto sbagliando ?
    grazie

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    are you sure that the Extension is activated as a plugin on the site?
    Can you please post a screenshot of how/where you modified the Shortcode (you can e.g. upload the screenshot to a service like https://imgur.com/ and post a link here).

    Regards,
    Tobias

    Thread Starter up99up99

    (@up99up99)

    Ciao,
    l’estensione è attiva, funziona su altre tabelle del sito (vedi pagina medagliere).

    https://www.nuotopinnatogdf.it/palinsesto/
    ho caricato lo screenshot dello shortcode

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for that! It’s strange that it’s still not working.
    Could you therefore please get in touch via email (the address is in the main plugin file “tablepress.php”)? That way, I can investigate this directly. Thanks!

    Regards,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘evidenziare celle’ is closed to new replies.