Two questions

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Thu Jan 16, 2014 5:42 pm
Hi all,
i have a 2 questions regarding TWN2:

1st) is there a possiblity to change somehow a THW2 to next version - NEWS ? if yes can you tell me how ? ofcourse i know that i can install new wersion and import database and set up all from begining but there is maybe other way ?

2nd) i wrote abot my problem in this topic - in wrong topic so i do not rewrite it here again... https://www.gavick.com/forums/the-world ... 31889.html
and up to now I have not found a solution... cany you take a look on it ?

thanks
User avatar
Expert Boarder

GK User
Fri Jan 17, 2014 7:03 pm
Hello,

1) News is not a next version of TWN2 - it is a totally different template. The only way for the existing pages is a manual configuration.

2) Please read this article: http://www.fontsquirrel.com/blog/2010/1 ... e-problems most probably you will have to use the mentioned .htaccess code to solve your problem on the Firefox browser.
User avatar
Administrator

GK User
Fri Jan 17, 2014 11:23 pm
Hi, i try with this code in .htaccess but it do nothing...

i add one code and both

<FilesMatch "\.(ttf|otf|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
---------------------------------------------------------------
<FilesMatch "\.(eot|otf|woff|ttf)$">
SetEnvIf Origin »
"^http(s)?://(.+\.)?(domain1\.org|domain\.com)$" origin_is=$0
Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
</FilesMatch>

maybe there is a special place in .htaccess file to paste this code - i`m not so good with it....
User avatar
Expert Boarder

GK User
Sun Jan 19, 2014 10:03 am
Did you put the .htaccess file in the root of your joomla installation?

Please remember that in this code:

Code: Select all
<FilesMatch "\.(eot|otf|woff|ttf)$">
SetEnvIf Origin »
"^http(s)?://(.+\.)?(domain1\.org|domain\.com)$" origin_is=$0
Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
</FilesMatch>


you have to change domain name to your own one.
User avatar
Administrator

GK User
Sun Jan 19, 2014 10:15 am
can you pls write me where i should to paste my domain ?

becouse i do few types and noone was work...

i pud domain name after http(s), i renema all this line, rename line (domain1\) to my domain....

<FilesMatch "\.(eot|otf|woff|ttf)$">
SetEnvIf Origin »
"^http(s)?://(.+\.)?(domain1\.org|domain\.com)$" origin_is=$0
Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
</FilesMatch>

nothing was working...
User avatar
Expert Boarder

GK User
Sun Jan 19, 2014 10:25 am
Please try:

Code: Select all
<FilesMatch "\.(eot|otf|woff|ttf)$">
SetEnvIf Origin »
"^http(s)?://(.+\.)?(brzozowiana\.pl)$" origin_is=$0
Header set Access-Control-Allow-Origin %{origin_is}e env=origin_is
</FilesMatch>


It is also possible that your hosting doesn't support mentioned directives in the htaccess files.
User avatar
Administrator

GK User
Sun Jan 19, 2014 10:42 am
i put this and result you can see on your FF - it do nothing... :(
User avatar
Expert Boarder

GK User
Sun Jan 19, 2014 10:46 am
So in my opinion you should contact with your hosting provider and first of all please ask why code:

Code: Select all
<FilesMatch "\.(ttf|otf|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>


doesn't work in your .htaccess file.
User avatar
Administrator

GK User
Mon Jan 20, 2014 8:34 am
Ok - i have answer from my hosting provider :

they inform me that host server does not support the directive FilesMatch in .htaccess file. they suggests me to use Files directive....

i really do not know what it is but i suppose that it not will be working ??? if yes for me it is awful... becouse FF will be wrong displaing my site.... and it is popular web browser...
User avatar
Expert Boarder

GK User
Mon Jan 20, 2014 9:41 am
In this case please try to use the following code in your .htaccess:

Code: Select all
<Files ~ "\.(ttf|otf|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</Files>
User avatar
Administrator

GK User
Mon Jan 20, 2014 8:18 pm
Dziudek - like i sad in some post earlise - You are best !! everyting is working fine :D
thanks a lot :)))
User avatar
Expert Boarder

GK User
Thu Sep 17, 2015 11:09 am
I have the same problem with fonts. My domain is angielskitechniczny.pl this website is based on template creativity, font is called ubuntu from google fonts. The solution mentioned doesn't work. Every help will be appreciated.
User avatar
Fresh Boarder

GK User
Mon Sep 21, 2015 8:34 am
@konrix - please try to use advices from this article: https://developers.google.com/fonts/doc ... leshooting
User avatar
Administrator

GK User
Fri Sep 25, 2015 6:33 pm
@dziudek unfortunately I didn't find the solution on the website you send me, I may not understand those tips, could you possibly clarify this matter to me? Thank you in advance.
User avatar
Fresh Boarder

GK User
Mon Oct 05, 2015 2:33 pm
Sorry @konrix, but I have no other idea what can cause your issue - please ask your hosting if there is no special blocks configured due server security.
User avatar
Administrator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.