• great job/plugin!
    i usually use the WP-SWFObject plugin for inserting swf into wordpress.
    the syntax therefore is [SWF]pathtofile, width, height[/SWF]
    but within wp-table-reloaded it does not work anymore.
    any idea why?
    thank you very much.

    the resulting code in my test/example is:

    <table id="wp-table-reloaded-id-3-no-1" class="wp-table-reloaded wp-table-reloaded-id-3">
    <caption style="caption-side: bottom; text-align: left; border:none; background: none;"><a href="https://www.migration-audio-archiv.de/wp-admin/tools.php?page=wp-table-reloaded&action=edit&table_id=3" title="Bearbeiten">Bearbeiten</a></caption>
    <tbody>
    	<tr class="row-1">
    		<td class="column-1">[SWF]https://www.audiolounges.de/banner/banner02/banner.swf, 300, 200[/SWF]</td><td class="column-2">Auf dieser Seite kannst du den Inhalt der Tabelle bearbeiten. Es ist auch m?glich, die Tabellenstruktur zu ?ndern, indem du Zeilen oder Spalten einfügst, l?schst, verschieben oder tauschst.</td>
    	</tr>
    </tbody>
    </table>
    </p>
    </div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    in the case of the WP-SWFObject plugin, this comes from the fact, that the [SWF] is no regular WordPress Shortcode (created using the WordPress Shortcode API), but it is a custom implementation of a content filter.

    Fortunately, it is not too hard to make those filters work on table cells as well. For the WP-SWFObject plugin, als you need to do is this:
    Open the “functions.php” file of your theme and add the following line to it, right before the closing ?> tag at the end of the file:

    add_filter( 'wp_table_reloaded_cell_content', 'wpswfParse' );

    (If you don’t have a “functions.php”, just create it and wrap that code line in <?php and ?> commands, to resemble a PHP file.)

    Hope this helps! ??

    Best wishes,
    Tobias

    Thread Starter jhman

    (@jhman)

    thanks a lot for rapid reply.
    it works great. (looks much better)
    (I did, as a mistake, try to work on the wp ‘functions.php’ first – what leads to ‘fatal error’)

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    very nice! ??
    And sorry about the misleading description to the “functions.php” file. I should have clarified more, that the one from your theme folder is meant.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-Table Reloaded] flash/swf insert’ is closed to new replies.