Mark
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sight theme – slideshow and font issuesI’ve just spent all night trying to get the slider to work in the Sight template and have just sorted it.
josiahemsley is right in that you have to change “jquery.cookie.js” to “jquery.cooki.js” and you have to do this in TWO places.
(1) in the theme directory (wp-content/themes/sight/js) change the filename of “jquery.cookie.js” to “jquery.cooki.js”
(2) in the theme’s header.php approximately (I changed some of the code above so it will be around this line) line 15 change
wp_enqueue_script('cookie', get_template_directory_uri() . '/js/jquery.cookie.js', 'jquery', false);
to
wp_enqueue_script('cookie', get_template_directory_uri() . '/js/jquery.cooki.js', 'jquery', false);
If you do both of these, it should work. I’m using WP 3.2.1.
No sooner had I posted this than I noticed the addition of three lines of code in parser.php (in ‘core’ in the plugin folder) of version 0.7.5, lines 19-21:
define('PUNCT_BREAKS', TRUE); // Will punctiations such as , . ( and such will break a phrase
define('NUM_BREAKS', TRUE); // Will a number break a phrase
define('ENT_BREAKS', TRUE); // Will an HTML entity break a phrase
Changing these to ‘FALSE’ opens up the whole paragraph, making inserting pre-translated text a breeze!
Thanks very much, you’ve just made me a hero in the office ??
If I wanted to modify the parser to enable this function, how would I go about doing this?
One of the biggest complaints I get is that dates, ampersands and other punctuation (basically all the break characters) just aren’t in the same position in a sentence or paragraph when translating into French, Spanish and Japanese (amongst others) and I would love to remove this restriction and allow people to paste long chunks of translated text.
Forum: Plugins
In reply to: [Mendeley Plugin] Mendeley Plugin stopped workingHi,
I was having the same issue – commenting out the offending code in wp-mendeley.php (lines 380 to 387) fixed it for me.
Not a great fix, but it is now working again.
Just what I was looking for!
Would you mind just specifying the modifications that need to be made to the function to enable submission to an external database, please?
Thanks