Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • hossein ri Friend
    #169624

    Hello,

    I have a problem with “optimize CSS” option in Ja Social’s Template manager. The problem is when I set optimize CSS to “Join & Minify & Compress” my template broke and view as a attached screenshot.

    Please help me to fix this problem because without this option, my site size is very large.


    1. Capture2
    TomC Moderator
    #419118

    Hmmmm, this is an odd issue – though it looks like it has something to do with the RTL configurations.
    Let me look into this and I will get back to you shortly.

    TomC Moderator
    #419122

    Here is something to try . . .

    add the following to the end/bottom of your .htaccess file (within your site root folder) . . .


    <IfModule mod_expires.c>
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} Add RewriteCond %{REQUEST_FILENAME} !/templates/ja_social/template_css.css$
    RewriteRule ^(.*.(js|css|html?|xml|txt))$ smartoptimizer/?$1
    </IfModule>

    you may need to leave out the smart optimizer code, unless installed

    If this does not work, then you can remove the code and re-save your .htaccess file.

    hossein ri Friend
    #419144

    Thanks a lot for your help,

    I’ve tried this but get “500 Internal Server error” maybe because of I past the code in a wrong position. However I’ve attached my .htaccess file here to do this for me.

    Thanks a lot for helping. 🙂


    1. htaccess.zip
    TomC Moderator
    #419146

    This was only a possible suggestion . . . you would paste the code at the very end of the .htaccess file.

    I am going to discuss this issue further with my Support Team colleagues – and get back to you a.s.a.p.

    hossein ri Friend
    #419153

    I’ve tried again but got a “500 Internal Server error” :((

    n6rej Friend
    #419183

    the way T3 is designed any files in your theme are the “overriding” file. So you want the changes you’ve been making to your .css and such in a override. The issue your having is that when you are doing the joining the lower priority element style is winding up the top priority.
    you might try copying your RTL css to your theme but I think that since it works fine normally it won’t change.

    So what I would do is be sure all “caching” is off then try turning on the optimization one level @ a time ( join, then minify, etc ) until it breaks. @ that point you’ll have a better idea… it looks like its simply losing a .css which would be because the changes were done in the wrong file to be extensible

    hossein ri Friend
    #419321

    Thanks n6rej, But I am not familiar with programming language and I can’t understand what you say. :((

    how can I request support team to do this for me? :-[

    TomC Moderator
    #419342

    <em>@hossein ri 275895 wrote:</em><blockquote>Thanks n6rej, But I am not familiar with programming language and I can’t understand what you say. :((

    how can I request support team to do this for me? :-[</blockquote>
    I submitted a Support Ticket Request for you

    n6rej Friend
    #419429

    try reading through the wiki maybe that will make more sense… is there a reason you can’t understand my video?

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

This topic contains 10 replies, has 3 voices, and was last updated by  n6rej 13 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum