Viewing 30 results - 61 through 90 (of 107 total)
  • Author
    Search Results
  • Just removing the +1 does also work. Change:

    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(".($counter + 1)."):before { content: '".$row['content'][$counter]['content']."'; } ";

    To:

    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(".($counter)."):before { content: '".$row['content'][$counter]['content']."'; } ";

    Several versions ago, the above was actually the original line. But for some reason the +1 was added.

    With each update (for several months now) I’m hoping that Kriesi has removed the +1, because all it seems to be doing is cause a problem with responsive tables. Yet no luck so far.

    Since this forces me to use a custom table.php file (without the +1) within the child theme, a new problem has recently been introduced: https://kriesi.at/support/topic/button-settings-opens-table-settings/

    I hope Kriesi looks into the table code / +1, because it keeps causing problems.

    Anyway, I’ll keep hoping :)

    Best,

    Ralph

    PS: How can I add those nice code blocks to my posts?

    #422966

    Hi Elliott,

    Thanks for your reply!

    After following your advice and further investigation, I managed to track down the root of the problem:

    I use a custom table.php file for the child theme, and it loads via this function: http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    The function used to work fine, but one of the recent Enfold updates must have changed something.

    I did a test loading the original table.php file via the child theme, but this also causes the button settings issue. Suggesting it’s not caused by the code within the custom table.php file.

    Also, changing the priority of the function from 15 to another number, doesn’t work either.

    The only thing that “solves” the button settings issue, is loading the table.php file via the parent theme. Though this isn’t an option for me, as I prefer the customized version to be update-proof.

    It seems that, when using the latest Enfold version, loading shortcode files via a child theme, currently causes advanced layout builder issues. Maybe there’s a path structure in table.php, which stops making sense when it loads via the child theme. Which might cause the table settings to open, when trying to configure a button.

    Do you perhaps know what might be causing this?

    Thank you,

    Ralph

    #408878

    Hey Bruno!

    Thank you for using our theme.

    You have to modify the core file enfold\config-templatebuilder\avia-shortcodes\table.php line 231:

    Look for:

    
    $content = preg_replace('!(\$|€|¥|£|¢|¤|%|‰|&cent;|&curren;|&pound;|&yen;|&euro;)!','<span class="currency-symbol">$1</span>', $content);
    						
    

    and add the currencies/text you like:

    
    
    $content = preg_replace('!(\$|€|¥|£|¢|¤|%|‰|&cent;|&curren;|&pound;|&yen;|&euro;|R\$)!','<span class="currency-symbol">$1</span>', $content);
    							
    

    Best regards,
    Günter

    #397564

    Hey databuzz!

    Thank you for using our theme.

    Out of the box – no.

    You have to alter the core file: config-templatebuilder\avia-shortcodes\table.php.

    Look for the functions pricing_table and data_table to modify.

    Best regards,
    Günter

    #389546

    In reply to: Enfold Table-Bug

    Hey!

    The problem is that first column I think. What happens when you open up /enfold/config-templatebuilder/avia-shortcodes/table.php and change line 294 from this.

    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(".($counter + 1)."):before { content: '".$row['content'][$counter]['content']."'; } ";
    

    To this.

    $responsive_style .= ".avia-table-".self::$table_count." td:before { content: '".$row['content'][$counter]['content']."'; } ";
    

    Best regards,
    Elliott

    #387990

    Hi Redfrex!

    With how your using the table I think what your wanting to do is open up /enfold/config-templatebuilder/avia-shortcodes/table.php and change line 294 from this.

    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(".($counter + 1)."):before { content: '".$row['content'][$counter]['content']."'; } ";
    

    To this.

    $responsive_style .= ".avia-table-".self::$table_count." td:before { content: '".$row['content'][$counter]['content']."'; } ";
    

    Best regards,
    Elliott

    • This reply was modified 10 years, 10 months ago by Elliott.
    #338295
    sdbroker
    Participant

    As it was previously reported here: https://kriesi.at/support/topic/tabular-table-column-headings-issue-in-v3-0-1/#post-333094 the code change in v3.0.1 screws up the column headings on the responsive tabular tables.

    On the above link it shows that by removing the +1 that for some reason was added on line 294 in (enfold\config-templatebuilder\avia-shortcodes\table.php) on v.3.0.1 fixes the issue. Why was that +1 was added to that code? What’s its purpose? There was never given an answer on the above closed ticket neither was fixed on the new v3.0.2.

    Please let us know what’s the need for that +1 that was added to the code after the v.3.0.1 that causes the column headings issue. Also please fix the bug on the next theme update.

    Thank you,
    George

    Hey!

    Thank’s for your feedback.

    Out of the box the table object does not support your request. If you need that, you have to modify

    enfold\config-templatebuilder\avia-shortcodes\table.php

    to allow to add specific classes to single cells. This will be the only way to be independent from cell content.

    But this is beyond the scope of support.

    Best regards,
    Günter

    #333094

    Hey,

    I fixed it in the core code (enfold\config-templatebuilder\avia-shortcodes\table.php). On line 294 there’s this piece of code:

    td:nth-of-type(".($counter + 1).") Remove the “+ 1” and the table headings are correct again.

    Anyway, the problem is that this fix has to be re-done after each theme update. Which is why I’m wondering whether you perhaps know of a permanent fix?

    Also, why is the “+ 1” there since v3.0.1? All it does is misplace the headings.

    Thanks in advance,

    Ralph

    #329583
    martind
    Participant

    When viewing a table in mobile-view, the headers are inlined by using the css :before trick. However, the offset is wrong, the nth-of-type(n) offset is starting at 0 instead of 1.

    The affected code is config-templatebuilder/avia-shortcodes/table.php line 294, and here is a fix:

    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(" . ($counter+1) . "):before { content: '".$row['content'][$counter]['content']."'; } ";

    Original line:
    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type({$counter}):before { content: '".$row['content'][$counter]['content']."'; } ";

    #316790

    In reply to: Pricing tables

    Hey!

    In that case you have two options;
    1- Please go to wp-content/themes/enfold/config-templatebuilder/avia-shortcodes folder and open table.php file and find

    $content = preg_replace('!(\$|€|¥|£|¢|¤|%|‰|¢|¤|£|¥|€)!','<span class="currency-symbol">$1</span>', $content);

    and change it to

    $content = preg_replace('!(\$|€|¥|£|¢|kn|¤|%|‰|¢|¤|£|¥|€)!','<span class="currency-symbol">$1</span>', $content);

    2- Add your prices as following

    25<span class="currency-symbol">kn</span>

    Regards,
    Yigit

    #312748
    Mariusz
    Participant

    Hi,
    In a socket I get the following error message:
    Warning: Invalid argument supplied for foreach() in /home/(…)/config-templatebuilder/avia-shortcodes/table.php on line 185

    I did not touch table.php at all. How can I solve that?

    Thanks
    M

    #305209

    Hi Christian!

    Da wir verhindern wollen, dass Benutzer Shortcodes “unendlich” stapeln haben wir die meisten Shortcodes bei Tabs/Toggles deaktiviert. Man kann diese trotzdem manuell einfügen, wobei aber nicht sichergestellt ist, dass alle Shortcodes geschachtelt (daher kumulativ verwendet) werden können. Einfach zum Standard-Editor wechseln bzw ein separates Fenster mit dem Standard-Editor öffnen und dort die Tabelle mit Magic Wand > Content Elements > Table generieren, dann einfach den Tabellen Code kopieren und in das jeweilige Tab Fenster einfügen.

    Ihr könnt auch den Table-Shortcode zu dem Tabs-Editor (Magic Wand) hinzufügen. Hierzu öffnet wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table.php and ersetzt

    
    $this->config['tooltip'] 	= __('Creates a data or pricing table', 'avia_framework' );
    

    durch

    
    $this->config['tooltip'] 	= __('Creates a data or pricing table', 'avia_framework' );
    $this->config['tinyMCE']    = array('tiny_always'=>true);
    

    – anschließend sollte die Tabelle immer als Shortcode Element angezeigt werden.

    Cheers!
    Peter

    This reply has been marked as private.

    Hi!

    Ich konnte leider keine einschlägigen Änderungen in der modifizierten table.php finden, welche dieses Layout https://dl.dropboxusercontent.com/u/4900424/Bildschirmfoto%202014-08-06%20um%2015.32.23.png produzieren würden. Ihr könnt probieren, die “alte” table.php statt der neuen einzufügen und nachsehen, ob diese etwas verändert, aber ich denke eher nicht. Wenn der Kunde mit dem neuen Layout leben kann, dann lassen wir es lieber dabei, weil ich nnicht genau weiß, was nun damals genau modifiziert wurde.

    Regards,
    Peter

    #301959
    MarkHarrigan
    Participant

    Try as I might I cannot seem to do this. I have tried applying various quick CSS changes based on different posts here but nothing seems to alter the font sizes in my tabular data. I have tired to see if there any option to edit table.php directly and struck out there too. Anyone able to help?

    This reply has been marked as private.

    Hey soltner!

    Ich weiß leider auch nicht, welcher Post die genannte Modifikation enthält. Habt ihr vielleicht ein Backup der alten table.php, welche uns als Referenz für die Modifikationen dienen kann? Ihr könnt auch versuchen nach table.php im Forum zu suchen: https://kriesi.at/support/search/table.php/ – vielleicht stoßt ihr über den Post.

    Regards,
    Peter

    soltner
    Participant

    Hallo,
    bin dabei das aktuelle Enfold-Update zu machen, vorerst auf der lokalen Installation, und habe bemerkt, daß die Tabellen nicht mehr korrekt dargestellt werden. Hier zwei Screenshots:
    Vor dem Update:
    https://dl.dropboxusercontent.com/u/4900424/Bildschirmfoto%202014-08-06%20um%2015.32.23.png
    Nach dem Update:
    https://dl.dropboxusercontent.com/u/4900424/Bildschirmfoto%202014-08-06%20um%2015.33.28.png

    …habe im Forum gelesen, daß nun die Möglichkeit besteht, die Tabellen “scrollbar” zu machen, was ich bzw. mein Kunde nicht möchte –
    gibt es eine Möglichkeit, die fehlende 1. Zeile der Tabelle auf mobilen Geräten darzustellen?
    Wenn ich mich recht erinnere, hatte ich auch damals, beim Erstellen der Webseite, table.php modifizieren müssen, leider finde ich diese Anleitung nicht mehr :-(

    liebe Grüsse
    Soltner

    #289717
    Mariusz
    Participant

    Hi
    I used your table builder and I stuck at coloring table background. I couldn’t do this because there was no custom class for the table.

    Therefore I suggest to modify \config-templatebuilder\avia-shortcodes\table.php file, line 298 to:
    $output .= "<{$tag} class='".$cell_attributes['col_style']." column".$counter ++." '";

    Thanks

    #271003

    In reply to: Button Element broken?

    Hi!

    Everything seems to be up to date. I have checked the builders html output and its ok. Also what gets sent via ajax to the modal window and thats ok as well. The only possible explanation I got at this point is that there is a server setting that vastly differs from our other 30.000 customers since this is the first time ever that this has been reported :)

    I am really not an expert when it comes to servers and I really cant think of any special configuration that might let php use one file or class instead of another… (in this case config-templatebuilder/avia-shortcodes/table.php instead of config-templatebuilder/avia-shortcodes/buttons.php)

    Best regards,
    Kriesi

    #232438

    This was my solution/hack…

    /config-templatebuilder/avia-shortcodes/table.php
    line 294:

    
    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type(" . ($counter + 1) . "):before { content: '".$row['content'][$counter]['content']."'; } ";
    

    And I used this custom CSS to fix the hiding/showing of headline column headers:

    @media only screen and (max-width: 767px){
    .responsive .avia-data-table .avia-button-row, .responsive .avia-data-table tr:first-child th {
    display: block;
    }
    .responsive  .avia-data-table .avia-heading-row .avia-center-col {
    display: none;
    }
    }

    The only thing that isn’t working now is changing the label if you have multiple headline rows within a data table..

    • This reply was modified 11 years, 9 months ago by nagato. Reason: updated the line number for v2.6.1
    #232417

    I am also seeing this problem and trying to debug it to come up with a fix.. It makes grids really confusing when viewing them on mobile.

    I don’t think it can be fixed by CSS alone.. it looks like a bug in the data_table function around line number 254 in /config-templatebuilder/avia-shortcodes/table.php

    #214229
    Lynnr321
    Participant

    I have been experiencing fatal errors and could not use the admin side of WordPress earlier today. I think I have them fixed now, but I’m not sure. I am sending this along to you as I am seeing others like this and hope it may help in troubleshooting it for everyone.

    Earlier today:
    When logging into Pages, they responded very randomly. For instance, the Home page does not display or sometimes gives a fatal error and the Rates page comes up with only the default editor and otherwise a blank white screen. Oddly, the user side looks and operates fine. Below are some threads I’ve posted on for this problem and some things I’ve done from your advise that, so far, have not worked.

    I love this theme -it is one of the nicest themes I’ve ever developed with, BUT I need to get it to launch successfully and be stable.

    My site is at: http://bit.ly/1ff9EVF

    Thanks -Lynn

    Link: https://kriesi.at/support/topic/fatal-error-caused-bij-enfold/

    January 23, 2014 at 6:17 pm

    I am receiving similiar php warnings and my host said to contact the Theme developers. My site is at: http://bit.ly/1ff9EVF
    Should I open a new thread or can you help on this one?
