Home Forums WoodMart support forum Dropdown in Topbar

Dropdown in Topbar

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #71191

    greenorb
    Participant

    Hello,

    how can I create dropdown like “Language” and “Country” in the topbar like your demo
    https://woodmart.xtemos.com

    If I try to do this with “Text/HTML” in the Header Builder it does not work (using form/select)

    I want to change the URL after chose a option to switch language or currency by adding a parameter to the URL (like: ?wmc-currency=AUD or ?lang=de)

    #71198

    Hello,

    In order to create language switcher you need to install WPML, then configure language switcher in a menu.

    1. Create menu in Appearance > Menu

    2. Create a language switcher in WPML > Languages http://prntscr.com/keuxez and assign it to the created menu http://prntscr.com/keuxje

    3. Navigate to Header builder add secondary menu element http://prntscr.com/keuxq8 and choose the created menu http://prntscr.com/keuxu1

    As for countries drop-down, it is just menu with links, repeat steps 1 and 2

    Best Regards

    #71209

    greenorb
    Participant

    Thanks a lot. But there’s another issue :-((((
    Sorry for that.

    The Facebook-Login works fine on the English Page, if I switch the language to German (secondary language at WMPL) Facebook say there’s an error.

    This is the message:
    URL blocked: This redirection failed because the URI was not whitelisted for redirection in the app’s Client oAuth settings. Make sure client and Web OAuth login are enabled and add all your app domains as valid OAuth forwarding URIs.

    #71247

    Hello,

    Please send us screenshots of Facebook settings.

    Best Regards

    #71249

    greenorb
    Participant

    Your wish is my order :-=

    #71250

    greenorb
    Participant

    another try

    Attachments:
    You must be logged in to view attached files.
    #71269

    Artem Temos
    Keymaster

    You need to add similar URL in your Facebook APP settings for German version as well if you have different URLs for each language.

    #71287

    greenorb
    Participant

    I have to try this “https://mistervapeejuice.com/mein-konto/facebook/int_callback”
    also with “?lang=de” and “/?lang=de” at the end. Nothing works.
    There’s only an error (a single line, that says “Your are not logged in…”)

    If I try “https://mistervapeejuice.com/mein-konto/?lang=de/facebook/int_callback” it goes to FB-Login, but after try to do a login it redirects to the English Register-Page (…/my-account/…) and I’m not logged in.

    #71290

    Artem Temos
    Keymaster

    Could you please add our account to the administrator’s list so we can try it?

    #71291

    greenorb
    Participant

    of course

    #71292

    Artem Temos
    Keymaster

    Sorry, we meant to add this user to Facebook APP administrators.

    #71293

    greenorb
    Participant

    what is you username? 🙂

    #71298

    Artem Temos
    Keymaster

    .

    #71301

    greenorb
    Participant

    is it possible that is…

    #71315

    Hello,

    Navigate to WPML, find “Language URL format” set “Different languages in directories”

    Then, go Settings -> Permalinks tab -> Press “Save”

    After that try to login via Facebook

    Best Regards

    #71318

    greenorb
    Participant

    Works perfect. Thank you so much for your support!
    Awesome Theme and Team 🙂

    #71321

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 17 posts - 1 through 17 (of 17 total)

The topic ‘Dropdown in Topbar’ is closed to new replies.