OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
SEF Translate on Joomla 4 Loading Bootstrap (0 viewing) 

Joomla Translate component support

Go to bottom Favoured: 0

SEF Translate on Joomla 4 Loading Bootstrap

Hatsukoi (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 0  
Hi there,

I bought the Pro version of SEF Translate back in July for my Joomla 3 site and it works perfectly.

Since then, I am now trying to upgrade my site to Joomla 4. I have installed the same version of SEF Translate to my development site and it seems to be causing problems with my design as it is loading Bootstrap. The SEF module is loading the following files:

/modules/mod_seftranslate/css/bootstrap.min.css
/modules/mod_seftranslate/css/bootstrap-select.min.css

and they are overriding my template styles. You can see them in the header if you look at the source code:
hatsukoi.co.uk/j4test05/

In Joomla 3 this is not happening and all is good:
hatsukoi.co.uk/

Is there a new version I should be using for Joomla 4?

Thanks for any help you can give me.

Leila
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 102  
Hi,
Each new CSS file changes your styles, changes your template. You changed the template, the HTML and CSS structure of your site was changed, so the CSS files that use our Joomla Translate began to affect the style of your site in a different way.
We use bootstrap to show a layout with text and flags in the select list.
If everything works well on your site, and the problem is only with the styles, the easiest way to fix the styles.
Or you can abandon the layout that requires bootstrap and use another layout in the joomla translator
On your sites - you use different layouts from Joomla Translator. For now hatsukoi.co.uk - not use layout with bootstrap

Regards
Andrew
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Hatsukoi (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 0  
Thanks for your reply.

It's a shame not to have the flags but anyway it works with just the plain dropdown layout.

My template does actually load bootstrap already so it might be nice to have the option within the plugin to load bootstrap or not but I know that is work for you. Maybe for the future?

Anyhow, I'm grateful to have good translations on my site so thank you for a great plugin!

Best wishes
Leila
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 102  
Hello

We in our Joomla Translate module:
- first of all check is included bootstrap before and if YES, we not included it
- We included Bootstrap only to layout with bootstrap. If we no need Bootstrap - we not included it.

You may remove bootsrtap - if in file:
{your site}/modules/mod_seftranslate/tmpl/default.php

remove below rows:
Code:

      if(checkJavaScriptIncludedSEF("bootstrap-select.min.js") === false ) {
         $doc->addScript( JURI::base(). 'modules/mod_seftranslate/js/bootstrap-select.min.js');
      }
      if(checkJavaScriptIncludedSEF("bootstrap.min.js") === false ) {
         $doc->addScript( JURI::base(). 'modules/mod_seftranslate/js/bootstrap.min.js');
      }
      if(checkStylesIncludedSEF("bootstrap.min.css") === false ) {
         $doc->addStyleSheet( JURI::base(). 'modules/mod_seftranslate/css/bootstrap.min.css');
      }
      if(checkStylesIncludedSEF("bootstrap-select.min.css") === false ) {
        $doc->addStyleSheet( JURI::base(). 'modules/mod_seftranslate/css/bootstrap-select.min.css');
      }



Please backup that file first

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
joomleb (User)
Gold Boarder
Posts: 204
graphgraph
User Offline Click here to see the profile of this user
Re:SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 0  
Hi guys,
from our point of view, the best (user friendly) Language Module Selector layout is the one from Linguise, you can see it run here: www.linguise.com/integrations/joomla-aut...anslation-component/

the biggest SEF Translate Module limit is that, as far as I know, there is no a way to "hide" the "Select a Language" phrase and option.
I mean, the Module should always show the flag of the current language (also the default one) and should never show the "Select a Language" phrase.

Please, Do you have a trick / tip for it ?!?
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:SEF Translate on Joomla 4 Loading Bootstrap 2 Years ago
Karma: 102  
Yes in our Joomla translate we haven't so layout.

You may order create so layout as customization service. But as me seem it need only if you have a lot languages for your joomla site translate. May be we will add it to our next versions


Now in our Pro version of Joomla translate you have possibility:
- show only flags for joomla translate in any Joomla module position or at top, right, left or bottom
- show languages for translate (Vertical or Horizontal)
- show languages and Flag for translate (Vertical or Horizontal)
- show "select list with language" for joomla translate
- show "select list with language and flags" for joomla translate

Sorry, as me seem, so lot possibilities haven't other joomla translate modules

and should never show the "Select a Language" phrase.
Sorry, we show this only for "Select list layout" and if remove this - client need every time set "default site language setting" - but this additional setting. 99% users wish have very simply module. They will not check what they not configured, they will think "This module not work" ...

Regards
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»