amj
Forum Replies Created
-
@cais I’ve added your code to the wpml() function. I’ve created a new gallery with new pics but the problem still exist. Any other thoughts?
Cheers,
Anne@cais
Where do I place that code in module.third_party_compat.php,
under (1):function wpml() { .. foreach ($wp_filter['init'][2] as $id => $filter) { .. remove_action('init', array($object, 'js_load'), 2); <code here?> } }or under (2):
function wpml_translation_management() { .. foreach ($wp_filter['init'][10] as $id => $filter) { .. remove_action('init', array($object, 'init'), 10); <code here?> } }Cheers,
Anne@cais – I’ve also contacted the wmpl guys about this issue and they tested it too and found the same problem. Seems like there’s a compatibility issue with shortcodes on secondary languages. See: wpml-support I hope there’ll be a solution for this soon.
Regards Anne
@cais – That old jquery is now removed.
I’ve created a new gallery with new pics but the problem remains…Regards Anne
Cais,
I’ve just looked on the server and in the map /testplaatjes there are 5 jpeg’s (1.jpg, 2.jpg, 3.jpg, 4.jpg and 5.jpg)
As said before 5.jpg is the only one that hasnt be linked on a English page. In that map there are 2 other maps, /thumbs and /dynamic. In /thumbs all 5 jpegs are present. But in /dynamic the image 5.jpg is absent.To test some more I’ve created a new gallery called mytest and added some images. I’ve changed the rights of the gallery map to 755 (was 751). After that I added a image to a Ducth page (non-standard language). The same issue still appears. No /dynamic map with images is created. But when I add a new image on a English page (=standard language) then the /dynamic map and image is created.
FYI: I’ve deactivate all unnecessary plugins, and switched themes to test if that helps, but it doesnt.
This part is incorrect:
src="mydomain/wp/nl/nextgen-image/306/300x200x100/564e1c6890f3ffc2c315c4952054ccea" alt="4.jpg" title="4.jpg" width="150"Is should be something like this:
src="mydomain/wp/wp-content/gallery/testplaatjes/dynamic/4.jpg-nggid03305-ngg0dyn-300x0x100-00f0w010c010r110f110r010t010.jpg alt="4.jpg" title="4.jpg" width="150"I’ve tried to deactivate all plugins (except ngg and wpml) but no luck
Live example hereRegards, Anne
Hi Cais,
Yep I did and it doesnt make a difference unfortunately.[singlepic id=306 float=right]
The source:<div class="ngg-gallery-singlepic-image ngg-right" style="max-width: 150px"> <a href="http://mydomain/wp/wp-content/gallery/test/4.jpg" title="" data-src="mydomain/wp/wp-content/gallery/test/4.jpg" data-thumbnail="mydomain/wp/wp-content/gallery/test/thumbs/thumbs_4.jpg" data-image-id="306" data-title="4.jpg" data-description="" target="_self" class="shutterset_f76de4d8cdeec05fec782d9c85eb04c8"> <img class="ngg-singlepic" src="mydomain/wp/nl/nextgen-image/306/300x200x100/564e1c6890f3ffc2c315c4952054ccea" alt="4.jpg" title="4.jpg" width="150"></a></div>This is what I get with an image that is placed on a non-standard page (Dutch in this case) and that image is not used on a standard language page (English).
Any Ideas?Forum: Fixing WordPress
In reply to: Feeds not working – error 404I just found another way to disable feeds if you are using Yoast WordPress SEO plugin, which I do. Check ‘Hide RSS Links’ in the ‘ Clean up <head> section’.
Forum: Fixing WordPress
In reply to: Feeds not working – error 404Thanks. And if I decide to not use feeds, whats the best way yo get rid of those rss links? Any ideas? Can I use a hook for that?
I Use WMPL Multilingual CMS 2.3.0 and I’ve installed NextGEN Gallery 1.8.0 but I haven’t found a way to translate the alt/title text. Am I overlooking things??
Cheers
Did you found a solution? I’m looking for something similar: show 1 pic on page (no thumbnail) and when you click it, you can navigate through all of the pics in that gallery/album in thickbox.