Jump to content

Archived

This topic is now archived and is closed to further replies.

interpro

DMS + WPML - broken images

Recommended Posts

interpro

site: http://demo.interpromote.com/test/

 

problem: DMS is showing the same images regardless of which language is selected in the WPML language changer.

 

I need to display different images in different languages because the images have captions.

 

I've tried the solution described in DMS forum here, but this doesnt work for me because the mediabox only has one path and doesnt seem to feature the [pl_site_url] token.

 

I tried replacing the root domain with this token in the first  mediabox but as you can see, it broke the image path.

 

Any ideas on how to fix this, please?

 

 

Share this post


Link to post
Share on other sites
James B

So in the mediabox image field, you're manually adding the path to the url instead of using the pl shortcode that comes up when you add throug hthe media library etc? And it's still not working? You're using the same image just the caption that's changing right?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
interpro

the problem is that i need a different image for different languages.

 

If I just put a path to *one* image, it works - but of course it will show the same image for every language which is no good since the images have embedded text.

 

I need to call a different image per language, based on the language selected with WPML... any ideas on how to do this within a DMS mediabox?

Share this post


Link to post
Share on other sites
James B

In that case I would say try Polylang, this allows you to create separate pages for each language, so you can have a different box set on each language. See this post our Developer commented on http://forum.pagelines.com/topic/33550-using-polylang-to-translate-iboxes-quickslider-revslider/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
interpro
Ok that sounds like it could work. Would polylang support multiple versions of the homepage?

Share this post


Link to post
Share on other sites
greenfly

Hello interpro

 

Polylang allows you to display content based on the language and uses a separate post for each language, so you can have a totally different content between posts in each language.Then you would have a section pull the content for the post for that language on the home page rather than needing a home page for each language, 

 

In other other words - one home page pulling the required content from posts for that language. 

 

Does that make sense? 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
×