The error I am receiving is:
Fatal error: Cannot use object of type WP_Error as array in /home/sterling/public_html/new-wordpress/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344
    I have also been receiving php memory limit errors, but I increased the allotment and that seemed to resolve that.
    Thanks -Lynn

    January 23, 2014 at 8:04 pm

    For now, I have resolved this by deactivating the Jetpack plugin.
    It caused this error when loading, but then loaded the plugin:
Fatal error: Out of memory (allocated 67633152) (tried to allocate 122880 bytes) in /home/sterling/public_html/new-wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php on line 269
    Then it gave this error when I clicked on Sites Stats (twice):
We were unable to get your stats just now. Please reload this page to try again. If this error persists, please contact support. In your report please include the information below.
    User Agent: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/6.1.1 Safari/537.73.11″
Page URL: “http://sterlingridgeresort.com/new-wordpress/wp-admin/admin.php?page=stats&noheader”
API URL: “http://dashboard.wordpress.com/wp-admin/index.php?noheader=true&proxy&page=stats&blog=58935943&charset=UTF-8&color=coffee&j=1:2.7″
http_request_failed: “Couldn’t resolve host ‘dashboard.wordpress.com’”
    I disabled Jetpack and some of the errors went away (I thought it was fixed), but when I went into several pages, then I received the random errors described above.

    Then I did the suggestions at the end for the php.ini file:
    link: https://kriesi.at/support/topic/java-script-error/
    January 16, 2014 at 9:52 am

    Hey!
    This is not an incompatibilty issue but a problem of the envato theme update api. You can try two things:
    1) Update the api file to the latest version – the code can be found here: https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php – just delete the code in wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and insert the updated code. I’m not sure if it will work though (I can’t test it).
    2) Deactivate the update api – insert following code into the child or parent theme functions.php file – i.e. insert it at the very bottom of the file
    add_theme_support(‘avia_manual_updates_only’);
    Cheers!
