Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28750

    Gday Kriesi

    I have been using the data table editor but am stumped as to how to reorder the rows, or else to create a new row in between existing rows…is there a way to do either of those things?

    cheers

    Darryl

    #138510

    Hey,

    If you have the Advance Layout Editor switch to debug mode, you can reorder the shortcode manually.

    To switch your theme to debug mode. Edit function.php, find this code:

    if(isset($avia_config['use_child_theme_functions_only'])) return;

    Below, add this code:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
    return "debug";
    }

    You will be able to see the actual shortcode below the builder. You can manually re-order the row shortcode.

    [av_table purpose='pricing' caption='']
    [av_row row_style=''][av_cell col_style='']woo[/av_cell][av_cell col_style='']woo[/av_cell][av_cell col_style='']woo[/av_cell][/av_row]
    [av_row row_style=''][av_cell col_style='']wee[/av_cell][av_cell col_style='']wee[/av_cell][av_cell col_style='']wee[/av_cell][/av_row]
    [av_row row_style=''][av_cell col_style=''][/av_cell][av_cell col_style=''][/av_cell][av_cell col_style=''][/av_cell][/av_row]
    [/av_table]

    You can place the first row below the second row:

    [av_table purpose='pricing' caption='']
    [av_row row_style=''][av_cell col_style='']wee[/av_cell][av_cell col_style='']wee[/av_cell][av_cell col_style='']wee[/av_cell][/av_row]
    [av_row row_style=''][av_cell col_style='']woo[/av_cell][av_cell col_style='']woo[/av_cell][av_cell col_style='']woo[/av_cell][/av_row]
    [av_row row_style=''][av_cell col_style=''][/av_cell][av_cell col_style=''][/av_cell][av_cell col_style=''][/av_cell][/av_row]
    [/av_table]

    Regards,

    Ismael

    #138511

    Thanks for your help Ismael, I may be able to use that myself, though I hope Kriesi updates this to allow general clients to edit themselves in a WYSIWYG way.

    I know it takes a lot of effort and dedication to continually help people on the forums, and I appreciate your help Ismael, thank you.

    cheers

    Darryl

    #138512

    Hi Darryl,

    I believe it is planned to be expanded in the future for additional editing capabilities. For now though this is the only way I know of to modify the table other than re-creating it.

    Regards,

    Devin

    #138513

    Thanks Devin. Do you know if plugins like the extended Ultimate TinyMCE work well with Enfold?

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Reorder data table rows, add new rows in between rows’ is closed to new replies.