meravjon
Forum Replies Created
-
Forum: Plugins
In reply to: [Interactive Content – H5P] after updating can’t editHi Icc
here’s what i get in the admin pannel:Uncaught TypeError: Cannot read property ‘length’ of undefined
at ns.SelectorHub.getContentType (h5peditor-selector-hub.js?ver=1.10.0:20)
at new ns.SelectorHub (h5peditor-selector-hub.js?ver=1.10.0:36)
at new ns.LibrarySelector (h5peditor-library-selector.js?ver=1.10.0:42)
at Object.<anonymous> (h5peditor-editor.js:81)
at c (jquery.js?ver=1.10.0:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.10.0:2)
at k (jquery.js?ver=1.10.0:4)
at XMLHttpRequest.r (jquery.js?ver=1.10.0:4)Forum: Fixing WordPress
In reply to: import xml fileHi this link doesn’t answer my question.
Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLOK Thanks. Doing it now
Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLHi
Thanks again for reply.
Needs customization of plugin. Paid work of course.
Is it possible?Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLSo if I need the student to write: O<sub>2<sub> I can’t?
Also couldn’t find a linear graf. Am I missing that?Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLThanks for reply icc0rz
The ‘u’ ‘img’ does apear on the plugin Java as the others apart from the ‘rtl’ so they should be warking too. For the ‘rtl’I gues I should build the plugin. Am I wrong?
Also I want the students to be able to use the toolbar as the site is for chemistry users. Is it possible?Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLOK I wrote this on my functions.php folowing your guid
/* adding buttons to text editor h5p */ function mymods_h5p_semantics_alter(&$semantics, $content_type, $major_version, $minor_version) { foreach ($semantics as $field) { // Go through list fields while ($field->type === 'list') { $field = $field->field; } // Go through group fields if ($field->type === 'group') { mymods_h5p_semantics_alter($field->fields); // Check function name! continue; } // Check to see if we have the correct type and widget if ($field->type === 'text' && isset($field->widget) && $field->widget === 'html') { // Found a wysiwyg/CKEditor field. Add sub/sup buttons. if (!isset($field->tags)) { $field->tags = array(); } $field->tags = array_merge($field->tags, array( 'table', 'thead', 'tfoot', 'tbody', 'tr', 'th', 'td' )); if (!in_array(‘u’, $field->tags)) { $field->tags[] = ‘u’; } if (!in_array(‘rtl’, $field->tags)) { $field->tags[] = ‘rtl’; } if (!in_array(‘colors’, $field->tags)) { $field->tags[] = ‘colors’; } if (!in_array('sub', $field->tags)) { $field->tags[] = 'sub'; } if (!in_array('sup', $field->tags)) { $field->tags[] = 'sup'; } if (!in_array(‘img’, $field->tags)) { $field->tags[] = ‘img’; } } } } add_filter('h5p_alter_library_semantics', 'mymods_h5p_semantics_alter');But on my tool bar the ‘u’ ‘img’ and ‘rtl’ do not apear
Forum: Plugins
In reply to: [Interactive Content – H5P] css to RTLHi
Thanks for reply. At first I tried to insert the CSS om my style.css in my child theme, but didn’t saw that guid. so made some changes in the core plugin* {direction:rtl}. now it works.Also did some changes on the specific css in the upload library. Any way now I folowed the guid and I’ll try doing it in the right way.
also having some problems with the text editor. can I continue here?Forum: Fixing WordPress
In reply to: caption to description + altI found out that if I change wp-admin\includes\media.php to:
$attachment = array_merge( array( 'post_mime_type' => $type, 'guid' => $url, 'post_parent' => $post_id, 'post_title' => $title, 'post_content' => $excerpt, 'post_excerpt' => $excerpt, ), $post_data );I get the description IPTC to the description field in woordpress.
however I don’t want to change this file I’m looking for a hook that can make it throw functions.phptracking
Hi having same Issue that must be something conected to rtl
Hi Cais,
thanks for reply. It seems the problem is with metadata creasted with windows. Once I converted the metadata xmp it’s all good.Forum: Everything else WordPress
In reply to: Mixed Content httpsHi steve this isn’t duplicate issue.
the post you added was resolved.
this one not yet.
this is a differnt issueForum: Plugins
In reply to: [WP QuickLaTeX] plugin pops HTTP resources to https siteHi advanpix
Just got your reply. Thanks, yes figured it by myself.
Closing this/ 🙂Forum: Plugins
In reply to: [WP QuickLaTeX] plugin pops HTTP resources to https siteOK found it.
I needed to activate Cache images locally.
If you look in the php file you can see that when it’s not “on” it makes a link to http://quicklatex.com/ and by the way there isn’t https://quicklatex.com/ so don’t change the link