This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

PabloRQ
PabloRQ

Based on the documentation: Linking rows.

Step to reproduce the issue:

  • Create a new page
  • Add the example code from the documentation
    <div class="control-list">
    <table class="table data" data-control="rowlink">
        <tbody>
            <tr>
                <td>
                    <a href="http://octobercms.com">Link to this</a>
                </td>
                <td>Row will be linked</td>
                <td>This will also be linked</td>
                <td class="nolink">No link applied here</td>
            </tr>
        </tbody>
    </table>
    </div>
  • Open the page

As a result you have a table with a link on the text of the 1st column, but now a link on the entire row.

Any idea how to fix it?

Regards

mjauvin
mjauvin

This is to be used on the backend, not the front end.

PabloRQ
PabloRQ

mjauvin said:

This is to be used on the backend, not the front end.

Oh! Good point!!! You rock!

Any way to use it in the frontend?

My first idea is injecting the assets... Am I on the right path?

Thank you in advance.

mjauvin
mjauvin

That could worj.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.