Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • pito Friend
    #170678

    first: excuse my english is bad, i know

    Using the blank template and T3 newly installed and..
    I can not avoid having duplicate or tripled classes in each element of the templates >:(

    e.g: body#bd or .items-row and many others
    the same class with the same statement in:
    base-themes/default/css/template.css
    ja_t3_blank/css/template.css
    themes/more_contrast/css/template.css

    Have you ever heard about “loading speed”? is a blank template, for christ sake!!
    is horrible to the trouble of deleting each unnecessary repetition.
    ok, blank and t3 are free, but What a waste time !!

    pixelzombie Friend
    #425993

    Enable the inbuild caching and compression that comes with the T3 framework and every trippled class will merge to one. It’s working like a charm. You can enable this in the template configuration.

    pito Friend
    #426213

    <em>@pixelzombie 284419 wrote:</em><blockquote>Enable the inbuild caching and compression that comes with the T3 framework and every trippled class will merge to one. It’s working like a charm. You can enable this in the template configuration.</blockquote>
    two thinks
    first: thanks for reply to the topic of an angry man

    second: is not working,
    If I enable the option “join & minify & compress” not only generates errors, (some images not found 404), also the classes remain tripled in several lines but now in index.php

    e.g: body#bd in line 28, 32 y 36 of index.php

    regards, hope I was clear
    until now only remains to remove triplicate classes one for one :((

    pixelzombie Friend
    #426232

    There’s no need to be angry 🙂
    The way the framework is designed has a few downsides like double class definitions. But remember, this framework is built to suit thousands of styles and therefore it needs to be flexible.

    If you really want to avoid double classes (couldn’t find any third definitions) you could empty your

    templates/your_template/css/template.css

    file and edit the one in the plugins folder located at

    plugins/system/jat3/jat3/base-themes/default/css/template.css

    The only problem is, that it gets overwritten each time you update the plugin.
    Also I couldn’t find any 404’s by enabling the minify & compress feature. Use Firebug for Firefox to see where the 404 image is coming from.

    pito Friend
    #426342

    dont worry, i am a angry man always 🙂

    then you say I should delete all classes these two files
    after join, minimize and compress
    and then change the relative image urls to absolute urls

    this is good?
    Where should I put my classes?

    Sorry if I did not understand.
    if you do not speak neutral English , without local idioms, the translator says nonsense.
    and I have more reasons to get angry again 😀
    =)
    regards

    pixelzombie Friend
    #426350

    As I said:

    Empty everything in this file:
    templates/your_template/css/template.css

    Keep everything here and style your template in this file:
    plugins/system/jat3/jat3/base-themes/default/css/template.css

    Cheers

    himangi Friend
    #427086

    Hello Pito,

    I am sorry to hear you are having trouble with T3 template.

    I would like to differ from pixelzombie’s suggestions. You should keep your styling in template.css file located in ‘your_template/css/’ folder or in a custom theme if you have created one. This will keep your styling safe and you will not need to take a backup of the file everytime you upgrade JA T3 plugin / template version. As pixelzombie has already mentioned, the plugin files will get overwritten whenever you upgrade the plugin and similarly all original files will get overwritten when you upgrade the template version. so it is better to have a custom theme, layout, profile created in a JAT3 blank template.

    Another thing is, when you turn on the ‘join & minify & compress’ option the processed css styling is saved in a different file than your css located in the template. Hence if you inspect any element after turning on above said option, you will see some different css path rather than exact css file path.

    Hope this clarifies your doubts a bit.

    pito Friend
    #427408

    ok, Thanks to you both

    i understand

    so…is better to have a custom theme, layout, profile created in a JAT3 blank template. why are three options? and not one and simple =(
    i dont know how , ( or whether this eliminates the duplicate classes, with a new theme, layout, profile)

    I do not want to lose the most elementary classes,
    such as dividing into three columns when i choose this number in the menu items columns
    (item columns: 33,33% width) for example.
    if i lose all clases, then better to use atomic template i think

    himangi Friend
    #427419

    Hi,

    I will try to s per my understanding, in JAT3 template, Layout is where you decide how many positions you want, their placements. You need to use the blocks instead of writing any code from scratch like we used to do for Joomla templates, before any template framework came in picture. So in this framework, all functions like having equal heights for the module positions side by side or collapsible positions etc is already coded such that when you use a specific type of block or specific classes you get to use those functionality without any coding on your end.

    Theme is where you define styles for the elements you have used in the layout. In the theme itself all your images will be placed, which need to be used with the stylesheets in the theme.

    Profile is where you get to choose few options for using menu style, logo / text display, template width etc. Additionally here you need to choose which theme and layout you want to use for this particular profile. You can assign different profiles to different site pages.

    Since the layout, theme and profile are different entities you can mix and match them to suite your requirements.

    Before frameworks we used to use number of templates if we wanted a different look for different pages in a single site. Now with JAT3 framework, you can have basic setup ready, you can just define profile params , choose layout & theme that you like and apply the profile to whatever site pages you want.
    If you think of it, JAT3 templates are bundles of multiple templates, since every profile can be customised and act as a different template.

    <blockquote>I do not want to lose the most elementary classes,
    such as dividing into three columns when i choose this number in the menu items columns
    (item columns: 33,33% width) for example.
    if i lose all clases, then better to use atomic template i think</blockquote>
    The styling specified in the JAT3 plugin takes care of all the basic classes of Joomla. So even if you do not specify styling for some element in template, the element will take the styling from JAT3 plugin..

    I am not sure which item columns: 33,33% width you are referring to but if it is coming from a menu options it is most likely to be a core Joomla feature which will not be affected when we play with a JA template. If you are talking about the JA Extended Menu params then the functionality will still remain same when you are using JAT 3 plugin.

    I hope this will clear your doubts and you can enjoy using JAT3 templates 🙂

    pito Friend
    #427635

    thanks Himangi
    Now the sky clears and the sun rises =)

    I personally believe that in very few cases someone needs to use a different profile for each page.
    I understand that is a solution of JAT3 , but a specific solution for a case in a thousand (or even less)

    on the other hand, the sense of using a blank template, according to me, is to achieve a light and fast template without the browser having to read dozens of files
    (currently a browser reads dozens of files, css, js, images, when you uses two or more extensions in joomla )
    not everyone has a powerful server as the “demo” templates
    I have seen flash sites that load faster than a joomla site, and that bothers me.

    JAT3 templates and all other commercial templates should simplify things, with “speed” in mind
    speed is good for all site, not as much the different profile for each page.

    so, i will try to use JAT3 blank template, if I get a result heavy as a template commercial,
    (the browser need to read a bit of every file in diferent locations (dozens of files) to show the page) I must leave JAT3.
    would be ridiculous of me to pretend to speed
    and return to the roots (development without frameworks)

    thanks a lot

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

This topic contains 10 replies, has 3 voices, and was last updated by  pito 12 years, 11 months ago.

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