Forum Replies Created

Viewing 15 replies - 31 through 45 (of 105 total)
  • see here:

    evolve_get_option() has changed to evolve_theme_mod().
    Are you using a <3.8.4 copy of header.php in your child theme with an evolve version >=3.9.3?

    wir haben hier mehrere Seiten mit evolve (alle unter PHP 7.2 teilweise PHP 7.3 und WordPress 5.2.3) – keine Probleme. Das wird wahrscheinlich andere Ursachen haben.
    Wenn Du unter “Werkzeuge”->”Website-Zustand” gehst, kannst Du den Problembehandlungsmodus aktivieren, wenn Du das Plugin “Health Check & Troubleshooting” installiert hast. Da findest Du dann auch weitere Infos.
    Aber ohne den Link auf die Seite kann ich dazu nichts sagen.

    Hi,
    it should work like this in function.php of the childtheme:

    function child_theme_styles() {
      wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
      // following line not necessary:
      //wp_enqueue_style( 'child-theme-css', get_stylesheet_directory_uri() .'/style.css' , array('parent-style'));
    }
    add_action( 'wp_enqueue_scripts', 'child_theme_styles' );
    

    Best regards,
    Hans-Gerd

    Hi,
    I just tested it here: I can see the menu. I would simply open the website in another browser and/or delete the browser cache.
    Best regards,
    Hans-Gerd

    great ??

    Hi,
    here the theme works fine.
    Which PHP version is used on the server ?
    Best regards,
    Hans-Gerd

    Thread Starter Hans-Gerd Gerhards

    (@hage)

    Hi,
    I’ve re-tested it now and it’s indeed as you say this feature works. Then I tested functions related to it and found that the following function caused the problem.
    I will take a closer look over the next few days and see what’s wrong.

    /* Integrate shortcode generator in tinymce editor */
    
    add_action( 'admin_init', 'ait_button' );
    
    function ait_button() {
        if ( current_user_can( 'edit_posts' ) && current_user_can( 'edit_pages' ) ) {
    	 // check if WYSIWYG is enabled //
    	 if ( get_user_option('rich_editing') == 'true') {
                add_filter( 'mce_buttons', 'ait_to_tec_register_tinymce_button' );
    	    add_filter( 'mce_external_plugins', 'ait_to_tec_add_tinymce_button' ); 
    	}
         }
    }
    
    function ait_to_tec_register_tinymce_button( $buttons ) {
         array_push( $buttons, "ait_button");
         return $buttons;
    }
    
    /* this function causes the error */
    function ait_to_tec_add_tinymce_button( $plugin_array ) {
         $plugin_array['my_button_script'] = plugins_url( '/assets/js/ait_buttons.js', __FILE__ ) ;
    return $plugin_array;
    }
    

    If you also have a tip, that would be great of course.
    Thanks again for your help.

    Thread Starter Hans-Gerd Gerhards

    (@hage)

    Hi,
    thanks a lot.
    That sounds great – I’ll check as soon as possible and get back to you (I’m on my way right now)

    Thread Starter Hans-Gerd Gerhards

    (@hage)

    Hi,
    thanks a lot for answer.
    I had already tested this before and now also again – but unfortunately with the same result. ??

    Thread Starter Hans-Gerd Gerhards

    (@hage)

    Hi,
    thanks for the answer and sorry for the unclear description. The JS-file is a kind of shortcode generator.
    I would like to enable translations (see // label: ait_php_var.event_category, instead of label: 'Event Category', in the JS file on the one hand and pass variables ( see console.log(ait_php_var.ackids);) on the other, which I can continue to use in the JS file.
    Here is the complete JS file:

    // JavaScript Document
    // alert( ait_php_var.ackids );
    
    (function() {
      // const { __, } = wp.i18n;
      // var ait_cats = JSON.parse(ait_cat_obj.category);
      // var categories = [];
      var ait_http = 'https://';
      var ait_https = 'https://';
      var ait_test_http = '';
      console.log(ait_php_var.ackids);
    
        /*
        for( var cat in ait_cats){
          categories.push({"text":ait_cats[cat],"value":cat});
        }
        */
         /* Register the buttons */
         tinymce.PluginManager.add( 'my_button_script', function( ed, url ) {
              ed.addButton( 'ait_button', {
                title : 'Add Infos to the events calendar',
                type: 'menubutton',
                image : url + '/icons8-kalender-48.png',
                icon: 'icons8-kalender-48.png',
                  menu:[{
                      text: 'Add Infos to the events calendar',
                      value: 'Add Infos to the events calendar',
                      onclick : function() {
                          ed.windowManager.open( {
                             title: 'Add Infos to the events calendar Shortcode Generator',
                             body: [
    
                                  {
                                     type: 'textbox',
                                     name: 'link',
                                     label: 'Ext. Link',
                                     // label: ait_php_var.external_link, //
                                     value:""
                                  },
                    							{
                    								type: 'textbox',
                    				        name: 'vl',
                                    label: 'Event Category',
                    				        // label: ait_php_var.event_category, //
                                    values: ""
                    				        // values:categories
                    							},
                                  {
                    								type: 'textbox',
                    				        name: 'il',
                                    label: 'Int. Link',
                    				        // label: ait_php_var.internal_link, //
                    				        values:""
                    							},
                                  /* for internal use only
                                  {
                                    type: 'checkbox',
                                    name: 'kfm',
                                    label: 'Kinderflohm?rkte',
                                    values: ""
                                  },
                                  {
                                    type: 'checkbox',
                                    name: 'fm',
                                    label: 'Flohm?rkte',
                                    values: ""
                                  },
                                  {
                                    type: 'checkbox',
                                    name: 'ferien',
                                    label: 'Ferien',
                                    values: ""
                                  },
                                  */
    
            ],
            onsubmit: function( e ) {
              if (e.data.vl == "all") {
                e.data.vl = "";
              }
              e.data.vl = 'vl="' + e.data.vl + '" ';
    
              /* test whether the link starts with https:// or https://, otherwise add https:// if necessary */
              if (e.data.link != '') {
                if (e.data.link.substring(0, 7) != ait_http && e.data.link.substring(0, 8) != ait_https){
                  e.data.link = ait_http + e.data.link;
                }
                e.data.link = 'link="' + e.data.link + '" ';
              }
              else {
                e.data.link ="";
              }
              if (e.data.il != '') {
                if (e.data.il.substring(0, 7) != ait_http && e.data.il.substring(0, 8) != ait_https){
                  e.data.il = ait_http + e.data.il;
                }
                e.data.il = 'il="' + e.data.il + '" ';
              }
              else {
                e.data.il ="";
              }
    
              /* for internal use only */
              e.data.kfm_var = '';
              if (e.data.kfm === true) {
                  e.data.kfm_var = ' kfm="" ';
              }
              e.data.fm_var = '';
              if (e.data.fm === true) {
                  e.data.fm_var = ' fm="" ';
              }
              e.data.ferien_var = '';
              if (e.data.ferien === true) {
                  e.data.ferien_var = ' ferien="" ';
              }
              /* only for internal use */
    
              ed.insertContent(
                /* '[fuss link="' + e.data.link + '" vl="' + e.data.vl + '" il="' + e.data.il+ '"]' */
                '[fuss ' + e.data.link + e.data.vl + e.data.il + e.data.kfm_var + e.data.fm_var + e.data.ferien_var + ']'
              );
            }
          });
              }
          }]
    
        });
      });
      })();
    

    Thanks for any help

    Die korrigierten übersetzungsdateien habe ich gerade an die Entwickler gesendet.
    Das eine ist “Raster-Layout” und das andere “Masonry Raster-Layout”.
    Vielleicht hilft Dir das ja schon mal weiter

    ah, ok – jetzt habe ich das gesehen.
    In Customizr Pro gibt es in der Tat 5 Einstellungen. Ich sehe mir das bis zum Wochenende mal in der übersetzung an und korrigiere das.
    Damit dürfte sich das Problem mit der von mir vorgeschlagenen Ersetzung des themes durch ein “frisch” runter geladenes theme wohl erledigt haben.
    Ich werde mir das von Dir angesprochene Problem bei den Einstellungen mal bis zum Wochenende ansehen.
    Bei Fragen zur PRO-Version kannst Du Dich natürlich auch über das Support-Forum von Customizr an die Entwickler wenden.

    Zusatz: Im Customizer unter Hauptinhalt > Beitragsliste: Blog, Archive, … > Gestaltung Beitragsliste wird das bei mir sogar so angezeigt: Alternierendes Vorschaubild-Layout, Raster-Layout, Einfaches Layout.
    Wie gesagt: Gerade frisch runtergeladen und auf einer lokalen Seite installiert, auf der das theme vorher nicht installiert war. Sehr seltsam …

    Hallo @ypanesa,
    danke für Deine Antwort.
    Ich habe das hier gerade getestet. Dazu musste ich allerdings erst mal die freie Version installieren, weil ich normalerweise auf unseren Seiten die Pro-Version installiert habe. Bei mir werden unter “Gestaltung Beitragsliste” tats?chlich nur die ersten 3 Optionen (“Alternatives Vorschaubild-Layout, Raster-Layout, Einfaches Layout”) angezeigt.
    Vielleicht gibt es ein Problem mit den Dateien vom theme im webspace. Gibt es das Problem mit der Anzeige auf beiden Seiten ? – Sonst würde ich (als eine m?gliche Ma?nahme) die Dateien per FTP in den Themeordner kopieren – vorher bitte sichern.
    Viele Grü?e
    Hans-Gerd

    Hallo @ypanesa,
    ich bin u. a. deutscher übersetzer für customizr (PTE). Ich habe gerade in die übersetzung geschaut. Da steht im Original “Alternate thumbnails layout”. Die übersetzung w?re an sich so ok.
    Den Rest, den Du oben genannt hast (

    “Alternatives Vorschaubild-Layout” has no grid-customizer.

    ) konnte ich so nicht finden.
    @aschiffer: Du kannst Dich auch gerne an das deutsche Forum dazu wenden. Da ich das theme einsetze und da ziemlich aktiv bin, kann ich Dir gerne versuchen zu helfen. Au?erdem mache ich was ?hnliches wie Du ??
    Viele Grü?e
    Hans-Gerd

Viewing 15 replies - 31 through 45 (of 105 total)