Support

Admin Tools

#11422 Combine JavaSript and CSS on multi-language site

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 07 March 2012 14:41 CST

elau24
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? No
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? 56-58
Joomla! version: 2.5.2
PHP version: 5.3.10
MySQL version: 5.1.56-log
Host:
Admin Tools version: 2.2.0

Description of my issue:

I have a multi-language site with 2 languages. When I enable the Combine JavaScript and CSS plugins in SEO and Link Tools, while the site looks fine, the source has 2 sets of the JavaScript and CSS links. Looks like it's one set for each language. The 2 sets are almost the same but not quite. Only the first set has links to combined files.

On both my single-language and multi-language sites, most Gantry and template files weren't combined.

Please see attached to see what I mean.

Thanks in advance for your help!

nicholas
Akeeba Staff
Manager
The attachment didn't come through. Can you please retry? If it's a big file, please upload it to Dropbox and paste a link here.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

elau24
Can't attach file for some reason. So here it is:

--------------------------------------------------------------------------------------------------------------
** this is when Javascript and css aren't combined ***
** (the combined one is after this section) **








































--------------------------------------------------------------------------------------------------------------
*** below is when the combine Javascript and css plugins are enabled ***









































































elau24
oh, what a mess. can't display. would view source be good enough for you? sorry about this...

nicholas
Akeeba Staff
Manager
Just a URL where I can see this problem would suffice.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

elau24
Sorry about the other mess before. I was having some problems after upgrading to Joomla 2.5.2 and wasn't sure if I should back out from it. Anyway, it's resolved now, and I've enabled the plugins. The url is

http://hakkaac.org/devArea/dev1/en/

Btw, would you happen to know what would have caused the problem with Joomla 2.5.2? I had text filter set as Default Black List but it still strips out all HTML tags when I save an article. In the end I changed the filter to No Filtering, saved it, then changed back to Default Black List. Then all was well again. Weird.

nicholas
Akeeba Staff
Manager
I am using the same Joomla! version. Combining css and js works just fine. I don't know why you had an issue, as I don't even know what the issue was.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

elau24
Never mind. It's fixed now. It's to do with the configuration. I created a subdomain and access it from there and the combine works. Before, it was in a subdirectory and maybe I should have experimented more with the settings in htaccess Maker's System configuration. Files were treated as "file not found" in core.php because the path didn't match, and so they didn't combine.

nicholas
Akeeba Staff
Manager
That makes sense. I'm glad you got it solved!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!