-
AuthorPosts
-
August 31, 2013 at 12:05 am #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
August 31, 2013 at 3:36 am #138510Hey,
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
September 1, 2013 at 11:53 am #138511Thanks 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
September 1, 2013 at 2:13 pm #138512Hi 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
September 2, 2013 at 8:03 pm #138513Thanks Devin. Do you know if plugins like the extended Ultimate TinyMCE work well with Enfold?
-
AuthorPosts
- The topic ‘Reorder data table rows, add new rows in between rows’ is closed to new replies.