Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • dmocca Friend
    #134924

    Hi,
    I know I can use a different color scheme for each section.

    But how can I do the same with a component?
    Thanks,
    Damian

    Sherlock Friend
    #277842

    Hi dmocca !
    Teline ii switch color for section following way below :
    Please open index.php file in templates/ja_teline_ii folder , go to line 45 :


    <link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/theme<?php echo $tmpTools->getThemeForSection(); ?>.css" rel="stylesheet" type="text/css" />

    this is code for get color css file . to get color css file it use getThemeForSection function , to view code of that function please open ja_templatetools_1.5.php file in templates/ja_teline_ii folder , find following code line at about line 281 :


    function getThemeForSection () {

    if you want to have different scheme color for component , you need modify getThemeForSection to switch between component menu instead of section menu.

    dmocca Friend
    #278034

    Thanks,
    But how can I do it?
    Regards,
    Damian

    Sherlock Friend
    #278112

    Hi dmocca !
    As you are requesting heavy customization, I am afraid that you have to handle the changes at your end.
    I only can help you point to where do you can edit code.
    Alternatively, please take into consideration to post your requirements on Joomlancers.com to find a talent freelancer for your project.
    I am sorry for not being of much help in this case.

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

This topic contains 4 replies, has 2 voices, and was last updated by  Sherlock 16 years ago.

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