Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 15, 2015 @ 17:26
    Ismail Mayat
    0

    insert link url from rte

    We got an old 4.7.1 site and its multilingual however setup as 

    Content

      en

      cn

      fr

    etc etc, when you insert links in a country section the url does not contain the language prefix e.g. /en/whatever you get /whatever so is it possible to update that url i guess write an http handler or fudge with some javascript?

    Regards


    Ismail

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jan 15, 2015 @ 20:14
    Jan Skovgaard
    1

    Hi Ismail

    Has useDomainPrefix been set to true in the /config/UmbracoSettings.config file? If so I think that is perhaps the reason why?

    /Jan

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jan 16, 2015 @ 09:35
    Ismail Mayat
    0

    Jan,

    Just set it to true no joy, thing is this site was not designed by us and on the root nodes no domain is set the driver for language instance is www.whater.com/en /fr etc etc the host is only set in iis.  Anyhow i have written some jquery to do it, I know that rte is contained within a div with specific class so i can target it and just update internal links in that area, also as we have a global language switcher i know which language they are in, not ideal but it works.

    Regards

    Ismail

Please Sign in or register to post replies

Write your reply to:

Draft