• Resolved kingdave

    (@kingdave)


    Hello.
    I added the Css line to display only the flags. Now I have placed your widget on a sidebare in the site header. All right! However, if I insert the widget on the left sidebar again in the body of the site, it is not displayed. Since the pages of the portal are quite extensive, I would like to repeat the flags for choosing the language even further down. That’s why I wanted to repeat the widget in multiple places on the site! Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Prisna

    (@prisna)

    Greetings,

    it’s not entirely clear what’s exactly the issue you’re facing. It seems you want to have the flags displayed multiple times within the same page. Since it’s only possible to have one translation widget per page (limitation imposed by Google), inserting multiple widgets or shortcodes will result in just one widget being rendered.

    You could simply select the tabbed display mode:

    General > Display mode > Tabbed

    Or you could place the translation widget in a floating/fixed area that’s always visible, no matter where’s the scroll bar, like those fixed on top headers you see all over the internet.

    Or if you really want to have multiple flags set, you should insert one widget and then replicate the generated HTML code of the flags, for instance:

    <ul class="prisna-gwt-flags-container prisna-gwt-align-left notranslate">
    	<li class="prisna-gwt-flag-container prisna-gwt-language-de">
    	<a href="javascript:;" onclick="PrisnaGWT.translate('de'); return false;" title="German"></a>
    </li><li class="prisna-gwt-flag-container prisna-gwt-language-fr">
    	<a href="javascript:;" onclick="PrisnaGWT.translate('fr'); return false;" title="French"></a>
    </li>
    </ul>

    Of course this requires some HTML knowledge.

    Regards

    Thread Starter kingdave

    (@kingdave)

    Right… Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget su diverse sidebar’ is closed to new replies.