thierrySN
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] How to add dynamically a new rowHi Tobias,
When you say increase…I suppose that I can also ‘decrease’ the size?
regards
Thierry
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Dynamic table dataHi Tobias,
In fact the page does not appear: I get a blank page.add_filter ('tablepress_table_render_data', 'change_table');
Does not work in my case and the cause is’nt the function
change_table
since a dummy function does not work.
I avoided the problem by usingadd_filter ('tablepress_cell_content', 'change_cel', 5,4);
but I know this is not the right method since I have to assign the Cells one by one .Regard
Thierry
- This reply was modified 7 years, 5 months ago by thierrySN.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Dynamic table dataHi,
The function add_filter doesn’t work for me….I probably missed something!
In fact when I comment the lineadd_filter( 'tablepress_table_render_data', 'change_table' );
the table is correctly displayed …..but if I remove the comment the table disapare
`
add_filter( ‘tablepress_table_render_data’, ‘change_table’ );
function change_table($table, $orig_table, $render_options )
{
$table_id = 55; // Table test
if ( $table[‘id’]==55 )
{
$table[‘data’][1][2]=’xxx’;
}
return $table;
}
Is something should be configured to use add_filter function?Thks for your support
Thierry
- This reply was modified 7 years, 5 months ago by thierrySN.
Forum: Plugins
In reply to: [PHP Code for posts] Using parameterYes…how can I pass two or more parameters through a [php_snippet] shortcode
Thks
Thierry
Forum: Plugins
In reply to: [PDF Embedder] How to remove the border of the embedded PDFHi,
Thanks for your answer.I tried to modify the style.css file in my child-theme adding :
.pdfemb-viewer {
border: none !important;
}or
.pdfemb-viewer {
border: 1px solid red !important;
}….but nothing changes
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] How to modify a cell with PhpThanks
It’s work
By the way, where can I find a complete documentation about TablePress class ?Regards
Thierry
Thanks ..it’s work.
I’ve another question. I found how to count the number of rows with something like count( $table[‘data’]) but I don’t find the equivalent for the number of columns?
Thanks for your support
Thierry
Hi,
Thank’s for your answer.
I suppose I’ve to include specific file class..because I got this message when I use your script.
” Access to undeclared static property: TablePress::$table_model”
Thierry
Forum: Plugins
In reply to: [Download Monitor] Migrating from an old installHi,
It seems that I’ve some compatibility issues between Download Monitor and Pdf Viewer.
I use pdf viewer to display pdffiles imported as media file …;so, I use a short code such [tnc-pdf-viewer-iframe file=”https://127.0.0.1/LPO/wp-content/uploads/Name.pdf” width=”800″ height=”900″ download=”true” print=”true” fullscreen=”true” share=”false” language=”fr-FR” zoom=”true” open=”true” logo=”false” pagenav=”true” find=”true”]
this works perfectly …except when I activate Download monitor…I get a message indicating a missing file…but I don’t want use Download Monitor in this page. Some idea?Kind regards
Thierry
Yes…I see nothing. Can you send me a screeenshot ([email protected])
Thks
I’ve installed the plugin….but, nothing appears in management page admin
I’ve probably forgoten something during the install process…or an other pluging is not compatible.