Jump to content

Module: Wrap Table

Recommended Posts

Hey everybody,

I just uploaded a small textformatter module for wrapping tables with a div container in order to display responsive HTML tables in the frontend.



Processwire wrap table module is a textformatter module for processwire CMS/CMF. It is wrapping markup tables with a div container.
wrapping tables with div container simplifies the process of displaying responsive tables in the frontend.

The css classes for the wrapper and the table are configurable.
.table-responsive / .table

by default the module produces the following markup:

<div class="table-responsive">
<table class="table">


Link to Repository


  • Like 7
  • Thanks 2
Link to comment
Share on other sites

  • 4 months later...

Hey @pmichaelis thx for the module. I've had some weird issues on my current project and tracked it down to the textformatter. Turned out that your module turned this:


Into that:


This is the fix that works for me: https://stackoverflow.com/a/22490902/6370411

I'll comment that on github if you want to fix this ? I don't think that the textformatter should add <html> and <body> to the markup, or was that intended?

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...