Peter

    It still was not fixed.
    Then I increased the PHP Configuration to 200M. Still not fixed.
    Then I turned off the NextGEN Gallery by Photocrati & NextGEN Gallery Media Library Addon Plugins.
    And that! seems to have fixed it.
    Cross your fingers -hope this helps you in troubleshooting. It seems like I do not have an immediate problem, but it still doesn’t seem quite ‘right’. When changing text in the avia theme editor, sometimes I am getting the ‘Visual’ display and sometimes I need to go to the “Text” tab to edit the Text Block.

    I am using Liquid Web as the host.

    #214056

    For now, I have resolved this by deactivating the Jetpack plugin.

    It caused this error when loading, but then loaded the plugin:
    Fatal error: Out of memory (allocated 67633152) (tried to allocate 122880 bytes) in /home/sterling/public_html/new-wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php on line 269

    Then it gave this error when I clicked on Sites Stats (twice):
    We were unable to get your stats just now. Please reload this page to try again. If this error persists, please contact support. In your report please include the information below.

    User Agent: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/6.1.1 Safari/537.73.11”
    Page URL: “http://sterlingridgeresort.com/new-wordpress/wp-admin/admin.php?page=stats&noheader&#8221;
    API URL: “http://dashboard.wordpress.com/wp-admin/index.php?noheader=true&proxy&page=stats&blog=58935943&charset=UTF-8&color=coffee&j=1:2.7&#8221;
    http_request_failed: “Couldn’t resolve host ‘dashboard.wordpress.com'”

    #201523
    logishkas
    Participant

    Hello!

    First of all, what a great theme it is. Thanks to the whole team for the effort : )

    I’ve encountered some problems using it and here are my solutions:

    1) There was a discussion earlier about a table bug which results in wrong order of row labels on mobile devices (https://kriesi.at/support/topic/table-bug-enfold/). As I understand, there is no element zero in CSS, so changing line 282 in \config-templatebuilder\avia-shortcodes\table.php
    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type({$counter}):before { content: '".$row['content'][$counter]['content']."'; } ";
    to

    $fix = $counter + 1;
    $responsive_style .= ".avia-table-".self::$table_count." td:nth-of-type({$fix}):before { content: '".$row['content'][$counter]['content']."'; } ";

    should fix the problem.

    2) I was also annoyed by the resulting quality of scaled logo images in Firefox. Adding
    .logo img{image-rendering: auto;}
    to \css\custom.css should improve it (https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering).

    Hope it helps someone. Good luck!

    • This topic was modified 12 years ago by logishkas. Reason: Typos
    #195375

    Hi martinbose!

    See this topic on creating your own shortcodes folder for the child theme: https://kriesi.at/support/topic/portfolio-meta/#post-130512

    Best regards,
    Devin

    #194740
    martinbose
    Participant

    Hi,

    I would like to change the table.php through enfold-child theme. I copied a section from table.php starting with a class declaration avia_sc_table extends aviaShortcodeTemplate { to the functions.php in child theme. However, after I’ve done this the site doesn’t load anymore. What might be an issue?

    Thanks

    #140914

    Hi,

    I found a way to add an id to each table (table_1, table_2, table_3, etc), here is how:

    Open /wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/table.php, and search for this block of code (line 197):

    foreach($sorted_rows as $ul_k => $ul){

    $output .= "<div class='pricing-table-wrap'>";

    Replace it with:

    $i = 0;

    foreach($sorted_rows as $ul_k => $ul){

    $i++;

    $output .= "<div class='pricing-table-wrap' id='table_$i'>";

    Remember that this type of customization would be erased if you update the theme, before updating make a backup of the theme.

    Regards,

    Josue

    #28280
    a01
    Participant

    Hi,

    Is it possible to change table.php so you can add colspan and/or rowspan to the shortcode?

    I’m not familiar with php and really have no idea how, but i guess it’s not that much work.

    Like this:

    [av_table purpose='tabular' caption=''] [av_row row_style='avia-heading-row'][av_cell col_style='' colspan='2']Table title[/av_cell][/av_row] [av_row row_style=''][av_cell col_style='']Item 1[/av_cell][av_cell col_style='']Item 2[/av_cell][/av_row] [/av_table]

    Thanks for helping me out!

    a01

Viewing 30 results - 61 through 90 (of 107 total)